solidity
/
2.0.0-beta-2
solidity 2.0.0-beta-2
Install from the command line:
Learn more about npm packages
$ npm install @onchain-id/solidity@2.0.0-beta-2
Install via package.json:
"@onchain-id/solidity": "2.0.0-beta-2"
About this version
Smart Contracts for secure Blockchain Identities, implementation of the ERC734 and ERC735 proposal standards.
Learn more about OnchainID and Blockchain Identities on the official OnchainID website: https://onchainid.com.
- Install contracts package to use in your repository
yarn add @onchain-id/solidity
- Require desired contracts in-code (should you need to deploy them):
const { contracts: { ERC734, Identity } } = require('@onchain-id/solidity');
- Require desired interfaces in-code (should you need to interact with deployed contracts):
const { interfaces: { IERC734, IERC735 } } = require('@onchain-id/solidity');
- Access contract ABI
ERC734.abi
and ByteCodeERC734.bytecode
.
- Install dev dependencies
npm i
- Update interfaces and contracts code.
- Run lint
npm run lint
- Compile code
npm run compile
-
Install Ganache or run another blockchain network.
The contracts WILL NOT WORK without at least version 2 of Ganache!
-
Run
npm test
Details
- solidity
- onchain-id
- over 2 years ago
- ISC
- 22 dependencies
Assets
- solidity-2.0.0-beta-2-npm.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0