https://github.com/digixglobal/solidity-boilerplate
Project boilerplate for Ethereum's Solidity programming language.
https://github.com/digixglobal/solidity-boilerplate
Last synced: about 1 year ago
JSON representation
Project boilerplate for Ethereum's Solidity programming language.
- Host: GitHub
- URL: https://github.com/digixglobal/solidity-boilerplate
- Owner: DigixGlobal
- License: bsd-3-clause
- Created: 2016-10-26T18:38:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-15T07:37:54.000Z (about 9 years ago)
- Last Synced: 2025-03-02T05:57:03.536Z (over 1 year ago)
- Language: JavaScript
- Size: 1.98 MB
- Stars: 9
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Solidity Project Boilerplate
A sample module using Truffle 3.0.
# Usage (via truffle)
```bash
# install project deps
npm i;
# pass sigmate keystore info
export KEYSTORE=`/path/to/eth-lightwallet-keystore.json`;
export PASSWORD='secret';
# start the testrpc server
npm run test-server;
# compile the contracts
npm run truffle -- compile;
npm run truffle -- test --network test;
# for console,
npm run truffle -- migrate --network test;
npm run truffle -- console --network test;
# recompile and run tests on file changes
npm run develop;
# publish to testnet
npm run truffle -- migrate --network ropsten # optional --reset for a full re-deploy
# do not commit `./build/contracts` unless they've got new bytecode (or re-deployed on testnet)
# and before commiting
# also, see http://truffleframework.com/docs/getting_started/packages-npm#before-publishing
npm run truffle -- networks --clean;
```
For more information on truffle CLI, see http://truffleframework.com/docs/advanced/commands.
---
Join our online chat at [](https://gitter.im/DigixGlobal/devtools)