tonyboylehub před 7 měsíci
rodič
revize
f11244996d

+ 2 - 2
src/pages/guides/general/create-deterministic-metadata-with-turbo.md

@@ -57,7 +57,7 @@ import secretKey from "/path/to/your/keypair.json";
 const turbo = TurboFactory.authenticated({
   privateKey: bs58.encode(Uint8Array.from(secretKey)),
   token: 'solana',
-  gatewayUrl: `https://devnet-aura.metaplex.com/<YOUR_API_KEY>`,
+  gatewayUrl: `https://api.devnet.solana.com`,
   paymentServiceConfig: { url: "https://payment.ardrive.dev" },
   uploadServiceConfig: { url: "https://upload.ardrive.dev" },
 });
@@ -197,7 +197,7 @@ const metadataFolderPath = path.join(__dirname, './metadata');
         const turbo = TurboFactory.authenticated({
             privateKey: bs58.encode(Uint8Array.from(secretKey)),
             token: 'solana',
-            gatewayUrl: `https://devnet-aura.metaplex.com/<YOUR_API_KEY>`,
+            gatewayUrl: `https://api.devnet.solana.com`,
             paymentServiceConfig: { url: "https://payment.ardrive.dev" },
             uploadServiceConfig: { url: "https://upload.ardrive.dev" },
         });

+ 2 - 2
src/pages/guides/general/how-to-diagnose-solana-transaction-errors.md

@@ -58,7 +58,7 @@ console.log(signature)
 
 ```ts
 // Create Connection
-const connection = new Connection("https://devnet-aura.metaplex.com/<YOUR_API_KEY>", "confirmed",);
+const connection = new Connection("https://api.devnet.solana.com", "confirmed",);
 
 // Create your transaction
 const transaction = new VersionedTransaction()
@@ -74,7 +74,7 @@ console.log(res)
 
 ```rust
 // Create Connection
-let rpc_client = rpc_client::RpcClient::new("https://devnet-aura.metaplex.com/<YOUR_API_KEY>".to_string());
+let rpc_client = rpc_client::RpcClient::new("https://api.devnet.solana.com".to_string());
 
 // Create your transaction
 let transaction = new Transaction()

+ 2 - 2
src/pages/guides/javascript/how-to-create-a-solana-token.md

@@ -149,7 +149,7 @@ This example is using a local script/node.js approach using Irys to upload to Ar
 const imageFile = fs.readFileSync('./image.jpg')
 
 // Use `createGenericFile` to transform the file into a `GenericFile` type
-// that Umi can understand. Make sure you set the mimi tag type correctly
+// that Umi can understand. Make sure you set the mimetag type correctly
 // otherwise Arweave will not know how to display your image.
 
 const umiImageFile = createGenericFile(imageFile, 'image.jpeg', {
@@ -348,7 +348,7 @@ const createAndMintTokens = async () => {
   const imageFile = fs.readFileSync("./image.jpg");
 
   // Use `createGenericFile` to transform the file into a `GenericFile` type
-  // that umi can understand. Make sure you set the mimi tag type correctly
+  // that umi can understand. Make sure you set the mimetag type correctly
   // otherwise Arweave will not know how to display your image.
 
   const umiImageFile = createGenericFile(imageFile, "image.png", {