37 releases (6 stable)
| 4.0.0-pre.1 | Mar 5, 2021 |
|---|---|
| 3.0.0 | Feb 10, 2021 |
| 2.2.0 | Sep 3, 2020 |
| 1.2.0 | Aug 18, 2020 |
| 0.4.2 | Nov 21, 2019 |
#16 in #near-blockchain
10,126 downloads per month
Used in 14 crates
(5 directly)
310KB
5K
SLoC
near-vm-logic
This crate implements the specification of the interface that Near blockchain exposes to the smart contracts. It is not dependent on the specific way the smart contract code is executed, e.g. through Wasmer or whatnot, and therefore can be used for unit tests in smart contracts.
Note, this logic assumes the little endian byte ordering of the memory used by the smart contract.
Run tests
cargo test --features mocks
Dependencies
~9.5MB
~178K SLoC