freetest12342434 / test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

solidity-truffle-template

A professional truffle solidity template with necessary libraries that support to develop, compile, test, deploy, upgrade, verify solidity smart contract

  • A template project to develop, compile, test, deploy and upgrade solidity project with truffle
  • Included OpenZeppelin smart contract and Upgradable smart contract Library
  • Smart contract gas, size testing and solidity verify code
  • Configuration for local, testnet as well as production deployment
  • Supported libraries to format, verify and clean the code
  • Usage docs

Overview

Quick start

  1. Click the "Use this template" button and clone it to your local
  2. Make sure that you have truffle in your computer npm install -g truffle
  3. Enter npm install
  4. Test the contract with npm test
  5. Modify the contract/test cases
  6. Copy and update .env.example into .env
  • MNEMONIC Or PRIVATE_KEYS: You can choose one for your project. It be used to deploy your code. Generate new one from here
  • INFURA_PROJECT_ID: It be used to connect with the infura service node. You can get free Key from here
  • ETHEREUMSCAN_KEY: Verify your code on ethereumscan. You can get free Key from here
  • COINMARKETCAP_KEY: Get the gas price in Fiat. You can get free Key from here
  1. Read Usage docs to see the detail.

Included Libraries

Licence

This code is provided as is, under MIT Licence.

About


Languages

Language:JavaScript 70.3%Language:Solidity 29.0%Language:Shell 0.7%