-
In near-api-js, both raw buffer and JavaScript Object can be provided as argument of a FunctionCall Action. This is useful when contract argument is not serialized with JSON (Examples: rust contracts …
-
在进行near-go语言化时,转账必须使用big.int,目前的uint都会发生溢出。经过我几天的努力也解决了这个问题,下面提供一个可行的思路,以及转账使用的结构体(时间和工作原因,我只构建了转账方法的结构体)。
1.支持big.int序列和反序列化
(1)serialize
对borsh.serialize 进行修改:
case reflect.Ptr:
if v.Type() =…
-
**Describe the bug**
i'm uploading my 1300 nft's on my aws3 Bucket by running the command:
`
AWS_ACCESS_KEY_ID=******* AWS_SECRET_ACCESS_KEY= ******* ts-node src/candy-machine-cli.ts upload ./a…
-
# Aurora Bounty Terms
Before beginning work on the bounty, you must submit a proposal. Only if your proposal is accepted will you be able to claim the reward of the bounty. Your proposal should inc…
-
```
pub struct Order {
account_type: Header,
mint: Pubkey,
user: Pubkey,
token_mint: Option,
price: u64,
}
type Pubkey [32]byte
```
like this rust struct, how to Deseri…
binnz updated
2 years ago
-
When I to upload assets less than 10 (indices 0-9) it fails but it successfully uploads when it is more than but if it is less than 10, it uploads successfully.
Say I was to upload 15:
0-9 will fail…
-
I'm trying to use Borsh to deserialize a large array.
```rust
pixels: [(Pubkey, u8); 1_000 * 1_000],
```
I've added the following crate attribute:
```rust
#![feature(trivial_bounds)]
```
A…
-
I'm trying to use Borsh to deserialize a large array.
```rust
pixels: [(Pubkey, u8); 1_000 * 1_000],
```
I've added the following crate attribute:
```rust
#![feature(trivial_bounds)]
```
A…
-
./src/models/metaplex/claimBid 2.ts:10:54
Type error: Cannot find module '.' or its corresponding type declarations.`
` 8 | import { serialize } from 'borsh';`
` 9 | `
`> 10 | import { getAu…
-
```
BPF SDK: /Users/sushantchandla/.local/share/solana/install/releases/1.7.10/solana-release/bin/sdk/bpf
Running: rustup toolchain list -v
Running: cargo +bpf build --target bpfel-unknown-unknown …