outsmartchad / solana-trading-cli

Best solana cli tool, gRPC trading bots for high-frequency trading dev integrated with Jito bundles, bloXroute, Jupiter, DEXes, and Pump.fun.
MIT License
141 stars 58 forks source link

I have question [pumpfun create & initial buy] #14

Open RomanticBarracks opened 1 month ago

RomanticBarracks commented 1 month ago

node /Users/chiwangso/Desktop/solana-memecoin-cli/src/pumpfunsdk-js/pumpdotfun-sdk/src/createAndBuy.js --pathToMintKeypair /Users/chiwangso/Desktop/solana-memecoin-cli/src/pumpfunsdk-js/pump-keypair/aNJh1sNPsX1TAPxiqhZxYBkzseuRJZxPpBEcjDBpYnL.json --sol 0.01 --name juiceWrld --symbol JW --description iWillChangeTheWorld --file /Users/chiwangso/Desktop/solana-memecoin-cli/src/pumpfunsdk-js/pumpdotfun-sdk/images/999.jpg

from this what should I put in "pathToMintKeypair" ? Do I have to mint keypair first and put it there or is there any mint thing in your code? In this context where is 'aNJh1sNPsX1TAPxiqhZxYBkzseuRJZxPpBEcjDBpYnL' from?

Btw your work is wonderful! Thank you !

outsmartchad commented 1 month ago

since creating a token on Solana needs a keypair which can create by typing a command "solana-keygen new", with that be generated, you can copy the path of the keypair, and paste in our command!

outsmartchad commented 1 month ago

more details in here: https://www.quicknode.com/guides/solana-development/getting-started/how-to-create-a-custom-vanity-wallet-address-using-solana-cli

RomanticBarracks commented 1 month ago

Thx it works now !

RomanticBarracks commented 1 month ago

May I ask you one more question? I apologize in advance as it is not related to your project. 스크린샷 2024-07-28 182022

I can't find the .json file generated when running solana-keygen grind --starts-with a23:1. Where can I find it?

outsmartchad commented 1 month ago

should be in the directory where you just ran the command

RomanticBarracks commented 1 month ago

should be in the directory where you just ran the command

Appreciate it, brother