Grano DID Contract is cosmwasm based did (decentralized identifier) implementation inspired by ERC1056 DIDRegistry implementation.
WARNING: Grano DID Contract is under VERY ACTIVE DEVELOPMENT and should be treated as pre-alpha software. This means it is not meant to be run in production, its APIs are subject to change without warning and should not be relied upon, and it should not be used to hold any value.
sh scripts/check.sh
sh scripts/build.sh
It is required to install grano-did-node first.
sh scripts/start.sh
sh scripts/wasm.sh
{
"controller": {
"identifier": "grano14fsulwpdj9wmjchsjzuze0k37qvw7n7am3reev"
}
}
{
"attribute": {
"identifier": "grano14fsulwpdj9wmjchsjzuze0k37qvw7n7am3reev",
"name": "service"
}
}
{
"valid_to": {
"identifier": "grano14fsulwpdj9wmjchsjzuze0k37qvw7n7am3reev",
"name": "service",
"value": "github"
}
}
{
"changed": {
"identifier": "grano14fsulwpdj9wmjchsjzuze0k37qvw7n7am3reev"
}
}
{
"change_controller": {
"identifier": "grano14fsulwpdj9wmjchsjzuze0k37qvw7n7am3reev",
"new_controller": "grano1m2pz9nj72lj2yxnpcmxqwfwk50v35gq7wd399m"
}
}
{
"set_attribute": {
"identifier": "grano14fsulwpdj9wmjchsjzuze0k37qvw7n7am3reev",
"name": "service",
"value": "github",
"validity": 1000
}
}
{
"revoke_attribute": {
"identifier": "grano14fsulwpdj9wmjchsjzuze0k37qvw7n7am3reev",
"name": "service",
"value": "github"
}
}