This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Verify installation of dependencies | |
git version | |
node --version | |
yarn --version | |
ts-node --version | |
solana --version | |
spl-token --version | |
# Create and fund wallet | |
solana-keygen new --outfile ./wallet/solana/devnet.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reference for the video: https://youtu.be/asnupAj-IJg | |
# Create Keypair | |
solana-keygen new --outfile ~/live/payer.json | |
# Set Keypair | |
solana config set --keypair ~/live/payer.json | |
# Set Network to devnet | |
solana config set --url https://metaplex.devnet.rpcpool.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Usage `node GenerateNftConfigFiles.js` | |
const fs = require('fs') | |
const totalNFTSize = 10000; | |
for (let index = 0; index < totalNFTSize; index++) { | |
const content = { | |
"name": `<NAME>`, | |
"symbol": `<SYM>`, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Taken from https://stackoverflow.com/a/69256259 | |
# Usage: python3 PrivateKeyStringToFile.py <String Private Key> | |
import base58 | |
import sys | |
byte_array = base58.b58decode(sys.argv[1]) | |
json_string = "[" + ",".join(map(lambda b: str(b), byte_array)) + "]" | |
print(json_string) |
NewerOlder