https://github.com/cagriaydin/simplesmartcontract
Here is the simple Smart Contract for basic requirements.
https://github.com/cagriaydin/simplesmartcontract
ethereum ganache-cli mocha rinkeby smart-contract solidity web3
Last synced: 4 months ago
JSON representation
Here is the simple Smart Contract for basic requirements.
- Host: GitHub
- URL: https://github.com/cagriaydin/simplesmartcontract
- Owner: cagriaydin
- License: mit
- Created: 2018-03-20T21:46:36.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-17T12:52:15.000Z (about 7 years ago)
- Last Synced: 2025-01-01T11:12:39.225Z (5 months ago)
- Topics: ethereum, ganache-cli, mocha, rinkeby, smart-contract, solidity, web3
- Language: JavaScript
- Homepage:
- Size: 35.4 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple Smart Contract
Here is the simple Smart Contract for basic requirements.
- [Remix IDE](https://remix.ethereum.org/)
- [Web3 FW](https://github.com/ethereum/web3.js/)
- [Rinkeby Test Network](https://www.rinkeby.io/)
- [Mocha JS](https://mochajs.org/)
- [Ganache-CLI](https://github.com/trufflesuite/ganache-cli)
- [Infura](https://www.infura.io)
- [HDWallet Provider](https://github.com/trufflesuite/truffle-hdwallet-provider)
- [Metamask](https://www.metamask.io)## :arrow_up: How to Setup
**Step 1:** git clone this repo:
**Step 2:** cd to the cloned repo:
**Step 3:** install Node JS at least version 8.0.0
**Step 4:** npm install --global --production windows-build-tools
## :arrow_forward: How to Run
1. cd to the repo
2. Deploy to Rinkeby Test Network
* node deploy.js
2. Run test with Mocha
* npm run test
### Get started:
1. Edit the provider in deploy.js with your mnemonic account.
2. Sign up to https://www.infura.io and use your own API key.
3. Done!