dep updates

This commit is contained in:
bergabman
2025-06-30 16:51:12 +02:00
parent f5a783ed40
commit 29e07fb7c6
17 changed files with 25 additions and 3462 deletions

View File

@@ -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"

View File

@@ -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"

View File

@@ -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";

View File

@@ -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));

View File

@@ -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');

View File

@@ -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));

View File

@@ -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

View 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));

View 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));

View 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 {
ASSOCIATED_TOKEN_PROGRAM_ID,
TOKEN_PROGRAM_ID,

View File

@@ -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,

View File

@@ -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

View 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));

View 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 {
ASSOCIATED_TOKEN_PROGRAM_ID,
TOKEN_PROGRAM_ID,

View 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));