Category "solana"

Solana NFT Trade Transaction Identification

I am trying to identify which Solana transactions are actually NFT sales. I am using Solana JSON RPC to get the information about the individual transactions bu

Solana NFT Trade Transaction Identification

I am trying to identify which Solana transactions are actually NFT sales. I am using Solana JSON RPC to get the information about the individual transactions bu

can't start solana validator node,can't connect

I have used SSR, and the viewer can access the node get_cluster_shred_version failed: 108.160.170.41:8001, connection timed out ..... [2022-05-07T01:25:37.98495

Get token list from connected solana wallet and create an array

I'm trying to figure out how to take the connected wallet, from the solana wallet-adapter and grab all the spl-tokens (NFTs specifically but that filter doesn't

Account vs Block in Blockchain Solana

What is the difference between an Account and a Block in Solana Blockchain technology? As per solana docs, Block: A contiguous set of entries on the ledger cove

cargo build-bpf fails on ubuntu

rustc --version = rustc 1.60.0 (7737e0b5c 2022-04-04) solana --version = solana-cli 1.10.8 (src:623ac656; feat:1122441720) npm --version = 8.5.1 node --version

Calling solana (anchor) program . No Errors, But lamports not transferring between accounts as requested

My code runs fine when using bump + seeds. All tests are passing. But Please see below code of a Crowd funding campaign, created using Anchor. The problem is th

How to use Solana Wallet Key to sign TX for ArweaveJS

Is there any way to use a Solana wallet keypair and load it into the JWKInterface as per the node_modules/arweave/node/lib/wallet.d.ts and then create an Arweav

How can I validate a Solana wallet address with web3js?

I'm trying to validate that the input text I get from a user is a valid Solana address. According to the web3.js documentation, the method .isOnCurve() does tha

Instruction 0: incorrect program id for instruction. Works on devnet but not mainnet

I am trying to make a spl-token transfer from a user wallet. The code below works perfectly on the devnet but throws Transaction simulation failed: Error proces

Filter NFT's in wallet by metaplex candy machine id

Is there any way to filter a users wallet by metaplex candy machine id? I know how to get all of a users nfts via getParsedTokenAccountsByOwner. const tokens =

Is there any way to increase compute unit in building on-chain program of Solana

I crashed with error of exceeding maximum unit of compute units while developing on-chain program of Solana. Is there any way to increase maximum compute unit?

Solana: Create PDA account on chain

I am trying to write a Solana program which creates a PDA account for me on-chain. I can't get it to work and tbh, no idea what I am doing wrong :/ I have the f

How to get all Candy Machine Ids on solana chain by web3 or json rpc

I wanna get all Candy Machine Ids on chain by web3 or json rpc call. I have tried with getProgramAccounts json rpc but have response with Maximum response size

Failing tests -> Cannot read properties of undefined (reading 'rpc')

I was writing a test in TypeScript for Adding two numbers. I am receiving the following error: Adds two numbers: TypeError: Cannot read properties of undef

TypeError: Unknown file extension ".ts" in a Solana Anchor project

I got this error after updating Solana-cli to 1.9.4 and Anchor-cli to 0.20.1 and other local npm versions... Local npm package: @project-serum/anchor 0.18.2 Sol

failed to deploy solana smart contract (solang compiler)

I run: Solana-keygen new --force solana airdrop 5 I have a solidity smart contract that looks like this: // SPDX-License-Identifier: MIT pragma solidity ^0.7.0;

Error loading workspace IDL for Solana Anchor Testing

For some reason, my mocha test is unable to find my IDL. I am getting the error below: name@Mabels-MacBook-Pro solana-anchor-reactjs-payment % anchor test BPF S

Error loading workspace IDL for Solana Anchor Testing

For some reason, my mocha test is unable to find my IDL. I am getting the error below: name@Mabels-MacBook-Pro solana-anchor-reactjs-payment % anchor test BPF S

How to sale Solana NFT which has minted with my own contract?

I have minted NFTS with my own contract on Solana blockchain. I am going to sell these NFTS on Marketplace but marketplaces need candy machine addresses or hash