Skip to content

silvered-shark/pump.fun_swap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pump Fun Swap Transaction

This test project aims to execute swap transaction on the pump.fun.

Input Params:

- Wallet secret Key (Save in the .env file so that it can't be shared with others. I added example.env and you can customize it.)

- Token Mint Address (Token address you want to buy or sell)

Running command:

  npm install
  npm start
  1. Check the associated token is existed in my wallet.
  2. Create associated token account within my wallet if not exist.
  3. Invoke the buy or sell function on the IDL of pump.fun program.

Output

Here, I would like to show the output of this project.

image
This is the image of my wallet (phantom)

image
This is the image of my account for tokens.

image
This is the image of transaction details

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published