Skip to content
#

Solana

solana logo

Solana is a public blockchain that achieves consensus using a unique proof of history algorithm. It promises a very high transactions per second rate, without requiring a level 2 chain or sharding.

On-chain programs are usually written in Rust and compiled using LLVM to a variation of the Berkeley Packet Filter (BPF) bytecode.

Here are 360 public repositories matching this topic...

leonardgee
leonardgee commented Oct 28, 2021

Is your feature request related to a problem? Please describe.
We cannot change the end point that passed into ConnectionProvider.

Describe the solution you'd like
A clear and concise description of what you want to happen.

export interface ConnectionProviderProps {
    children: ReactNode;
    endpoint: string;
    config?: ConnectionConfig;
    setEndpoint: (endpoint: st
max-block
max-block commented Nov 22, 2021

I'm trying to transfer spl token from acc1 to acc2 using a payer as a totally different account acc3.

So, I have a token client: client = Token(...., payer=acc3).
When I call client.transfer() it fails with:
{'code': -32002, 'message': 'Transaction simulation failed: Attempt to debit an account but found no record of a prior credit.', 'data': {'accounts': None, 'err': 'AccountNotFound', 'logs

lieuzhenghong
lieuzhenghong commented Jul 20, 2021

Not sure where to put this, but trying to build the example page with sol-wallet-adapter 0.2.5 and anchor 0.11.1 gives a type mismatch.

Argument of type 'import("..../node_modules/@project-serum/sol-wallet-adapter/dist/cjs/index").default' is not assignable to parameter of type 'import(".../node_modules/@project-serum/anchor/dist/provider").Wallet'.
  Types of property 'publicKey' are

Created by Anatoly Yakovenko

Released April 2019

Latest release 1 day ago

Repository
solana-labs/solana
Website
solana.com
Wikipedia
Wikipedia

Related Topics

rust