Giter VIP home page Giter VIP logo

diamondproxy-hardhat's Introduction

diamondproxy-hardhat

  • install the dependencies: npm install
  • compile the smart contracts: npx hardhat compile
  • deploy DiamondProxy: npx hardhat run scripts/deploy_diamondproxy.js --network testnet
  • verify DiamondProxy: npx hardhat verify --contract contracts/DiamondProxy.sol:DiamondProxy --network testnet {address of DiamondProxy}
  • deploy ReadMessage: npx hardhat run scripts/deploy_readmessage.js --network testnet
  • verify ReadMessage: npx hardhat verify --contract contracts/ReadMessage.sol:ReadMessage --network testnet {address of ReadMessage}
  • deploy WriteMessage: npx hardhat run scripts/deploy_writemessage.js --network testnet
  • verify WriteMessage: npx hardhat verify --contract contracts/WriteMessage.sol:WriteMessage --network testnet {address of WriteMessage}
  • deploy AppendMessage: npx hardhat run scripts/deploy_appendmessage.js --network testnet
  • verify AppendMessage: npx hardhat verify --contract contracts/AppendMessage.sol:AppendMessage --network testnet {address of Appendessage}
  • go to https://louper.dev/ to setup the proxy and add the facets

A sample of deployed addresses: DiamondProxy: 0x5ca8626EC4009341298A68025727202F198a81f7 ReadMessage: 0x20363a9C8C2Fc7e90f2ff00cd8980b6658174164 WriteMessage: 0x03BC393F45BebA1e85f1F7d894B83Ed4CD22e9c6 AppendMessage: 0x4E46B42265a47b745Dc1792209CF5580159b503F

diamondproxy-hardhat's People

Contributors

prolingua 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.