non-official Narwallets' near-api js/ts lite version - for node.js
near-api-lite is a a subset of the official near-api-js
It has no dependencies and unpacked size is 240kb (approx. 10% of near-api-js)
- create near-api-lite-browser
- Smaller, just core functionality, no dependencies
- Transaction
- Borsh Serializer
- a .ts cut-down version fo TweetNacl (only sign/25519 curve)
- bn.js
- json-rpc (minimal)
- near-rpc (minimal)
- base-smart-contract class to derive from
- NEP141 smart contract class to derive from
- NEP129 smart contract class to derive from
- KeyStores
- Providers
- Signers
- Connection, Account, NEAR-Wallet & Contracts Wrappers
- NEAR-Wallet navigate-to integration
- Validators abstractions
- Multisig abstractions
This is a simpler API intended to include the minimal required API to interact with the NEAR blockchain
- Current version of Node.js. >=v14.0.0
- Add to your project by running:
npm i near-api-lite
Happy coding! 🚀