This project is a prototype for testing Klaytn.
- truffle (global dependency)
- node-js (global dependency)
- zeppelin-solidity
- truffle-hdwallet-provider-privkey
- dotenv-flow
- caver.js
truffle-hdwallet-provider-privkey
uses wallet's private key to authenticate accounts in ethereum network.
Register developer's wallet address and private key in .env.klaytn
like this.
$ cp .env .env.klaytn
--- .env.klaytn ---
PRIVATE_KEY=<PRIVATE_KEY>
$ npm install -g truffle
$ npm install // install node_modules in package.json
$ truffle compile
- Deploy
$ truffle migrate --network klaytn
- Set Contract
$ node set_contract_script.js
$ npm run dev
This is available under the MIT license. See the LICENSE file for more info.