Giter Site home page Giter Site logo

theskeletoncrew / air-support Goto Github PK

View Code? Open in Web Editor NEW
173.0 1.0 61.0 274 KB

Airdrop automation tools for Solana from The Skeleton Crew

Home Page: https://skeletoncrew.rip

License: MIT License

Shell 56.86% Makefile 11.99% TypeScript 31.15%
nft airdrop solana nfts airdrops

air-support's People

Contributors

cosimo-rip avatar josephtaylor avatar migui3230 avatar skeletoncrewrip 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

air-support's Issues

metaplex's rust folder is empty

GM! First of all, thanks for open-source this repo, I really appreciate it :)

So I was following the guide to setup the metaplex, and I have noticed the rust folder in metaplex's repo has been deprecated and move to a new repo metaplex-foundation/metaplex#1482

May I know which contract I should download and move to the metaplex/rust folder for me to run the cargo build command?

token-metadata-test-client location

Hi,
Thank you for making an amazing tools. I have problem with the location of
token-metadata-test-client.
When I do "make generate". I got this error.
./2_generate_prints/mint.sh: line 35: ../../metaplex/rust/target/debug/metaplex-token-metadata-test-client: No such file or directory

May be you can give me some information what I need to change. I find the folder, and I can't found it in rust folder.

Thank you

error with distribute.sh

If the recipients list is smaller than the minted addresses, it looks like the action has failed.
(Ideally you don't want the recipients list to be smaller than the list of minted tokens, but still it makes sense to make the error more obvious than a loop of errors)

Proposed solution:
Loop over the recipients list length instead of the token list length

Or - check if the recipient list is the same length as the minted token list and stop the script if they're not equal?

Error: failed to get token largest accounts

At first: Thank you very much for the great Tool!

I am quite new in this topic and try to understand how this works.
I minted two NFTs at solsea. Both are stored at a Phantom wallet (diffrent wallets).
To fill the token-mint-addresses.json I used the https://tools.abstratica.art/ tool and so I get the addresses of the mints.

by running make record DROP=1 I get the following error:
mining HNFxv3E99iBTK6fLugPY8zMLAGDaVNxH8T3... failed. Error: failed to get token largest accounts: Invalid param: could not find mint at Connection.getTokenLargestAccounts (/home/marcel/Projekte/ten01/nft/air-support/1_record_holders/node_modules/@solana/web3.js/lib/index.cjs.js:3780:13) at processTicksAndRejections (internal/process/task_queues.js:95:5) at async mineCurrentHolder (/home/marcel/Projekte/ten01/nft/air-support/1_record_holders/build/main.js:22:29) at async /home/marcel/Projekte/ten01/nft/air-support/1_record_holders/build/main.js:32:72 at async RetryOperation._fn (/home/marcel/Projekte/ten01/nft/air-support/1_record_holders/node_modules/p-retry/index.js:50:12) { attemptNumber: 5, retriesLeft: 0 }
If I look at https://solscan.io/token/HNFxv3E99iBTK6fLugPY8zMLAGDaVNxH8T3... I can find the mint.

I have no idea, why the mint is not found.

Any suggestions?

-32602 "invalid param: Token mint could not be unpacked

What Operating System are you using?
macOS Monterey - cpu M1 MAX

What version of Node are you using?
v16.13.2

What version of Rust are you using?
rust: stable 1.58.1 (bottled), HEAD

What version of Cargo are you using?
cargo 1.59.0-nightly (fcef61230 2021-12-17)

What version of npm are you using?
8.1.2

What version of yarn are you using?
1.22.17

What architecture is your machine Intel or ARM?
ARM (M1 MAX)

What git tag/checksum are you running for theskeletoncrew/air-support?
main

What git tag/checksum are you running for metaplex-foundation/metaplex?
v1.0.0
What git tag/checksum are you using for solanalabs/solana-program-library?
whatever comes with v1.0.0

What errors are you seeing doing cargo build if any in either rust repository?
none

What is the full command that failed?
make generate MINT=RPdCMRxBx4YPcJv6HUb2S5zHGJcDrDrZszUNNGmLwfT NUM=500

What directory did you run in?
air-support

`(base) shoompa@Home air-support % make generate MINT=5PyroDUNE8eicR7jEL1hq8P7oY4PkLDMDeySZ9A3uPhg NUM=1
mkdir -p ./airdrops/1
./2_generate_prints/mint.sh "/Users/shoompa/metaplex" "/Users/shoompa/my-solana-wallet/my-keypair.json" 5PyroDUNE8eicR7jEL1hq8P7oY4PkLDMDeySZ9A3uPhg 1 1 "token" "https://psytrbhymqlkfrhudd.dev.genesysgo.net:8899/"

/Users/shoompa/metaplex/rust/target/debug/metaplex-token-metadata-test-client --keypair /Users/shoompa/my-solana-wallet/my-keypair.json mint_new_edition_from_master_edition_via_token --mint 5PyroDUNE8eicR7jEL1hq8P7oY4PkLDMDeySZ9A3uPhg --url https://psytrbhymqlkfrhudd.dev.genesysgo.net:8899/ | tee -a airdrops/1/token_detailed.log

thread 'main' panicked at 'called Result::unwrap() on an Err value: ClientError { request: Some(GetTokenAccountsByOwner), kind: RpcError(RpcResponseError { code: -32602, message: "Invalid param: Token mint could not be unpacked", data: Empty }) }', token-metadata/test/src/main.rs:247:14
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

All done. Mint ids stored to airdrops/1/token_mints.log`

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.