nearprotocol Questions
6
I see this error in the Terminal while building a Rust application (which happens to be about NEAR Protocol, if you're curious):
error[E0463]: can't find crate for core
note: the "wasm32-unkn...
Paulitapaulk asked 18/2, 2021 at 1:43
2
Solved
I'm using https://github.com/near/workspaces-rs/ and have lines in my functions like log!("Removed {} from {}", &key, &recipient);
(using use near_sdk::{env, log};)
But those log ...
Rotifer asked 9/8, 2022 at 14:45
5
Where can someone increase the number of tokens on their TestNet account on NEAR Protocol if they run out?
Spindrift asked 27/2, 2021 at 12:1
2
Solved
Can someone help me understand the relationship and distinction amongst these three concepts? It seems like context.predecessor == context.contractName checks are common.
Banjo asked 28/4, 2021 at 9:2
1
Solved
I was wondering how come some blocks exist but some don't? It seems like they get skipped and I'm unsure as to why. For example:
87868936 exists and so does 87868938 but 87868938 does not. Thanks!
...
Gramme asked 20/2, 2022 at 18:17
1
In this post, I'll run through how you can import an account into the NEAR Wallet using only your private key. This is useful when you've created accounts (or sub-accounts) using the CLI or near-ap...
Aliber asked 23/2, 2022 at 14:36
2
I am creating a subaccount using command:
near create-account 123.xyz.testnet --masterAccount xyz.testnet
But it only generates the public key and private key, how to get the seed phrase of the acc...
Fork asked 30/5, 2021 at 4:43
2
Solved
I'm attempting to delete a NEAR wallet and transfer the remaining fund to another wallet by using the following command:
near delete choyeumeo.near maimai276.near
But seems like the action failed b...
Enwind asked 7/1, 2022 at 5:19
3
I've been able to run near dev-deploy using near-shell for a Rust contract, and then call a function "new" with near call my-account new '{"param1": "foo"}'
However, this does not work when I depl...
Felonious asked 20/3, 2020 at 0:50
1
In this post, I'll go through what causes the cryptic error message "Smart contract panicked: panicked at 'Cannot deserialize the contract state.: Custom { kind: InvalidData, error: "Not ...
Stingy asked 22/12, 2021 at 21:43
0
This post will outline the most common source of the famed "Exceeded the prepaid gas." error and how you can try and debug the problem. With that being said, I'm quickly going to outline ...
Odessaodetta asked 22/12, 2021 at 16:52
1
I have signed the message, using ed25519
const msg = Buffer.from("hi");
const signerKeyPair = await keyStore.getKey(config.networkId, signerAccount);
const { signature } = signerKeyPair.s...
Roemer asked 19/11, 2021 at 21:32
1
Solved
I'm new in blockchain, smart contract and near protocol. I'm trying to learn from https://near.academy/ . There's a sample contract on testnet : museum.testnet.
I'm using windows and i installed ws...
Erethism asked 28/9, 2021 at 20:13
2
Solved
How can you extract the smart contract WebAssembly binaries by exploring the NEAR protocol blockchain?
Goodale asked 17/11, 2019 at 15:6
2
Assume there's a contract written in near-sdk-rs, deployed, has state defined as:
#[near_bindgen]
#[derive(BorshDeserialize, BorshSerialize)]
pub struct NFT {
pub tokens: UnorderedMap<TokenId, ...
Fleischer asked 11/4, 2021 at 5:51
1
For various use cases it's valuable to display historical data of the balance on some account.
What is the best way to query this data from NEAR protocol?
Anoxia asked 25/1, 2021 at 4:55
2
Writing NEAR smart contracts in Rust, my compiler seems to require objects sent through the API to have the Serialize trait, and objects stored in the blockchain to have BorshSerialize and BorshDes...
Pee asked 18/12, 2020 at 18:45
3
After reading more about how transactions are processed by NEAR I came up with this picture of how a few key parts are related.
I am seeking some pointers on how to correct this.
First a few key po...
Tunicle asked 13/12, 2019 at 20:27
1
Solved
Obviously the accounts have changed significantly but is there an easy way to view the mapping of original accounts and balances when the network launched?
Basically, where is the genesis hash?
Middelburg asked 27/10, 2020 at 10:4
1
Solved
There are various scenarios when you may possess either account id (this is public information) or own the private (secret) key (e.g. extract it from NEAR Wallet local storage), and you want to kno...
Radiometeorograph asked 29/9, 2020 at 14:26
3
NEAR's accounts can have many different key pairs accessing the same account. The keys can also change and rotate. Which means the default way of encrypting messages for specific user with their pu...
Aarhus asked 9/6, 2020 at 20:31
1
Solved
I am trying to sign the message in javascript using signMessage and verify it with python for implementing jwt authentication.
This is the code for signing message in javascript using near-api-js
...
Latinalatinate asked 27/5, 2020 at 17:34
1
Solved
In ethereum, JWT authentication takes place with the following process:
https://github.com/Bearle/django-web3-auth/
1) Users sign a message in metamask using accounts private key.
2) account addr...
Triserial asked 24/5, 2020 at 5:55
3
Solved
I know a bunch of crypto wallets which works in IFRAMEs and similar technologies right inside a web browser without needing to install any plugins:
https://authereum.org
https://www.portis.io
htt...
Sascha asked 3/12, 2019 at 20:54
2
Solved
I want to write tests that require the ability to change predecessor accounts mid-test. But I couldn't find a way to change the VMContext dynamically.
fn get_context(value: u128) -> VMContext ...
Interrupt asked 20/11, 2019 at 14:31
1 Next >
© 2022 - 2024 — McMap. All rights reserved.