0xdevlen / pump.fun-buy-sell-trading-scripts

Fully automated pump.fun tokens scripts to place buy and sell trades in python, nodejs, rust for pumpfun tokens.
https://docs.pumpapi.fun/
7 stars 1 forks source link

disregard #1

Open ism opened 1 month ago

ism commented 1 month ago

read title

0xdevlen commented 1 month ago

@ism you tried the API ?

There is also transaction endpoint, which takes only wallet address ?

@ism Without trying or proofs ... whats the sense ?

0xdevlen commented 1 month ago

@ism The scripts uses the pumpapi API , used by many degens.

ism commented 1 month ago

i am sorry, my bad. i did not expect their official API would accept private key as parameter to request. this is asking for troubles!

ism commented 1 month ago

I made a second look. Is it official API?

In FAQ i see this https://docs.pumpapi.fun/faqs#do-i-need-to-provide-my-private-keys-to-use-the-pumpapi

Do I need to provide my private keys to use the PumpAPI?

No, you do not need to provide your private keys to make any API requests. We prioritize security and do not require sensitive information to access our API.

in requests i see this: payload = { "trade_type": args.trade_type, "mint": args.mint, "amount": args.amount, "slippage": args.slippage, "priorityFee": args.priority_fee, "userPrivateKey": args.private_key }

Can you clarify on that? Why do you need user private API key? You can sign transaction locally and submit to chain.

0xdevlen commented 1 month ago

@ism Private key is required to sign the tx and send it with private fast API.

For users who can't land their tx to the chain , & instead of spamming , they could directly the endpoint. + Its very simple to integrate.

There is also /transaction endpoint which returns a encoded transaction, to sign locally and send. It doesn't require private key.

But its more difficult to integrate.