基于区块链的毕业设计EthDenver 2021 workshop – 丹佛2021研讨会
本文提供基于区块链的毕业设计国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,基于区块链的毕业设计EthDenver 2021 workshop – 丹佛2021研讨会 是一篇很好的国外资料
EthDenver 2021 workshop
An example app built with IDX.
Technologies
- Ceramic HTTP Client: Provides access to the Ceramic Network via a remote node running Ceramic (and IPFS).
- 3ID Connect: Provides authentication to a DID (used by Ceramic) from a blockchain wallet, and stores a link from this blockchain account to your DID in IDX.
- IDX: Provides a way to create identity records for a DID. Records are stored on Ceramic and can represent links to blockchain accounts or other user data.
Using demo app as a template
Instructions
Install dependencies:
npm ci
Start the development server:
npm start
Install Ceramic and IDX:
npm install -g @ceramicnetwork/cli @ceramicstudio/idx-cli
Run the Ceramic daemon:
ceramic deamon
Create a developer DID used to author the schema and definition:
idx did:create --label=local
Publish the schema (can be found below):
idx schema:publish local '{"$schema":"http://json-schema.org/draft-07/schema#"...'
Create the definition:
idx definition:create local --schema=<schema-url-from-above> --name="Secret Notes" --description="Seret notes for myself and others"
Open the src/idx.ts
file and edit the aliases variable secretNotes
to the DocID returned by the previous command.
Schema used by this app
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "title": "SecretNotes", "properties": { "notes": { "type": "array", "items": { "$ref": "#/definitions/NoteJWE" } } }, "additionalProperties": false, "required": [ "notes" ], "definitions": { "NoteJWE": { "type": "object", "properties": { "protected": { "type": "string" }, "iv": { "type": "string" }, "ciphertext": { "type": "string" }, "tag": { "type": "string" }, "aad": { "type": "string" }, "recipients": { "type": "array", "items": { "type": "object", "properties": { "header": { "type": "object" }, "encrypted_key": { "type": "string" } }, "required": [ "header", "encrypted_key" ] } } }, "required": [ "protected", "iv", "ciphertext", "tag" ] } } }
License
Apache-2.0 OR MIT
EthDenver 2021研讨会
使用IDX构建的示例应用程序。
技术
- 陶瓷HTTP客户端:通过运行陶瓷(和IPFS)的远程节点提供对陶瓷网络的访问。
- 3ID Connect:从区块链blockchain钱包向DID(陶瓷使用)提供身份验证,并在IDX中存储从该区块链blockchain帐户到您的DID的链接。
- IDX:提供为DID创建标识记录的方法。记录存储在陶瓷上,可以表示到区块链blockchain帐户或其他用户数据的链接。你知道吗
使用演示应用程序作为模板
说明
安装依赖项:
npm ci
启动开发服务器:
npm start
安装陶瓷和IDX:
npm install -g @ceramicnetwork/cli @ceramicstudio/idx-cli
运行陶瓷守护程序:
ceramic deamon
创建开发人员用于编写架构和定义:
idx did:create --label=local
发布架构(可以在下面找到):
idx schema:publish local '{"$schema":"http://json-schema.org/draft-07/schema#"...'
创建定义:
idx definition:create local --schema=<schema-url-from-above> --name="Secret Notes" --description="Seret notes for myself and others"
打开src/idx.ts公司文件并编辑将变量secretNotes别名为上一个命令返回的DocID。
此应用程序使用的架构
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "title": "SecretNotes", "properties": { "notes": { "type": "array", "items": { "$ref": "#/definitions/NoteJWE" } } }, "additionalProperties": false, "required": [ "notes" ], "definitions": { "NoteJWE": { "type": "object", "properties": { "protected": { "type": "string" }, "iv": { "type": "string" }, "ciphertext": { "type": "string" }, "tag": { "type": "string" }, "aad": { "type": "string" }, "recipients": { "type": "array", "items": { "type": "object", "properties": { "header": { "type": "object" }, "encrypted_key": { "type": "string" } }, "required": [ "header", "encrypted_key" ] } } }, "required": [ "protected", "iv", "ciphertext", "tag" ] } } }
许可证
Apache-2.0或MIT
部分转自网络,侵权联系删除区块链源码网
区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站
部分资料来自网络,侵权联系删除!
最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 基于区块链的毕业设计EthDenver 2021 workshop – 丹佛2021研讨会
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 基于区块链的毕业设计EthDenver 2021 workshop – 丹佛2021研讨会