All Questions
Tagged with rustc anchor-lang
3 questions
5
votes
1
answer
375
views
Solana Program 1 time initialization Issue
I want to add a check that once a function is called it should never be called again. I want initialization to be one-time only. Is this a good approach if I take a bool value and set it to false ...
1
vote
1
answer
1k
views
update rustc that anchor uses
After running cargo build-bpf I get the following error:
cargo-build-bpf child: rustup toolchain list -v
cargo-build-bpf child: cargo +bpf build --target bpfel-unknown-unknown --release
error: package ...
0
votes
0
answers
49
views
Anchor - Stuck with error SendTransactionError
I have been trying to write some custom contract in solana using Rust but always ending up with below error:
Catch the SendTransactionError and call getLogs() on it for full details.
at Connection....