Giter VIP home page Giter VIP logo

web3camp-labs / multisender Goto Github PK

View Code? Open in Web Editor NEW
9.0 4.0 11.0 3.68 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% Solidity 4.83% CSS 2.92% TypeScript 91.95%
ethereum web3camp multisender polygon bsc matic batch-send

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

multisender's People

Contributors

dependabot[bot] avatar liushooter avatar wendychaung avatar xrdavies avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

multisender's Issues

钱包状态上显示当前网络

问题描述

当前没有地方能够知道是在哪个网络上使用当前的工具

期待结果

在钱包状态显示时将网络也显示出来

复现步骤

Approve 和 Send 两个状态区分显示

问题描述

目前发送Token需要操作 Approve 和 Send 两步,但是目前两部显示状态一致。

Image

期待结果

  • 希望当 Allowance 数量不足时才需要显示 Approve 的按钮和对应需要 Approve 的数量。

  • 如果 Allowance 数量足够的时候,就显示 Send 按钮。

复现步骤

Text is overlap

When pasting the addresses and amounts in the field, there will be text overlap as shown in the pic

Image

等待框一直在转,不消失

问题描述

批量发送 ERC20 Token 时,在第二步会展示等待框,但即使交易完成了等待框也不会消失

Image

期待结果

交易结束,等待框应该消失从而显示交易的hash列表

复现步骤

切换钱包、登出钱包功能

问题描述

目前只有 connect wallet,链接完成后无法登出也无法切换

期望结果

期望能够切换钱包,能够disconnect钱包

复现步骤

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.