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

3437
ts/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
{
"name": "wba-solana",
"name": "turbin3-solana",
"version": "1.0.0",
"license": "MIT",
"scripts": {
@@ -27,16 +27,16 @@
"vault_close": "ts-node ./cluster1/vault_close.ts"
},
"dependencies": {
"@coral-xyz/anchor": "0.29.0",
"@metaplex-foundation/mpl-token-metadata": "3.1.1",
"@metaplex-foundation/umi": "^0.8.10",
"@metaplex-foundation/umi-bundle-defaults": "^0.8.10",
"@metaplex-foundation/umi-uploader-irys": "^0.9.1",
"@solana/spl-token": "^0.3.9",
"@coral-xyz/anchor": "0.31.1",
"@metaplex-foundation/mpl-token-metadata": "3.4.0",
"@metaplex-foundation/umi": "^1.2.0",
"@metaplex-foundation/umi-bundle-defaults": "^1.2.0",
"@metaplex-foundation/umi-uploader-irys": "^1.2.0",
"@solana/spl-token": "^0.4.13",
"@solana/web3.js": "^1.87.6",
"@types/node": "^20.9.3",
"@types/node": "^24.0.7",
"@types/prompt": "^1.1.8",
"bs58": "^5.0.0",
"bs58": "^6.0.0",
"prompt": "^1.3.0",
"typescript": "^5.3.2"
},