Giter Site home page Giter Site logo

axon-devops's Introduction

use hardhat tool to test and compile solidity contract

axon uniswap contract case: suggest vscode open this project.

$ cd ~
$ git clone https://github.com/nervosnetwork/axon-devops.git
$ cd axon-devops/uni-test
$ npm install

start a hardhat evm node

$ npx hardhat node

compile all contracts

$ npx hardhat compile

test uniswap contracts

$ npx hardhat run scripts/test-uniswap-script.js

publish contracts to axon

$ cd ../uni-contract-deploy
$ npm install

modify deployed network node address setting in the config.yml as following image shown.

1642397938(1)

$ node templates/deploy.js

deploy uni interface

$ cd uni-interface-deploy && make deploy 

metamask network

name: GÖRLI chain id: 5

Reference

Reference Links

axon-devops's People

Contributors

cary007 avatar cosinlink avatar davidchild avatar dependabot[bot] avatar homura avatar liya2017 avatar mohanson avatar yejiayu avatar zeroqn avatar zhengjianhui avatar zzkouniya 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.