Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add support for readonly and on-chain identities. Initial work on parsing of DIDs with other DID methods * Create new type w3c did wich is a wrapper around github.com/build-trust/did compatible with old DID type * Make Decompose method a separate function * Removed CoreID method from DID and replace id with helper function CoreIDFromDID * Remove NetworkID & Blockchain DID methods. Use Decompose method instead. * Refactor working with method byte, remove some redundant ID methods. * return error from IDFromDID if we know the DID method, but still can't parse ID * Getting rid of unknown ID type * Fix encoding ethereum address to/from genesis * move W3C did to separate package * remove dependency on onChainMethods dict * make readonly networkID empty string * remove unneeded public constant * Rename did package to w3c. Rename did.Parse function to w3c.ParseDID. Rename IdGenesisFromIdenState func to NewIDFromIdenState. Rename DIDGenesisFromIdenState to NewDIDFromIdenState. Rename DIDFromGenesis to NewDID. * add sepolia testnet (#453) --------- Co-authored-by: Oleksandr Brezhniev <[email protected]>
- Loading branch information