7

When I type this in the command prompt:

solana airdrop 2 -k ./Wallet/.config/solana/Seller.json

I get this error

Requesting airdrop of 2 SOL
Error: airdrop request failed. This can happen when the rate limit is reached.

What can I do?

Yilmaz
  • 35,338
  • 10
  • 157
  • 202
Dac
  • 71
  • 1
  • 2

6 Answers6

10

you need to specify that you are on devnet.

solana airdrop 1 -k ./Wallet/.config/solana/Seller.json --url devnet

or if you are using pubkey

solana airdrop 2 6x5S2cL7fDwM27J7qmfActNJqXj3QcTeoyNTY8Gcujiq --url devnet  
  • if you have a local node running with solana-test-validator, then

    solana airdrop 2 6x5S2cL7fDwM27J7qmfActNJqXj3QcTeoyNTY8Gcujiq
    
Yilmaz
  • 35,338
  • 10
  • 157
  • 202
1

Airdrops are typically limited to 1 SOL, so you can run:

$ solana airdrop 1 -k ./Wallet/.config/solana/Seller.json

Otherwise, the error says This can happen when the rate limit is reached., so you may also need to back off and wait.

Jon C
  • 7,019
  • 10
  • 17
1

The correct way to get the airdrop running is specifying the URL at the end like so, if you have a local node running you need to specify --url localhost at the end and same for devnet & testnet, this hack worked for me.you can specify any amount on localhost but for devnet and testnet you must stay below or equal <=1 Sol

solana airdrop 100000 7LUbP4BZQiopPposQUW7JBrKJ2vgrv7drjbTeFRAb5TS --url localhost
solana airdrop 1 7LUbP4BZQiopPposQUW7JBrKJ2vgrv7drjbTeFRAb5TS --url devnet
solana airdrop 0.5 7LUbP4BZQiopPposQUW7JBrKJ2vgrv7drjbTeFRAb5TS --url testnet
0

You Could Also Try Airdropping a Smaller Amount like 0.1 If It's Still Not Working..

solana airdrop 0.1 pubkey --url devnet
Aadhil Anwar
  • 127
  • 1
  • 4
0

I had count the same issue. I just fix network and solved it.

before (It it a error occured)

$ solana airdrop 0.1 54jwuH3B7q7J3iv6zbC2CXc2VVeBxTMUdYqh3A8NEvfG --url devnet

after

$ solana airdrop 0.1 54jwuH3B7q7J3iv6zbC2CXc2VVeBxTMUdYqh3A8NEvfG --url testnet
Hans
  • 161
  • 1
  • 11
0

If you are like me, reached the limit by mistake and need it for urgent test something, you can use the airdrop provide by Quicknode here: https://faucet.quicknode.com/solana/devnet

Just place your address wallet in Devnet and click "Continue", then click on "No thanks, just send me 1 SOL."

danarios
  • 1
  • 1