Skip to content

Instantly share code, notes, and snippets.

View alex-fung's full-sized avatar

Alexander Fung alex-fung

View GitHub Profile
@alex-fung
alex-fung / generate_tree_with_empty_proofs.ts
Created April 25, 2023 00:33
Script to mint NFTs into a new merkle tree at 10 NFTs per second
import {
Keypair,
PublicKey,
Connection,
Transaction,
sendAndConfirmTransaction,
TransactionInstruction,
} from "@solana/web3.js";
import { createAccount, createMint, mintTo, TOKEN_PROGRAM_ID } from "@solana/spl-token";
import {