Skip to content

Instantly share code, notes, and snippets.

View Mercien's full-sized avatar
🏠
Working from home

Mercien

🏠
Working from home
View GitHub Profile
@Mercien
Mercien / rescue-tokens.ts
Created February 25, 2023 08:03 — forked from ezynda3/rescue-tokens.ts
Flashbots Rescue Tokens
import { ethers, providers, Wallet, utils, Transaction } from "ethers";
import {
FlashbotsBundleProvider,
FlashbotsBundleResolution,
} from "@flashbots/ethers-provider-bundle";
import { exit } from "process";
const FLASHBOTS_URL = "https://relay-goerli.flashbots.net";
const TOKEN_ADDRESS = "0x4E5d67a73bdb6BF68fADa7BDD7F455A7aA02C8ab";