Automating transactions on the Ethereum testnet using multiple private keys on Particle Pioneer.
- Node.js
- npm (Node Package Manager)
-
Clone the repository:
git clone https://github.com/frankrichardhall/Particle-Pioneer-Testnet-bot.git cd Particle-Pioneer-Testnet-bot
-
Install dependencies:
npm install
-
Define the RPC URL:
Create a file named
rpc.txt
in the root directory of the project and paste your Ethereum RPC URL (e.g.,https://eth-sepolia.g.alchemy.com/v2/xxxx
) into it. This URL specifies the Ethereum network endpoint to connect to. -
Prepare private keys:
- Create or edit
privateKeys.json
to include your Ethereum private keys as an array of strings. Each private key should be enclosed in double quotes.
Example
privateKeys.json
(correct format):[ "private_key_1_here", "private_key_2_here" ]
Ensure each private key string is correctly formatted as shown above.
- Create or edit
-
Run the application:
node index.js
-
Follow the prompts to enter the number of transactions to send per private key.