Giter Club home page Giter Club logo

dcodex21 / token-multisender Goto Github PK

View Code? Open in Web Editor NEW

This project forked from web3camp-labs/multisender

0.0 0.0 0.0 3.14 MB

This tool is mainly for sending multiple tx in one transaction on EVM chains. The maximum transfer per transaction would be 200 as default. Currently supported chains: Ethereum, Polygon, BNB Chain, Moonbeam, other chains will be available soon.

Home Page: https://web3camp.us/multisender/

Shell 0.06% JavaScript 0.24% TypeScript 91.95% CSS 2.92% Solidity 4.83%

token-multisender's Introduction

Multi Sender for Tokens

This tool is mainly for sending multiple tx in one transaction on EVM chains. The maximum transfer per transaction would be 200 as default.

Currently supported chains: Ethereum, Polygon, BNB Chain, Moonbeam, other chains will be available soon.

Using CLI Tool

Install the packages by run yarn in the root folder.

Copy .env.example as .env, and replace with your configurations.

The command to multi-send tokens.

npx ts-node send.ts -n <network> -c <path to the multi send addresses> -t <erc20 token address>

The csv file format will be like <address>,<amount> shown below:

address,amount
0xeb01ff124d71b6c7e6613fd6e0a86c28c733f008,0.0001
0xfa1afc4534fc9f80a552e61dd04cd8a172c821a6,0.0001
0x6cc836b535eb9431f9def82b71f80e449f29c821,0.0001

Front

Install

Run yarn in front-end folder to install all packages needed for frontend.

Contracts

Install packages

Run yarn in root folder to install all packages needed for contracts.

Build & Deploy Contracts

Run tests

npx hardhat test

Deploy

npx hardhat run scripts/0_deploy_sender.tx --network ethereum

npx hardhat run scripts/0_deploy_sender.tx --network polygon

npx hardhat run scripts/0_deploy_sender.tx --network bnbchain

npx hardhat run scripts/0_deploy_sender.tx --network moonbeam

Upgrade

npx hardhat run scripts/1_upgrade_sender.tx --network ethereum

npx hardhat run scripts/1_upgrade_sender.tx --network polygon

npx hardhat run scripts/1_upgrade_sender.tx --network bnbchain

npx hardhat run scripts/1_upgrade_sender.tx --network moonbeam

Contracts

Ethereum Mainet
BSC Mainnet
Polygon Mainnet
Moonbeam Mainnet

token-multisender's People

Contributors

dependabot[bot] avatar liushooter avatar wendychaung avatar xrdavies 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.