near-sdk-contract-tools
near-sdk-contract-tools copied to clipboard
Helpful functions and macros for developing smart contracts on NEAR Protocol.
Improves devx/ergo significantly.
Currently, the standard requires the `nft_*` functions accept token IDs as strings, but it would save on space, compute for the internal representation of NFT token IDs to be `u64`,...
The `upgrade_jsonbase64` workspaces test fails intermittently, apparently randomly? I am unable to reproduce it locally; it only happens during GitHub Actions runs. Error output: ```text thread 'upgrade_jsonbase64' panicked at 'called...
The contract demonstrates a simplified but relatable real world scenario where a payroll management contract can add and pay employees. Among other things it demonstrates how and where to use...
We should have a discussion about supporting [WebAssembly Interface Types (WIT)](https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md). This would make `near-contract-tools` compatible with tools like the [RAEN suite](https://github.com/raendev/raen), which allows contracts to self-report ABI for use...
For smart contracts that manage multiple NEP-141 tokens in a treasury and issue a backed token. Inspired by the [Skyward Finance hack](https://twitter.com/sudo_build/status/1588020269418835969). Should work well in conjunction with the existing...