GithubHelp home page GithubHelp logo

nipz / smart-contract-starter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from borodutch/smart-contract-starter

0.0 0.0 0.0 6.33 MB

A starter for Solidity smart contracts for Ethereum

Home Page: https://templates.borodutch.com

License: MIT License

TypeScript 81.16% Solidity 18.84%

smart-contract-starter's Introduction

Solidity Ethereum smart contract starter

Heavily influenced by the Big Whale Labs repos.

Usage

  1. Clone the repository with git clone [email protected]:Borodutch/smart-contract-starter
  2. Install the dependencies with yarn
  3. Add environment variables to your .env file
  4. Run the scripts below

Environment variables

Name Description
ETHERSCAN_API_KEY Etherscan API key
ETH_RPC Ethereum RPC URL
CONTRACT_OWNER_PRIVATE_KEY Private key of the contract owner to deploy the contracts
COINMARKETCAP_API_KEY Coinmarketcap API key

Also check out the .env.sample file for more information.

Available scripts

  • yarn build — compiles the contract ts interface to the typechain directory
  • yarn test — runs the test suite
  • yarn deploy — deploys the contract to the network
  • yarn eth-lint — runs the linter for the solidity contract
  • yarn lint — runs all the linters
  • yarn prettify — prettifies the code in th project
  • yarn release — releases the typechain directory to NPM

smart-contract-starter's People

Contributors

backmeupplz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.