Scaling Ethereum Hackathon 2021
Speed Up DID Resolution with IPFS and SKALE network
< # in 3 weeks #>
It stands for
a IPFS-based Decentralized Identifier
{
"@context": "https://w3id.org/did/v1",
"id": "did:ipdid:QmQy3t3odW3wUmJdCwbMAQTRCVjX5VrcSegNkCewXEVdbM",
"publicKey": [
{
"id": "did:ipdid:QmQy3t3odW3wUmJdCwbMAQTRCVjX5VrcSegNkCewXEVdbM",
"type": "Ed25519VerificationKey2020",
"controller":
"did:ipdid:QmQy3t3odW3wUmJdCwbMAQTRCVjX5VrcSegNkCewXEVdbM",
"publicKeyMultibase": "zBW6drJM5ErsqLZQkZL7XAcKFaJhVK1C4bB5GviSFftuD"
}
]
}
Can be resolved to a DID document for more detailed information. So that ...
decentralized and FAST !!!
low cost, or even FREE???
* libp2p (p2p stack)
* multiformat
* IPLD (Linked Data)
* CID v0, v1(multihashing)
* Good Documents
* Open Source
* Community
* Prizes...
* EVM compatible
* Solidity - Smart Contract
* Fast (up to 2,000 tps per chain)
* Low Cost (0 Gas?)
* Works with Hardhat and Metamask
* Many Prizes ...
We choiced IPFS + SKALE 🔥
(during these 3 weeks)
It can scan DID QR codes, retrieve and display detailed information of the IDs or the claims.
Which you can use IPDID CLI to issue claims or create DIDs with QR codes.
➜ ipdid --help
IPDID cli - Need to run with a ipfs node. (http://ipfs.io)
VERSION
ipdid/0.1.1 darwin-arm64 node-v16.0.0
USAGE
$ ipdid [COMMAND]
COMMANDS
did register a DID to SKALE network and IPFS (IPLD) - use pipe only
help display help for ipdid
init create a new IPDID ipfs (deprecated)
mydid return your current DID
qrcode to generate a QR-code from your context or stdin
signer create a singer's key pair and save on ~/.ipdid_keystore.json
vc create a verifiable claim for a DID document
➜ ipdid mydid -q
did:ipdid:QmQy3t3odW3wUmJdCwbMAQTRCVjX5VrcSegNkCewXEVdbM
click to see the how a DID is actually resolved
➜ ipdid vc --who='did:ipdid:QmQy3t3odW3wUmJdCwbMAQTRCVjX5VrcSegNkCewXEVdbM' --school='😀 Stanford University' | ipdid did
click to see the how a DID is actually resolved
(IPFS blocks, a Smart Contract on SKALE network, and a RESTful API server for data sharing)
(for IPDID DID method)
To query with a DID:
did:ipdid:QmQy3t3odW3wUmJdCwbMAQTRCVjX5VrcSegNkCewXEVdbM
Result with a respective DID Document:
(as follows)
click to install
link to API server
Team Members: Frank Wang, Eason Chen, Ming-Der Wang
Taipei, Taiwan 🇹🇼