A modern Javascript (and Typescript) library for Near blockchain integration.
- provider - an entity that provides access to the Near blockchain.
- package - a separate package that can be installed to the app separately from other ones
├── LICENSE
├── README.md
├── package.json
└── packages
├── abstract-provider
│ └── package.json
├── cli
│ └── package.json
├── constants
│ └── package.json
├── contracts
│ └── package.json
├── explorer
│ └── package.json
├── helper
│ └── package.json
├── providers
│ └── package.json
├── rates
│ └── package.json
├── units
│ └── package.json
├── wallet-core
│ └── package.json
├── wallet-providers
│ └── package.json
└── web
└── package.json
Contains a part of the library with abstract classes for Near provider
Contains a part of the library with implementation of different providers:
- RPC API provider
- Stargate API provider
- Fast Near API provider
- Pagoda API provider
and others
Contains the Near cli tool to call Near blockchain via cli. Can be configured to use any provider.
Contains constants
Contains necessary code to call view and write methods on the smart contracts. Contains contract factory and
Contains a helper objects to query data from near indexer for explorer database
Contains a helper objects to query near helper service (https://helper.mainnet.near.org)
Contains a helper objects to query current exchange rates for Near, Tokens, NFTs. Includes Rates provider: (ref.finance, kitwallet.app, the-auction.io, binance, etc)
Contains a helper objects to work with units: Yocto, Near, Gas, etc
A library contains basic wallet abstractions:
- Account entity
- Public Key handling
- Balance check
- etc
Contains different wallet API providers:
- Official near wallet
- Sender wallet
A frontend library for integration with a wallet
Implements:
- localstorage keystore
- Wallet Connection
- Send transactions to the blockchain
Can be configured with different wallet-providers, near-providers. Support multiple connections