-
1) I installed solana, installed rust, installed anchor, everything as written in https://solana.com/docs/intro/installation
2) I went to do `anchor build` commands and ran into a problem:
```sh
us…
-
This is send_solana_to_single(). It works with solder + raw
```
def send_solana_to_single(self, from_address, to_address, sol_amount, signer_keypairs=[]):
if not from_address:
…
-
Running `cargo build --no-default-features --features metadata` results in a compilation failure because `src/metadata.rs` uses `spl_token::ID` and `spl_associated_token_account::ID`.
An easy way t…
-
❌ Ohoh.. failed to post funding tx - 5uDq2wKUvePWebVGHePfBozkpSLMNi5CDQ4fGQq2EaTK3BGPo55J9KYsAmqp96u8Dko23UPCZoBw1J1ubF9f44UY (keep this id!) - Confirmed tx not found
im facing this error i need …
-
### Problem
How to code to transfer SPL tokens to another account. I see that the code you wrote is quite confusing. Your system is too difficult compared to EVM, and the documentation is confusing. …
-
the anchor-spl version playground currently using is outdated it doesn't contain new token_interfaces and metadata_intialize function and GroupPointer extension, i request you to update to the latest …
-
` const { signature } = await transferV1(umi, {
mint,
tokenOwner,
destinationOwner,
tokenStandard: TokenStandard.Fungible,
splTokenProgram: SPL_TOKEN_2022_PROGRAM_ID,
am…
-
I create an SPL token using metaplex with specific metadata using the following code. In the process I also revoke `Mint` and `Freeze` authority.
```
const createToken = async () => {
if (!…
-
I have been messing with confidential transfers on the client side recently and ran into some issues with the `@solana/spl-token` API that I'd like to highlight here.
1. [`getMintLen()`](https://so…
-
token22-staking-latest/programs/token22-staking-latest/src/instructions/init_pool.rs:
```
use {
anchor_lang::prelude::*,
crate::{state::*, utils::*},
anchor_spl::*,
std::mem::s…