GithubHelp home page GithubHelp logo

szharkov / arbitrum-airdrop-claimer Goto Github PK

View Code? Open in Web Editor NEW
44.0 1.0 25.0 32 KB

Bot to claim an ARB token airdrop and send to specified accounts. Pre-approve on DEXes included.

JavaScript 100.00%
airdrop arbitrum claim bot

arbitrum-airdrop-claimer's Introduction

Arbitrum airdrop claimer

This script was created in order to claim an Arbitrum airdrop instantly when distribution starts. After claiming script can transfer tokens to any address. It also supports multiple accounts, so you can even claim on 50+ accounts and still send tokens to different addresses (OKX subaccounts for example).

Disclaimer

This script was created for personal use. I am not responsible for any issues which can occur when using this script.

How to run

In order to run this script you need to have Node.js installed. You can download Node.js here. Once you have Node.js follow the next steps:

  1. Download repository
  2. Configure it by following How to configure
  3. Open terminal in repository folder and type npm install or yarn
  4. Run script by typing npm start or yarn start
  5. If you want to pre-approve ARB for DEXes run npm run approve or yarn approve

How to open terminal?

https://www.groovypost.com/howto/open-command-window-terminal-window-specific-folder-windows-mac-linux/

How to configure

In order to use this script you need to have your own Arbitrum and Ethereum RPC which you can obtain on Alchemy or any other provider. Main configuration can be found in config.js file. Just follow the instruction below:

  1. Create an account on Alchemy.
  2. In Alchemy Dashboard create 2 apps:
    • Ethereum mainnet chain
    • Arbitrum mainnet chain
  3. Open config.js file and edit the next fields:
    • Replace RPC_ARBITRUM_HTTP with your Arbitrum HTTPS key from Alchemy.
    • Replace RPC_ETHEREUM_WSS with your Ethereum WEBSOCKETS key from Alchemy.
  4. In config.js find ACCOUNTS array and put your accounts. If you want to claim without sending tokens then leave addressToSendTokens empty.

Example:

const RPC_ARBITRUM_HTTP = "https://arb-mainnet.g.alchemy.com/v2/sMsdjLabS-N1oSGcpMn23Q21UOcZQP";
const RPC_ETHEREUM_WSS = "wss://eth-mainnet.g.alchemy.com/v2/sMsdjLabS-N1oSGcpMn23Q21UOcZQP";
        
export const ACCOUNTS = [
  {
    privateKey: "668221e18caa34fbb0d8a024f36dbe1217f9f70d69aa17665cbc0bdf8cc3f03c",
    addressToSendTokens: "0x3010845ffCB6a34Fc44F3C07462D086dF79E4Fd1"
  },
  {
    privateKey: "1d24157ea4b9ae8ba3827c8345879e2cc8348f0d1db22b9e32b4c2ba90a18424",
    addressToSendTokens: "" // <- claim only, no transfer
  },
]

Approve for DEXes

There is also a script to pre-approve ARB token for trading on DEXes. You can approve from all your accounts and be ready once trading on DEX starts. By default I added only Uniswap for approval but you can edit DEXES in config.js and add more DEXes to approve.

In order to use approve script run npm run approve or yarn approve. Make sure to configure config.js first.

Errors

If you see an error something like TypeError [ERR_UNKNOWN_FILE_EXTENSION] or The engine "node" is incompatible with this module then you need to use another version of Node.js. This script is supposed to work with Node.js >= 16.15.0.

Credits and donations

Script was created by Serhii Zharkov. You can follow him on:

If you want to donate:

  • TW3rUPuyXCTAZZVUMYR4i1z5i1SWPPXgGA - USDT trc20
  • 0xd2B7E218eB3C2441eB9c216f2442D3266b11a10d - any token (USDC USDT BUSD ETH etc) all chains

Other

arbitrum-airdrop-claimer's People

Contributors

szharkov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.