update readme
This commit is contained in:
@@ -117,7 +117,7 @@ let metadata = ipfs::CreateTokenMetadata {
|
||||
};
|
||||
|
||||
// ipfs_api_key for https://api.pinata.cloud
|
||||
let ipfs_metadata = ipfs::create_token_metadata(metadata, &"".to_string()).await?;
|
||||
let ipfs_metadata = ipfs::create_token_metadata(metadata, &"your ipfs_api_key".to_string()).await?;
|
||||
println!("ipfs_metadata: {:?}", ipfs_metadata);
|
||||
|
||||
pumpfun.create_and_buy(
|
||||
|
||||
+1
-1
@@ -76,7 +76,7 @@ async fn create_and_buy() -> Result<(), Box<dyn std::error::Error>> {
|
||||
};
|
||||
|
||||
// ipfs_api_key for https://api.pinata.cloud
|
||||
let ipfs_metadata = ipfs::create_token_metadata(metadata, &"".to_string()).await?;
|
||||
let ipfs_metadata = ipfs::create_token_metadata(metadata, &"ipfs_api_key".to_string()).await?;
|
||||
println!("ipfs_metadata: {:?}", ipfs_metadata);
|
||||
|
||||
let mint = Keypair::new();
|
||||
|
||||
Reference in New Issue
Block a user