Socket
Book a DemoInstallSign in
Socket

@backt/protocol

Package Overview
Dependencies
Maintainers
2
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@backt/protocol

Backt smart contracts implementation

Source
npmnpm
Version
0.0.58
Version published
Weekly downloads
1
-99.09%
Maintainers
2
Weekly downloads
 
Created
Source

protocol

Backt smart contracts implementation

Docs

UML Diagrams

Setup

> npm i -g truffle
> npm i

Test

npm test

Deploy Contracts

This command will recompile contracts, update the ABI and run the tests and then deploy contracts to the blockchain.

// kovan
> npm run deploy-kovan

Publish NPM

// ensure repo has latest abi
> npm run publish-abi
> git add abi && git commit -m "updated ABI" abi

// ensure tests are passing
> truffle develop
truffle> test

// publish NPM
npm version patch     # bumps the version number and tags the commit
npm publish           # see package.json scripts prepare - this will run the tests before publishing
git push --tags

npm

The package is published with the contract ABI JSON files (abi/) and js libraries (lib/) to @backt/protocol.

Keywords

smart contracts

FAQs

Package last updated on 15 Oct 2018

Did you know?

Socket

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.

Install

Related posts