
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@decentralized-identity/sidetree-bitcoin
Advanced tools
Node.js implementation of the Sidetree bitcoin module
Blockchain-specific code for the Sidetree-based DID Method implementation on Bitcoin
Our reference implementation of the blockchain service is based on bitcored. Here is the list of instructions to deploy Sidetree's extension code along with the bitcored service:
Install a Bitcored full node using instructions at this link. We reproduce their instructions below since we run bitcored with node v9 rather than v4:
nvm install v9
apt-get install python libzmq3-dev build-essential
npm install -g bitcore
bitcore create mynode --testnet
Clone this repository to folder $(SIDETREE_BITCOIN_REPO)
and run the following:
cd $(SIDETREE_BITCOIN_REPO)/bitcored-services/sidetree
npm install bitcore-lib
Install insight UI:
cd $(BITCORE_DIR)
bitcore install insight-api insight-ui
Add a private key from a Bitcoin wallet to $(SIDETREE_BITCOIN_REPO)/bitcored-services/sidetree/config.json
Suppose that we install bitcored to $(BITCORE_DIR)
on $(NODE_IP)
, use the following instructions to add Sidetree's blockchain service:
cd $(BITCORE_DIR)/node_modules
ln -s $(SIDETREE_BITCOIN_REPO)/bitcored-services/sidetree
add the string "sidetree" to the services array in $BITCORE_DIR/bitcore-node.json
Start the bitcored
daemon by running:
cd $(BITCORE_DIR)
bitcored
Verify that the bitcored installation was successful by pointing the browser to: http://$(NODE_IP):3001/insight/
Once Sidetree extension is running in bitcored correctly, we can now build and run the Sidetree blockchain service that will be talking to our Sidetree extension running in bitcored:
npm i
to install dependencies.json/config.json
accordingly. Some parameters of interest:
bitcoreSidetreeServiceUri
to point to the bitcored service configured earlier:
e.g. 'http://127.0.0.1:3002/SidetreeBlockchainService/'npm run build
to build the service.FAQs
Node.js implementation of the Sidetree bitcoin module
The npm package @decentralized-identity/sidetree-bitcoin receives a total of 1 weekly downloads. As such, @decentralized-identity/sidetree-bitcoin popularity was classified as not popular.
We found that @decentralized-identity/sidetree-bitcoin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.