EarthProgram / did-earth

Apache License 2.0
0 stars 1 forks source link

Publish draft did:earth spec #7

Open jandrieu opened 2 years ago

jandrieu commented 2 years ago
lohanspies commented 2 years ago

Found that there is an API to the Chain Registry Chain Registry can be accessed via API

lohanspies commented 2 years ago

Added the transfer diagram, added the version to the did method syntax and made a few other minor changes

lohanspies commented 2 years ago

@jandrieu ^^

jandrieu commented 2 years ago

Curve is secp256k1, as confirmed with Shaun @ig-shaun

lohanspies commented 2 years ago

Noted about the curve selection. Will remove all ED25519 mentions.

jandrieu commented 2 years ago

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?

wip-abramson commented 2 years ago

@lohanspies the content in the quotes: e.g.

this content

Is old right? You just left it there so we can compare?

lohanspies commented 2 years ago

It is old and there to compare, consider, refine, update or remove.