Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
NEAR 交易没有收据但有收据_结果
查询时档案节点 https archival rpc mainnet near org与交易EXPERIMENTAL tx status方法 有些交易没有receipts当有receipts outcome 这怎么可能 该交易与其他交易有何
nearprotocol
near
近跨合约调用(允许一个账户将资金从托管释放到另一个账户)
我正在尝试学习如何允许 1 个帐户 捐赠匹配器 将资金存入第二个帐户 本合同 https github com ryancwalsh donation matching blob 0a7bd3e39e79aec480367d0425d807
nearprotocol
并非所有字节都读取常见解决方案
在这篇文章中 我将详细介绍导致神秘错误消息的原因 Smart contract panicked panicked at Cannot deserialize the contract state Custom kind InvalidDa
nearprotocol
在NearProtocol中,如何迁移合约状态
假设有一个用near sdk rs编写的合约 已部署 其状态定义为 near bindgen derive BorshDeserialize BorshSerialize pub struct NFT pub tokens Unordere
nearprotocol
nearsdkrs
如何在near api js和near cli中将near令牌发送到payable函数?
我在合同中有以下功能 payable pub fn buy tokens mut self let amount env attached deposit 但是如何调用near api js和near cli中的函数并附加near代币存款呢
nearprotocol
如何从地址调用不同的合约?
在 Solidity 以太坊 中 人们需要合约地址来调用该合约 contract KittyInterface function getKitty uint256 id external view returns bool isGestat
nearprotocol
无法通过 RPC 获取接近协议事务状态
给定一笔交易https explorer near org transactions JBb2DDe3i1CtBwESisLuhxXkWVZpCKYL4J1AdYwAQPsQ https explorer near org transact
nearprotocol
在 Rust 中运行集成测试时如何查看日志记录(特别是使用 NEAR Workspaces-rs)
我在用着https github com near workspaces rs https github com near workspaces rs 我的函数中有一些行 例如log Removed from key recipient u
logging
Rust
nearprotocol
near
NEAR 上公钥的正确长度和格式是什么
一些从存储设备生成的公钥是 44 个字符后的ed25519 前缀 总共 52 个 有些是 43 个字符 总共 51 个 这是允许的吗 Is the ed25519 使用公钥时是否需要包含前缀 ed25519 前缀通常是可选的 并且默认应用
nearprotocol
函数 getAccountBalance() 不起作用
我正在创建示例与其他开发人员共享 但我现在尝试保持非常简单的代码 所有基本功能都在工作 我正在使用官方文档 LINK https docs near org docs api naj quick reference connect acco
nearprotocol
near
nearprotocolvalidator
在 Rust 测试中,如何使用 NEAR 协议检查帐户的状态(帐户余额)?
在 Rust 测试中 如何检查帐户的状态 帐户余额 例如 我有这个辅助函数 fn set context account index usize is view bool deposit Amount let context VMConte
nearprotocol
near
哪些 Rust 数据结构是不确定的
编写智能合约时 确保使用的所有数据结构都是确定性的非常重要 具体来说 如果HashMap or HashSet使用 Rust 标准库是否存在可能的非确定性 由于 Wasm 运行时无法访问非确定性输入 因此整个执行是确定性的 HashSet
Rust
nearprotocol
如何查看 NEAR 协议创世时创建的原始账户结构?
显然账户已经发生了很大的变化 但是有没有一种简单的方法可以在网络启动时查看原始账户和余额的映射 基本上 创世哈希在哪里 这是 mainnet genesis json 文件 https github com near nearcore bl
nearprotocol
如何使用 cli 获取帐户的接近余额?
是否有可能使用接近帐户余额靠近 cli https docs near org docs tools near cli Running near state
nearprotocol
在近协议中使用 ed25519 进行签名和验证
我正在尝试使用 javascript 对消息进行签名签名留言 https github com near near api js blob 25e7e60203965aee062ca19f352ff765859896ef src signe
python
Cryptography
pythoncryptography
nearprotocol
naclcryptography
如何从合约调用(AssemblyScript)中获取交易哈希?
我希望能够使用near sdk as 在我的一些合约方法中返回交易哈希 我以为我可以用context blockIndex 但我认为这不是交易哈希值 您无法从合约方法返回 tx 哈希值 因为此时交易尚未完成 您仍在其中 合约调用本身 您从任
nearprotocol
如何仅使用私钥(无助记词)将帐户导入 NEAR 钱包
在这篇文章中 我将介绍如何仅使用您的私钥将帐户导入 NEAR 钱包 当您使用 CLI 或近 api js 创建帐户 或子帐户 并且只能访问私钥时 这非常有用 要导入帐户 只需单击此 URL 并替换YOUR ACCOUNT ID and YO
nearprotocol