Skip to content
This repository was archived by the owner on May 3, 2022. It is now read-only.

Files

This branch is 22 commits ahead of decentralized-identity/element:master.

element-lib

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 24, 2019
Mar 24, 2019
Mar 24, 2019
Mar 2, 2020
Jul 29, 2020
Aug 10, 2020
Jan 3, 2020
Oct 30, 2019
Sep 24, 2019
Jul 29, 2020
Jan 3, 2020
Oct 25, 2019
Apr 6, 2020
Sep 11, 2020
Aug 10, 2020
Jan 20, 2020
Sep 9, 2019
Oct 6, 2019

@transmute/element-lib

npm i @transmute/element-lib --save

Element Lib

This javacript package handles all protocol operations and cryptographic implementation needed to support sidetree ethereum. sidetree-core, is moving this direction, but did not at the time currently publish a library like this as an npm package, so we had to reimplement this functionality. This might be good for the protocol from a diversity perspective, but we'd like to be able to share code, and not worry about implementation differences. For now, we think its best that the focus be on devex and speed for both ethereum and bitcoin implementations of Sidetree...

Integration

When working with element as a dependency of another project, you may find it useful to link accross the mono repo:

# inside element/packages/element-lib
npm link
# inside your_project/packages/your_app
npm link @transmute/element-lib

Now you can confirm your working changes to element work with your app before pushing a PR to element.

Contract Addresses

Ropsten Element DID

Getting the Local Contract Address
cat ./SimpleSidetreeAnchor.json| jq -r '.networks["133700"].address'