outsmartchad / solana-trading-cli

High-performance modules for develop Solana Trading Bots: CLI, gRPC bots, and low-latency integrations with Jito, bloXroute, Jupiter, and DEXes
MIT License
225 stars 106 forks source link

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

Open RomanticBarracks opened 3 months ago

RomanticBarracks commented 3 months 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 3 months 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 3 months 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 3 months ago

Thx it works now !

RomanticBarracks commented 3 months 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 3 months ago

should be in the directory where you just ran the command

RomanticBarracks commented 3 months ago

should be in the directory where you just ran the command

Appreciate it, brother