Hypersign Identity Token (HID)
- Solidity version:
0.6.2
- Node version:
v13.12.0
- Truffle Version:
v5.2.0
Setup Project
Private blockchain
ganache-cli -m <mnemonics> # Run private blockchain network
Setup repository
# clone repo
git clone https://github.com/Vishwas1/hid
# change dir
cd hid
# install required packages
npm i
# create file to store mnemonics
echo "<mnemonics>" > .secret
Compilation
truffle compile
Deployment
Private Net
truffle migrate --network development
TestNet: Ropsten
INFURA_KEY=<your_infura_project_key> truffle migrate --network ropsten
Testing
truffle test
Report
Deployed Contract