A JavaScript library for interacting with EOSIO blockchains via the RPC API.
eosjs is a JavaScript library that provides an API for interacting with EOSIO-based blockchains. It allows developers to send transactions, query blockchain data, and integrate EOSIO functionality into web and Node.js applications by leveraging the EOSIO RPC API.
Developers building decentralized applications (dApps) or tools on EOSIO blockchains, including those working with web frontends, Node.js backends, or TypeScript projects.
eosjs offers a standardized and well-documented interface for EOSIO blockchain interactions, reducing the complexity of direct RPC calls and providing built-in support for transaction signing, error handling, and cross-environment compatibility.
General purpose library for the EOSIO blockchain.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Works seamlessly in both browser and Node.js, with clear examples for ES Modules and CommonJS imports, as shown in the README's import sections.
Includes TypeScript definitions and detailed setup instructions, such as adding the 'dom' lib for Node.js, ensuring type-safe development.
Provides a full-featured transact() method for signing and broadcasting transactions, with configurable TAPOS fields like blocksBehind and expireSeconds.
Uses RpcError for managing RPC-related exceptions, allowing developers to catch and parse errors with JSON.stringify, as demonstrated in the Error Handling section.
The built-in JsSignatureProvider is explicitly for development only, forcing developers to implement external secure vaults for production, adding significant complexity.
Requires running 'yarn build-web' to generate browser distributions manually, unlike libraries that offer direct CDN links or simpler npm setups for immediate use.
Needs additional packages like node-fetch and util for TextEncoder/Decoder in Node.js, which increases bundle size and complicates initial configuration.