Questions tagged [solana]

Use for questions about programming on the Solana Blockchain Platform or using its Anchor Framework. Use with the appropriate language tag.

From the website:

Solana is a decentralized blockchain built to enable scalable, user-friendly apps for the world.

Developer documentation can be found here, including information about Solana's Anchor Framework.

1213 questions
-2
votes
2 answers

Convert Solana public key from UINT8Array

I have generated accounts using the Solana CLI, but I am getting the public and private keys as publicKey: Uint8Array(32) [ 102, 255, 46, 44, 90, 176, 207, 98, 251, 66, 136, 190, 240, 59, 198, 177, 169, 35, 153, 3, 163, 68, 188,…
-2
votes
2 answers

How to create solana new account using reactjs

I want to create Solana new account using reactjs, I wrote this code: And this is the error Is there any help, please?
-3
votes
1 answer

Jest failed to parse a file with solana/web3.js

Can anyone provide a solution as to why this repo will not run the test? https://github.com/robport/nextjs-solana
Rob P
  • 37
  • 1
  • 5
-3
votes
2 answers

Metaplex: Mint standard Edition

I was wondering how to mint an NFT with Metaplex without doing MasterEdition. I want to do a simple edit with a supply of 1. But in the Metaplex program, you have to call "CreateMasterEdition" and give the MaxSupply. And then call…
Mayzz
  • 116
  • 1
  • 9
-3
votes
1 answer

Simulating a transaction to get fees and cost estimation

Is there a way to simulate a transaction with the Metaplex JavaScript SDK to get the cost and fees of the mint transaction? const { nft } = await metaplex .nfts() .create({ uri: "https://arweave.net/123", name: "My NFT", …
Mayzz
  • 116
  • 1
  • 9
-3
votes
1 answer

how delete these conflict errors / rust/ E0277, E0432, E0599

I am working with a course on coatings with the Solana Spotify Project and studying on YouTube. Please tell me the code produces such errors, but everything is written correctly and clearly. I don't know where I forgot. use…
-3
votes
1 answer

Instant sale feature in Metaplex NFTs?

I have an NFT listed in my Metaplex (instant sale). However I want to sell them in my e-commerce site and just take all the necessary information for me to display and proceed the sale there instead in metaplex. I notice in the solana explorer of my…
-3
votes
1 answer

How Do I Create Free or Low-Cost Custom Solana Token Airdrops?

I followed this excellent tutorial (at 0.5x speed) to create my own custom Solana token. I can send it to my wallet via command line. Now I want to do either free or low-cost airdrops. Is there a way to do this without having to spend a lot of my…
-4
votes
1 answer

How can I find all Solana accounts with non-zero balances/transactions?

I've been thinking about this problem for awhile.. I'm curious if you can traverse the blocks in Solana like you can in Ethereum and get all the transaction from inception then filter out zero balance accounts. I've been looking into it using…
gusto
  • 1
-5
votes
1 answer

How to securely store cryptocurrency wallet private keys in a database to prevent unauthorized access?

We’re creating a decentralised app, in which we’ll create a crypto wallet for each user. In order to store the private key of each user’s wallet, we can encrypt the same using his password being used for sign-up/login. But, now we’re not using…
-5
votes
1 answer

Solana CPI (runtime) invoke fails when creating a new account by system_instruction::create_account (on-chain program with anchor framework)

I am trying to create a simple program that lets users mint SPL tokens. This program is bootstrapped by Anchor. Unfortunately, It failed on very first step creating a PDA account by CPI. Please see the detailed info below: ----Processors------ I…
Eric Lee
  • 171
  • 2
  • 10
-7
votes
1 answer

How to generate keyphrase, mnemonic, seed, private key and public key on the Solana Blockchain

How to generate a keyphrase, mnemonic, seed, private key and public key on the Solana Blockchain (Mainet, Testnet & Devnet)?
1 2 3
80
81