Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stephancill/rescue-degen-airdrop
A script for rescuing degen airdrop for Coinbase Smart Wallet
https://github.com/stephancill/rescue-degen-airdrop
Last synced: 13 days ago
JSON representation
A script for rescuing degen airdrop for Coinbase Smart Wallet
- Host: GitHub
- URL: https://github.com/stephancill/rescue-degen-airdrop
- Owner: stephancill
- Created: 2024-09-11T19:43:37.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-11T20:32:15.000Z (2 months ago)
- Last Synced: 2024-09-12T05:57:11.801Z (2 months ago)
- Language: TypeScript
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rescue DEGEN Chain Airdrop
This script rescues WDEGEN airdropped to Coinbase Smart Wallets on Degen chain.
It does the following:
1. Deploys your Coinbase Smart Wallet to Degen Chain
2. Replays the operation that adds the recovery account to your Coinbase Smart Wallet
3. Sends your WDEGEN to the destination address e.g. a Metamask wallet## Prerequisites
1. Must have added a recovery account to your Coinbase Smart Wallet. Do that here: https://keys.coinbase.com/settings
2. Node.js installed on your machine. This script was tested with Node.js v20.17.0.## Usage
```
npx rescue-degen-airdrop@latest --wallet --destinationOptions:
--help Show help [boolean]
--version Show version number [boolean]
--wallet Coinbase Smart Wallet address [string] [required]
--destination Destination address [string] [required]
```You will be prompted for your 13 word recovery phrase.
## Development
```
pnpm install
``````
pnpm run tsx src/index.ts
```Run a fork of DEGEN chain:
```
anvil --fork-url "https://rpc.degen.tips"
``````
RPC_URL_666666666="http://127.0.0.1:8545" pnpm run tsx src/index.ts
```