Giter VIP home page Giter VIP logo

dawnpool's Introduction

DawnPool Hardhat Project

This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.

slither install:(option)Solidity static analysis framework.

please see https://github.com/crytic/slither.

Slither requires Python 3.8+. If you're not going to use one of the supported compilation frameworks, you need solc, the Solidity compiler; we recommend using solc-select to conveniently switch between solc versions.

npm install -g solc

npm install -g solc-cli

pip3 install solc-select

pip3 install slither-analyzer

Slither Run : yarn slither

Development

You would have to define the initialize function for the contracts that don't have it when deploying for the first time.

  1. Install dependencies:

    yarn install
  2. Compile optimized contracts: ( default --optimizer )

    yarn compile
  3. Update network parameters in hardhat.config.js. Learn more at Hardhat config options.

  4. Deploy DawnPool contracts to the selected network:

    Copy example.env to .env file config .env var: NETWORK_URL and NETWORK_API_KEY replace hardhat.config.js file goerli -> accounts -> mnemonic

    yarn deploy-contracts --network goerli

License

The project is GNU AGPL v3.

dawnpool's People

Contributors

huohoulei avatar raylvv avatar okxearnsuivalidator avatar bxlkm avatar

Watchers

 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.