Code Monkey home page Code Monkey logo

arb-presign-claim's Introduction

Clone git repository

git clone https://github.com/0xpeche/arb-presign-claim.git
Or click on the green code button, download zip and unzip

Fill the config.json file with:

privateKey: your_compromised_private_key
recipient: your_recipient_address

If you want to customize the tip I receive:
tipPercent: 10
(number in percent, whole, under 50)\

You can put however many addresses you want, just copy paste like so:

[
    {
        "privateKey": "your_first_compromised_private_key",
        "recipient": "your_recipient_address",
        "tipPercent": "10"
    },
    {
        "privateKey": "your_second_compromised_private_key",
        "recipient": "your_recipient_address",
        "tipPercent": "10"
    }
]

If you make a mistake I will fix it but please try to be acurate.

Install dependencies

If you already have node installed:
open your terminal at the root of the folder where you downloaded the content of the repository then run:
(if you do not have yarn installed)
npm install --global yarn
then
yarn

If you do not have node installed: https://nodejs.org/en/download \

Run the script

open your terminal at the root of the folder where you downloaded the content of the repository
yarn hardhat run scripts/signWithConfig.ts
It will sign the transaction using the private key you provided and save those signatures and some info I will use (like your recipient address, your compromised address, the tip...) to a json file.

Send

Send me the content of output.json on Twitter

Disclaimer

CHECK THE CODE. YOU ARE SIGNING TRANSACTIONS

The first transaction is the claim transaction
The second transfers the tipped amount back the address I use to fund your compromised wallet
The third transfers the remaining amount to your recipient address

On my end I will pre-sign the transactions that Funds your wallet

In the end it will look kinda like that:\

  • Transaction 1: Transfer ETH from Funding Wallet to Compromised Wallet (I handle that)
  • Transaction 2: Claim the airdrop
  • Transaction 3: Transfer the tip to the funding wallet
  • Transaction 4: Transfer the remainder to your recipient address

IF YOU SENT NEW TRANSACTIONS AFTER YOU SENT ME THE FILE THIS WILL NOT WORK

Transactions will be sent via my node at L1 Block 16890399 to be included at block 16890400 (the claim period start)

arb-presign-claim's People

Contributors

0xpeche avatar

Stargazers

 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.