Git Product home page Git Product logo

ether-multi-sender's Introduction

Multi-Wallet Ether Transfer Script

This script allows you to transfer a specified amount of Ether to multiple wallets. It uses the Alchemy API to connect to the Goerli test network and the ethers.js library to handle the transactions.

The script requires a configuration file config.js that contains the following options:

  • RPC: The API endpoint for the network (Goerli in this example)
  • ETH: The amount of Ether to transfer
  • ETHERSCAN: The Etherscan link for console logging purposes
  • keys: An object of private keys, where the first key is the main sender's key and the rest are recipient keys

The private keys are stored in an object, and the script creates a wallet instance for each key. It then iterates through the wallets, sending the specified amount of Ether to each recipient wallet in a separate transaction. The transaction hash is logged for each transfer.

To use this script, simply:

  1. Clone the repository and navigate to the root directory
  2. Update the config.js file with your desired values
  3. Run the script with Node.js using the command node transfer.js
  4. Monitor the console for transaction updates and check Etherscan for confirmation

The script is especially useful for sending small amounts of Ether to multiple wallets for testing or airdrop purposes.

Disclaimer: This script is intended for educational and testing purposes only. Use at your own risk and always double-check your configuration before running the script. If funsu is gonu, don't call me

Created using node.js v14.6.0

ether-multi-sender's People

Contributors

0xromrom avatar

Watchers

 avatar  avatar

Forkers

marienirzyk

ether-multi-sender's Issues

Use it on L2 chain

Hi, i havent try it yet but can you use it for L2 eth chain such as arbitrum and base (with configuration change ofc)? Thanks

use public keys for receivers

Hi, we should be able to add Public keys of receivers instead of their private keys. In an Airdrop case we do not have the private keys. Is there somethings I am missing out?

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.