Category "solana"

Properly Convert Lamports to SOL

Testing out devnet and airdrops. Below is my code for a basic wallet with a 2 sol airdrop. I am trying to convert Lamports back into SOL by dividing LAMPARTS_PE

Candy Machine v2 - error: required option '-k, --keypair <path>' not specified

I have done numerous tutorials, and followed everything step by step but I keep getting stuck at this one step, running the following command: npx ts-node ~/sol

My Javascript file won't run because of bigint error

I am trying to use @metaplex/js to do some NFT minting. Usually my .js files work properly but when I run the file this error comes up. bigint: Failed to load b

unable to upload nfts using metaplex

while am uploading Nft asset to Solana network and have this error : Beginning the upload for 22 (img+json) pairs started at: 1646166389888 initializing candy

Solana Anchor deploy error. bump targets should not be provided with init. please use bump without a target

When I run anchor deploy, I am getting this error. bump targets should not be provided with init. please use bump without a target How can I fix it?

How to connect solana wallet in android?

I want to make nft marketplace with solana in android. There are many examples connecting solana wallet(ex. solflare, phantom ...) in web client. But i don't kn

Solana Test Program Anchor Test failing tsconfig.json" > needs an import assertion of type "json"

I ran anchor test --skip-deploy and all it should do is initialise my program, but all I get is this error, that I cannot resolve. I checked the tsconfig.json s

Uncaught (in promise) Error: Transaction fee payer required

I get this error when I try to execute this using phantom wallet and react app const transferTransaction = new Transaction() .add(SystemProgram.transfer({

trying to run an generate art configuration in metaplex and it keeps returning this. I have tried changing up just about everything

desktop % ts-node ./metaplex/js/packages/cli/src/candy-machine-v2-cli.ts generate_art_configuration traits /usr/local/lib/node_modules/ts-node/src/index.ts:820

How to transfer custom SPL token by '@solana/web3.js' and '@solana/sol-wallet-adapter'

Hello I am trying to transfer a custom SPL token with the solana-wallet adapter. However i am having trouble getting the wallet's secret key/signing the transac

Phantom wallet: Solana transactions debug

I need to know which instuctions list is used for a transaction in order to use it in my application. For example: There is an unknown NFT marketplace, I can bu

Phantom wallet: Solana transactions debug

I need to know which instuctions list is used for a transaction in order to use it in my application. For example: There is an unknown NFT marketplace, I can bu

How to use keys from Solana keygen to use a web wallet?

I ran this CLI command solana-keygen new --outfile ~/my-solana-wallet/my-keypair.json And have copied down the public key, BIP39 passphrase and 12 seed words.

Metaplex sign command metadata parameter

After creating an NFT via candy machine v2 I'm trying to execute a sign command (link to the docs) This is the command from the documentation: ts-node ~/metaple

Solana web3 js keep gives Cannot read properties of undefined (reading 'negative') while trying to confirm transaction

I'm trying to sign a transaction with connected user's wallet, through phantom but I keep getting this error message Cannot read properties of undefined (readi

Attempted import error: 'Wallet' is not exported from '@project-serum/anchor'

Trying to import the Wallet class but getting error in title at runtime. This issue apparently should have been fixed in v0.21+ but it doesn't appear to work in

Candy Machine - Unable to upload files

I am following a tutorial and am on the step where we are uplaoding the metadata and files. The tutorial tells me to use the the following command: npx ts-node

yarn run error : Command failed with exit code 1

I was trying to follow this tutorial This is a tutorial on Solana program dev using anchor and the error rises from using yarn on ubuntu 20.0 i guess and I got