This Node.js script enables batch transactions on the Ethereum network, supporting multiple wallets. It's designed for flexibility in network connections and wallet configurations.
- Multi-wallet support for batch transactions.
- Customizable RPC endpoint for Ethereum network connections.
- Configurable private and public keys for each wallet.
Clone the repository and install dependencies:
git clone milshop/EVM-Multi-Wallet-Scriber-Script cd [repository-directory] npm install
markdown Copy code
- RPC Endpoint: Modify the
providervariable to change the RPC URL.
const provider = new ethers.providers.JsonRpcProvider("your_rpc_url");
typescript Copy code
Replace "your_rpc_url" with the desired Ethereum network RPC endpoint.
- Private and Public Keys:
- Configure
privateKeyswith your Ethereum private keys. - Set
toAddresseswith the corresponding public addresses.
const privateKeys = ["private_key_1", "private_key_2", ...]; const toAddresses = ["public_address_1", "public_address_2", ...];
csharp Copy code
Run the script with Node.js:
node script.js
csharp Copy code
- Keep your private keys secure.
- Verify the RPC endpoint and wallet addresses before executing transactions.
- Test with smaller transactions to ensure everything is configured correctly. Replace [repository-url] and [repository-directory] with your actual repository URL and directory name.