Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All attempts to create associated token account fail (had increased wait from 15s to 25s but didn't help) #28

Open
Sahilkhurana opened this issue Jan 2, 2025 · 5 comments

Comments

@Sahilkhurana
Copy link

Waiting for a new token creation...
Subscribed to blocks mentioning program: 6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P
New token created:
{
"name": "SafeGuardX AI",
"symbol": "SafeGua",
"uri": "https://ipfs.io/ipfs/QmVfYTNZp6SbSDqMHKNY76mrzqHwdxrZ1ecHL9ZozkguvB",
"mint": "CnCwuid4Z3dfS7ynxp3Yh577QorCfS44Z1FHtcwBpump",
"bondingCurve": "DpDYjXpuVh19QRw98xVcPXrukM6Fc1bfRBWfzfMSuq4z",
"associatedBondingCurve": "HdP89gDnmYyfKoFCwPR7wBLppDN5BT8PH9YqCLP4vrYv",
"user": "kj5Ncuh2TFYQ3xK8PZr9gDMDPkeDKSsHeNRrxeH1S6d"
}
Token information saved to trades/CnCwuid4Z3dfS7ynxp3Yh577QorCfS44Z1FHtcwBpump.txt
Waiting for 25 seconds for things to stabilize...
Bonding curve address: DpDYjXpuVh19QRw98xVcPXrukM6Fc1bfRBWfzfMSuq4z
Token price: 0.0000000285 SOL
Buying 0.001000 SOL worth of the new token with 35.0% slippage tolerance...
Attempt 1 to create associated token account failed:
Retrying in 1 seconds...
Creating associated token account (Attempt 2)...
Attempt 2 to create associated token account failed:
Retrying in 2 seconds...
Creating associated token account (Attempt 3)...
Attempt 3 to create associated token account failed:
Retrying in 4 seconds...
Creating associated token account (Attempt 4)...
Attempt 4 to create associated token account failed:
Retrying in 8 seconds...
Creating associated token account (Attempt 5)...
Attempt 5 to create associated token account failed:
Max retries reached. Unable to create associated token account.
Buy transaction failed.
Waiting for 20 seconds before selling...

@chainstacklabs chainstacklabs deleted a comment Jan 2, 2025
@Cryptocobi
Copy link

I have the same issue. Anyone ?

@diMarcoDEV
Copy link

Me too! Taking forever!!

@Cryptocobi
Copy link

So this bot is not working ? @akegaviar

@Psykepro
Copy link

I have this issue as well. @akegaviar how to fix it?

@akegaviar
Copy link
Member

Guys, check the readme note on limits

## Note on limits

95% of the time it depends on the node you are using, the RPS, the SwQoS status and so on. There's a lot of nuance.

Not prompting for you guys go and pay for anything, but Solana is a pretty complex piece of architecture (and pretty amazing too), but with how fast it goes and how the data propagates, and how fast the node receives the latest nertwork and so on. It costs quite a bit to maintain the node infrastructure — so all of that boils down to a few points:

  • The node you are using — public RPCs and free plans 99% of the time won't work. Simply because it's not viable cost-wise to maintain for those who provide the service
  • Paid plans and the respective RPS on the plans
  • Use of staked connections — SwQoS etc (these always cost more than regular requests/txs)
  • Use of priority fees
  • Possibly location
  • Node status
  • etc

For the Chainstack part, I can suggest you to get familiar with the following resources (and think about your infrastructure):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants