SDKs, libraries, and developer tools¶
Choose tools by the task you need to perform. Versions shown here were verified on 2026-07-25; check the canonical package or repository before installing. An official repository is maintained in the Koinos GitHub organization. A community-maintained project has an independent maintainer.
JavaScript and TypeScript interaction¶
Koilib¶
Koilib is a community-maintained JavaScript/TypeScript library for providers, signers, transactions, contracts, and serialization.
npm install koilib
- Published package:
koilib9.2.0 - Reviewed source: commit
ae5b267 - Maintainer: Julián González
See the Koilib reference and Interacting with Koinos for the relevant workflows.
AssemblyScript contracts¶
Koinos AssemblyScript SDK¶
The official Koinos AssemblyScript SDK provides the contract APIs and types used to build AssemblyScript smart contracts.
npm install @koinos/sdk-as
- Published package:
@koinos/sdk-as1.4.0 - Reviewed source: commit
d93ad34
The official AssemblyScript SDK CLI scaffolds and manages AssemblyScript contract projects:
npm install --global @koinos/sdk-as-cli
The published package is
@koinos/sdk-as-cli 1.0.2;
the reviewed repository revision is
6c0a7cb.
Follow Smart Contracts for the complete development
workflow.
C++ contracts¶
The official Koinos C++ SDK
provides a C++ smart-contract development kit. Its latest GitHub release at the
time of review is
v1.0.0.
Review its build instructions and compatibility with your target chain release
before starting a new project.
Command-line interaction¶
The official Koinos CLI manages
accounts, reads chain state, invokes contracts, and submits transactions. Use
the documented release rather than an unversioned binary; the release verified
for this review is
v2.0.0.
CLI operations can be state-changing. Verify the endpoint, chain ID, account, operation, and signer before approving a transaction. Start with the CLI wallet guide.
Local testing¶
- The official
Koinos local testnet
starts a development network for local integration testing. The reviewed
source is commit
2508a39. A local network is separate from the current public testnet. - The official
Koinos Mock VM supports local
contract unit tests. The verified package is
@koinos/mock-vm1.2.0, and the reviewed source is commitb7bcd44.
A mock runtime does not replace testing against the target integration network. For the current public testnet, use the official koinos/koinos-testnet source and the testnet guide.
Protocol schemas and generated types¶
The official koinos-proto repository
contains Koinos Protocol Buffer schemas and generated bindings. The version
reviewed here is
v2.6.0.
Generated C++, embedded C++, Go, JavaScript, and Python bindings expose protocol-level messages. They are not complete high-level SDKs: application features such as signing, provider behavior, transaction construction, and contract abstractions must be evaluated separately.
See Protocol Buffers and References for related documentation.