Allen-Taylor / pump_fun_py

Pump Fun with Python
117 stars 40 forks source link

How do I add a gas fee? #5

Closed IsoyaYuki closed 2 months ago

IsoyaYuki commented 2 months ago

Looking for the code it doesn't appear to have a gas fee

Allen-Taylor commented 2 months ago

look in the constants.py file.

UNIT_PRICE = 10_000_000 UNIT_BUDGET = 100_000

Modify increase the unit price to increase the priority fee.

IsoyaYuki commented 2 months ago

How to set up Pump.fun Fee Account?

Allen-Taylor commented 2 months ago

I don't know what you mean. Sorry.

IsoyaYuki commented 2 months ago

this cost

Allen-Taylor commented 2 months ago

It's a fixed fee automatically calculated by the pump fun program itself.

Are you having issues with the code?

IsoyaYuki commented 2 months ago

The code is fine, very good code, thanks for the answer!