https://github.com/etienne-napoleone/tomochain-box
🍫 TomoChain starter truffle box
https://github.com/etienne-napoleone/tomochain-box
smart-contracts tomochain truffle truffle-box
Last synced: about 1 month ago
JSON representation
🍫 TomoChain starter truffle box
- Host: GitHub
- URL: https://github.com/etienne-napoleone/tomochain-box
- Owner: etienne-napoleone
- Created: 2019-08-22T13:44:03.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-27T14:18:58.000Z (over 5 years ago)
- Last Synced: 2025-05-08T01:15:29.712Z (about 1 month ago)
- Topics: smart-contracts, tomochain, truffle, truffle-box
- Language: JavaScript
- Homepage: https://www.trufflesuite.com/boxes/tomochain-box
- Size: 53.7 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# tomochain-box
A truffle box to easily start with smart contract deployment on TomoChain.
Testnet and Mainnet networks as well as the 10 TOMO deployment fee are already configured.
## Installation
Install truffle and truffle HDWalletPriovider.
```
npm install -g truffle truffle-hdwallet-provider
```Open that truffle box.
```
truffle unbox etienne-napoleone/tomochain-box
```## Configuration
Add the mnemonic of your founded account (more than 10 TOMO) to the `.mnemonic` file.
**Attention:** A gitignore was automatically created to ignore the `.mnemonic` file.
Please be careful to never version it!## Usage
Develop your smart contracts, migrations and tests as usual.
You can then deploy directly on the TomoChain network of your choice.```bash
truffle test
truffle compile
truffle deploy --network testnet # or mainnet
```