This project is designed to claim Arbitrum (ARB) tokens from a smart contract and send them to a specified recipient address. It uses the worker_threads module to run the claimAndSendARB function in a separate thread and interacts with the Arbitrum blockchain using Web3.js.
- Clone the repository:
 
git clone https://github.com/codeesura/arbitrum-claim-send.git
cd arbitrum-claim-send- Install dependencies:
 
npm install- Update the 
providervariable with your Arbitrum node URL. 
const provider = 'http://your-node-url:8545/';- Set the required contract addresses and private keys in the 
addressesarray. Replace the placeholder values with your actual data. 
const addresses = [
  {
    armut: 'armut',
    senderAddress: 'senderAddress',
    armutPrivateKey: 'armutPrivateKey',
    senderPrivateKey: 'senderPrivateKey',
    claimAmount: 3750,
  },
];- Update the recipient address to receive the ARB tokens.
 
Run the main script:
node index.jsThis script will monitor the blockchain and wait for a specific block number. When that block number is reached, it will start the claiming process by executing the claimAndSendARB function in a separate thread for each address in the addresses array.
https://twitter.com/codeesura/status/1639238246268907520
https://twitter.com/codeesura/status/1639366290635620355
This project is licensed under the MIT License - see the LICENSE file for details.
