Git Product home page Git Product logo

disperse-clone's Introduction

Disperse app clone

Disperse app lets you disperse any erc20 tokens or ethers to a number of addresses using a single transaction.

Deploy to new network ⛓️

  1. Clone the repository: git clone https://github.com/rajkharvar/disperse-clone.git

  2. Install the dependencies:

npm start
# or
yarn start
  1. Modify the hardhat.config.js file to include the new network. Refer to the documentation at https://hardhat.org/hardhat-runner/docs/config for guidance.

  2. Deploy the contract:

npx hardhat scripts/deploy.js --network [NETWORK]
  1. Adding support in the frontend:

    • Open the constants.js file in the frontend/utils directory.
    • Include the chain information and Disperse contract address by adding the following code snippet in supportedChains array:
      {
          chainId: <chain_id>,
          disperseAddress: <disperse_address>,
          blockExplorer: <block_explorer_url>,
          name: <chain_name>,
      }
      Replace <chain_id> with the ID of the new chain, <disperse_address> with the address of the deployed Disperse contract, <block_explorer_url> with the URL of the block explorer for the chain, and <chain_name> with the name of the chain.
  2. Verifying the contract with the relevant chain block explorer:

  3. Updating the README:

    • Edit the README file of the project.
    • Add the chain name and hyperlink for the Disperse contract on the block explorer in Supported Network and addresses in Supported Networks and addresses section

Supported Networks and addresses

Network Disperse contract address
Mumbai 0xaf6f4A737188571d128477DEe81d54Bc63De6d80
Goerli 0xD286f3D834E6030F178C395C9ba33d32B427cAD3
Razor Schain 0x3bAB943FE31B0F90c1E4c2733113E336eBAC4Bc1
Polygon 0x0461950C8664A38b6b1D6599420CA9c50a714B56
Skale Staging 0x553a0a6FCe2943F6901f783f381292C567038ddF

disperse-clone's People

Contributors

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