An open API service indexing awesome lists of open source software.

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.

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!