fix(examples): mint and buy script (#141)
* fix(examples): remove hardcoded token mints * feat(core): update pump idls * feat(examples): add track volume bool to mint script * feat(examples): add extend acc instr to mint
This commit is contained in:
@@ -40,7 +40,7 @@ IDL_PARSER = load_idl_parser("idl/raydium_launchlab_idl.json", verbose=True)
|
||||
load_dotenv()
|
||||
|
||||
TOKEN_MINT_ADDRESS = Pubkey.from_string(
|
||||
"MYcq5mUyoAtCfyDWYAWvioou3cgnYjnCvFd7U6fspot"
|
||||
"YOUR_TOKEN_MINT_ADDRESS_HERE"
|
||||
) # Replace with actual token mint address
|
||||
|
||||
# Configuration constants
|
||||
|
||||
@@ -40,7 +40,7 @@ IDL_PARSER = load_idl_parser("idl/raydium_launchlab_idl.json", verbose=True)
|
||||
load_dotenv()
|
||||
|
||||
TOKEN_MINT_ADDRESS = Pubkey.from_string(
|
||||
"MYcq5mUyoAtCfyDWYAWvioou3cgnYjnCvFd7U6fspot"
|
||||
"YOUR_TOKEN_MINT_ADDRESS_HERE"
|
||||
) # Replace with actual token mint address
|
||||
|
||||
# Configuration constants
|
||||
|
||||
@@ -40,7 +40,7 @@ IDL_PARSER = load_idl_parser("idl/raydium_launchlab_idl.json", verbose=True)
|
||||
load_dotenv()
|
||||
|
||||
TOKEN_MINT_ADDRESS = Pubkey.from_string(
|
||||
"MYcq5mUyoAtCfyDWYAWvioou3cgnYjnCvFd7U6fspot"
|
||||
"YOUR_TOKEN_MINT_ADDRESS_HERE"
|
||||
) # Replace with actual token mint address
|
||||
|
||||
# Configuration constants
|
||||
|
||||
@@ -40,7 +40,7 @@ IDL_PARSER = load_idl_parser("idl/raydium_launchlab_idl.json", verbose=True)
|
||||
load_dotenv()
|
||||
|
||||
TOKEN_MINT_ADDRESS = Pubkey.from_string(
|
||||
"MYcq5mUyoAtCfyDWYAWvioou3cgnYjnCvFd7U6fspot"
|
||||
"YOUR_TOKEN_MINT_ADDRESS_HERE"
|
||||
) # Replace with actual token mint address
|
||||
|
||||
# Configuration constants
|
||||
|
||||
Reference in New Issue
Block a user