dep updates
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import wallet from "../wba-wallet.json"
|
||||
import wallet from "../turbin3-wallet.json"
|
||||
import { createUmi } from "@metaplex-foundation/umi-bundle-defaults"
|
||||
import { createGenericFile, createSignerFromKeypair, signerIdentity } from "@metaplex-foundation/umi"
|
||||
import { irysUploader } from "@metaplex-foundation/umi-uploader-irys"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import wallet from "../wba-wallet.json"
|
||||
import wallet from "../turbin3-wallet.json"
|
||||
import { createUmi } from "@metaplex-foundation/umi-bundle-defaults"
|
||||
import { createGenericFile, createSignerFromKeypair, signerIdentity } from "@metaplex-foundation/umi"
|
||||
import { irysUploader } from "@metaplex-foundation/umi-uploader-irys"
|
||||
|
||||
@@ -2,7 +2,7 @@ import { createUmi } from "@metaplex-foundation/umi-bundle-defaults"
|
||||
import { createSignerFromKeypair, signerIdentity, generateSigner, percentAmount } from "@metaplex-foundation/umi"
|
||||
import { createNft, mplTokenMetadata } from "@metaplex-foundation/mpl-token-metadata";
|
||||
|
||||
import wallet from "../wba-wallet.json"
|
||||
import wallet from "../turbin3-wallet.json"
|
||||
import base58 from "bs58";
|
||||
|
||||
const RPC_ENDPOINT = "https://api.devnet.solana.com";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Keypair, Connection, Commitment } from "@solana/web3.js";
|
||||
import { createMint } from '@solana/spl-token';
|
||||
import wallet from "../wba-wallet.json"
|
||||
import wallet from "../turbin3-wallet.json"
|
||||
|
||||
// Import our keypair from the wallet file
|
||||
const keypair = Keypair.fromSecretKey(new Uint8Array(wallet));
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import wallet from "../dev-wallet.json"
|
||||
import wallet from "../turbin3-wallet.json"
|
||||
import { createUmi } from "@metaplex-foundation/umi-bundle-defaults"
|
||||
import {
|
||||
createMetadataAccountV3,
|
||||
@@ -10,7 +10,7 @@ import { createSignerFromKeypair, signerIdentity, publicKey } from "@metaplex-fo
|
||||
import { bs58 } from "@coral-xyz/anchor/dist/cjs/utils/bytes";
|
||||
|
||||
// Define our Mint address
|
||||
const mint = publicKey("<mint address>")
|
||||
const mint = publicKey("FxqSJ7HL65BXtxkvnShi63yM3xkVDt7VYrdEQTdpACgV")
|
||||
|
||||
// Create a UMI connection
|
||||
const umi = createUmi('https://api.devnet.solana.com');
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Keypair, PublicKey, Connection, Commitment } from "@solana/web3.js";
|
||||
import { getOrCreateAssociatedTokenAccount, mintTo } from '@solana/spl-token';
|
||||
import wallet from "../wba-wallet.json"
|
||||
import wallet from "../turbin3-wallet.json"
|
||||
|
||||
// Import our keypair from the wallet file
|
||||
const keypair = Keypair.fromSecretKey(new Uint8Array(wallet));
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Commitment, Connection, Keypair, LAMPORTS_PER_SOL, PublicKey } from "@solana/web3.js"
|
||||
import wallet from "../wba-wallet.json"
|
||||
import wallet from "../turbin3-wallet.json"
|
||||
import { getOrCreateAssociatedTokenAccount, transfer } from "@solana/spl-token";
|
||||
|
||||
// We're going to import our keypair from the wallet file
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
BN,
|
||||
} from "@coral-xyz/anchor";
|
||||
import { WbaVault, IDL } from "./programs/wba_vault";
|
||||
import wallet from "./wallet/wba-wallet.json";
|
||||
import wallet from "./wallet/turbin3-wallet.json";
|
||||
|
||||
// Import our keypair from the wallet file
|
||||
const keypair = Keypair.fromSecretKey(new Uint8Array(wallet));
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
BN,
|
||||
} from "@coral-xyz/anchor";
|
||||
import { WbaVault, IDL } from "./programs/wba_vault";
|
||||
import wallet from "./wallet/wba-wallet.json";
|
||||
import wallet from "./wallet/turbin3-wallet.json";
|
||||
|
||||
// Import our keypair from the wallet file
|
||||
const keypair = Keypair.fromSecretKey(new Uint8Array(wallet));
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
BN,
|
||||
} from "@coral-xyz/anchor";
|
||||
import { WbaVault, IDL } from "./programs/wba_vault";
|
||||
import wallet from "./wallet/wba-wallet.json";
|
||||
import wallet from "./wallet/turbin3-wallet.json";
|
||||
import {
|
||||
ASSOCIATED_TOKEN_PROGRAM_ID,
|
||||
TOKEN_PROGRAM_ID,
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
BN,
|
||||
} from "@coral-xyz/anchor";
|
||||
import { WbaVault, IDL } from "../programs/wba_vault";
|
||||
import wallet from "../wba-wallet.json";
|
||||
import wallet from "../turbin3-wallet.json";
|
||||
import {
|
||||
TOKEN_PROGRAM_ID,
|
||||
getOrCreateAssociatedTokenAccount,
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
} from "@solana/web3.js";
|
||||
import { Program, Wallet, AnchorProvider, Address } from "@coral-xyz/anchor";
|
||||
import { WbaVault, IDL } from "./programs/wba_vault";
|
||||
import wallet from "./wallet/wba-wallet.json";
|
||||
import wallet from "./wallet/turbin3-wallet.json";
|
||||
/// J8qKEmQpadFeBuXAVseH8GNrvsyBhMT8MHSVD3enRgJz
|
||||
|
||||
// Import our keypair from the wallet file
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
BN,
|
||||
} from "@coral-xyz/anchor";
|
||||
import { WbaVault, IDL } from "./programs/wba_vault";
|
||||
import wallet from "./wallet/wba-wallet.json";
|
||||
import wallet from "./wallet/turbin3-wallet.json";
|
||||
|
||||
// Import our keypair from the wallet file
|
||||
const keypair = Keypair.fromSecretKey(new Uint8Array(wallet));
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
BN,
|
||||
} from "@coral-xyz/anchor";
|
||||
import { WbaVault, IDL } from "./programs/wba_vault";
|
||||
import wallet from "./wallet/wba-wallet.json";
|
||||
import wallet from "./wallet/turbin3-wallet.json";
|
||||
import {
|
||||
ASSOCIATED_TOKEN_PROGRAM_ID,
|
||||
TOKEN_PROGRAM_ID,
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
BN,
|
||||
} from "@coral-xyz/anchor";
|
||||
import { WbaVault, IDL } from "./programs/wba_vault";
|
||||
import wallet from "./wallet/wba-wallet.json";
|
||||
import wallet from "./wallet/turbin3-wallet.json";
|
||||
|
||||
// Import our keypair from the wallet file
|
||||
const keypair = Keypair.fromSecretKey(new Uint8Array(wallet));
|
||||
|
||||
Reference in New Issue
Block a user