Open jandrieu opened 2 years ago
Found that there is an API to the Chain Registry Chain Registry can be accessed via API
Added the transfer diagram, added the version to the did method syntax and made a few other minor changes
@jandrieu ^^
Curve is secp256k1, as confirmed with Shaun @ig-shaun
Noted about the curve selection. Will remove all ED25519 mentions.
Found that there is an API to the Chain Registry Chain Registry can be accessed via API
Fascinating. What is returned by the directory is NOT what is in the chain registry.
Compare the entry for Agoric:
{
"chain_name": "agoric",
"directory": "agoric",
"network_type": "mainnet",
"pretty_name": "Agoric",
"chain_id": "agoric-3",
"status": "live",
"symbol": "BLD",
"image": "https://raw.githubusercontent.com/cosmos/chain-registry/master/agoric/images/bld.png",
"apis": {
"rest": [
{
"address": "https://main.api.agoric.net:443"
}
],
"rpc": [
{
"address": "https://main.rpc.agoric.net:443"
}
]
}
},
With
"$schema": "../chain.schema.json",
"chain_name": "agoric",
"status": "live",
"network_type": "mainnet",
"pretty_name": "Agoric",
"chain_id": "agoric-3",
"bech32_prefix": "agoric",
"daemon_name": "ag0",
"node_home": "$HOME/.agoric",
"genesis": {
"genesis_url": "https://main.agoric.net/genesis.json"
},
"slip44": 564,
"explorers": [
{
"name": "agoric-big-dipper",
"url": "https://main.explorer.agoric.net/"
}
],
"codebase": {
"git_repo": "https://github.com/Agoric/ag0/",
"recommended_version": "agoric-3.1",
"compatible_versions": [
"agoric-3.1"
]
},
"peers": {
"seeds": [],
"persistent_peers": [
{
"id": "a26158a5cbb1df581dd6843ac427191af76d6d5d",
"address": "104.154.240.50:26656"
},
{
"id": "6e26a1b4afa6889f841d7957e8c2b5d50d32d485",
"address": "95.216.53.26:26656"
}
]
},
"apis": {
"rpc": [
{
"address": "https://main.rpc.agoric.net:443"
}
],
"rest": [
{
"address": "https://main.api.agoric.net:443"
}
],
"grpc": []
}
}
There's a lot of missing stuff.
Where did you find that directory? Is there a link to it somewhere?
@lohanspies the content in the quotes: e.g.
this content
Is old right? You just left it there so we can compare?
It is old and there to compare, consider, refine, update or remove.
multibase(multicodec(public_key))
for secp256k1