- Node, ts-node, typescript, package manager
- Run
yarn install
ornpm i
etc - change
.env.local
to.env
and replace wallet location + add RPC URL
- Copy the offical claim-proof URL:
- https://worker.jup.ag/jup-claim-proof/JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN/
- Add your wallet Public Key to the end
- Copy the text that displays
- Save it in allProofs.ts with a key of the wallet Public Key, and value of the text from the website
- Add the publicKey, and path to keypair into the list
- Run
yarn claim-jup
- If you only have private keys and not keypairs, you can generate them with a script
gen-kps
or you can change the way you are constructing the signer and keypair in the script itself.
- Added
claim-jup-surrogate
to allow users to claim from all wallets and send to one common wallet
- Added
gen-distributors
to pull all contract data in for funsies, I will remove this from the commit but you are free to generate them if you would like!