hyperledger-indy

Can I setup an Indy node to read from the Sovrin Mainnet?


Is it possible to setup an Indy node using the Sovrin pool's genesis files in order to read from the Sovrin mainet?

I would like to sync a node to the Sovrin mainet in order to resolve Sovrin DIDs, e.g. "did:sov:1a2b3c4d5e6f7g". Is it possible for anyone to do this? Or do I need special permission to connect to other nodes on the network?

If it's not possible, how would I go about resolving arbitrary DIDs?


Solution

  • You can talk to the Indy main-net nodes as a client. You do not need to set up your own node.

    You can use the indy-cli program to talk to the validator nodes in the ledger. You need the pool genesis transactions to get connected to the pool, and then you can issue get-nym commands.

    You can get the genesis transactions from this directory. Then in indy-cli you will use commands like this:

    pool create builder gen_txn_file=pool_transactions_builder_genesis
    pool connect builder
    ledger get-nym did=did:sov:3WzFTEzmU95mAF4CHHi9np