DecentralChainDecentralChain
  • Technologysubmenu
    Why DecentralChainWhat sets this chain apartHow the chain worksPublic blocks, public validatorsBlockchain featuresWhat is on, what is being voted onFinalityThe rollback bound, and what is unverifiedRIDEContracts that cannot run foreverFor machinesUnsigned transactions and RIDE in processSolana bridgePhantom and Solflare, mainnet onlyNetwork statusHeight, sync and peers, read live
  • Ecosystemsubmenu
    DCC public saleOpens 26 SeptemberDecentralCoinSupply, allocation and tokenomicsDecentral.ExchangeexternalDecentralPropDecentralScansoonCubensis ConnectDecentralAmericasoon
  • Developerssubmenu
    QuickstartRead, compile and composeREST APIEvery endpoint, no key, no accountSDK packages19 on npm, 5 in the workspaceSigningAuthorising without custodyMCP & AgentsThe chain, and the tools we have builtDecentralChain NodeRun a validator, and what LPoS pays
  • Communitysubmenu
    ChannelsTelegram, X and the reposDCC AirdropAllocated, not yet arrangedGovernanceWho can actually decide anythingBrand kitThe mark, and how to use it
  • Documentation
XGitHub
Start buildingarrow
DecentralChainDecentralChain

An open Layer-1 with Leased Proof of Stake.

Native token: DecentralCoin (DCC)

Fixed supply 100,000,000 DCC
Minted at genesis, never inflated

  • X
  • GitHub
  • Telegram

Build

  • Quickstart
  • REST API
  • SDK packages
  • Signing
  • MCP & Agents
  • Documentation

Ecosystem

  • DCC public sale
  • DecentralCoin
  • Decentral.Exchange
  • DecentralProp
  • DecentralSwap
  • Cubensis Connect

Network

  • Blockchain features
  • Finality
  • RIDE
  • Solana bridge
  • Run a node
  • Network status

Project

  • Community
  • DCC Airdrop
  • Governance
  • Brand kit
  • GitHub
mainnetHeight—Node—read from your browser
© 2026 DecentralChainOperated by DecentralExchange · Cédula Jurídica 3-102-956858
Jacó, Garabito, Costa Rica
TermsPrivacySecurityLicensingdecentralchain.io

SDK packages

Every package,
and where it lives

Twenty-four TypeScript packages, nineteen of them published under the @decentralchain scope and five that live in the monorepo workspace. Knowing which is which saves a confusing half hour: an example written from inside the repository can import a workspace package, and the same line run outside it resolves to nothing.
On npm19In the workspace5Scope@decentralchain

On this page

  • Published to npm
  • Internal to the monorepo
  • JVM libraries
  • Where to start

Published to npm

npm
npm i @decentralchain/transactions @decentralchain/ts-lib-crypto
@decentralchain/transactions5.0.0Build, sign and serialise every transaction type.
@decentralchain/ts-lib-crypto2.0.0Keys, addresses, signatures, base58. The cryptographic floor.
@decentralchain/crypto1.0.1Hashing and signing primitives.
@decentralchain/marshall0.14.0Binary serialisation for the wire format.
@decentralchain/bignumber1.2.0Fixed-point arithmetic for amounts. Do not use floats for balances.
@decentralchain/data-entities3.0.0Typed money, assets and pairs.
@decentralchain/signature-adapter6.1.7One interface over seed, Ledger and extension signers.
@decentralchain/signer1.1.0-betaHigher-level signing client. Beta, and versioned as such.
@decentralchain/ledger5.1.0Ledger hardware transport.
@decentralchain/ride2.3.1RIDE tooling.
@decentralchain/ride-lang1.6.2The RIDE compiler, Scala.js-compiled, runs in a browser.
@decentralchain/ride-repl1.6.2A RIDE REPL, also browser-capable.
@decentralchain/oracle-data1.0.0Reading oracle entries from account data.
@decentralchain/browser-bus1.0.0Message passing between page and extension.
@decentralchain/assets-pairs-order4.0.0Canonical ordering for asset pairs.
@decentralchain/parse-json-bignumber2.0.0JSON parsing that does not lose precision on large integers.
@decentralchain/money-like-to-node1.0.0Amount conversion for node payloads.
@decentralchain/cubensis-connect-provider1.0.0Talk to the Cubensis Connect extension.
@decentralchain/cubensis-connect-types1.0.0Types for the above.

Internal to the monorepo

Careful
These five resolve through the workspace. They are internal to the monorepo and have no registry entry, so a snippet that imports one was written from inside the repository. Reach for the published equivalent, or the REST API underneath it.

@decentralchain/types

Shared TypeScript types.

@decentralchain/protobuf-schemas

Generated protobuf definitions.

@decentralchain/node-api

A typed node client.

@decentralchain/data-service-client

Client for the internal data service.

@dcc-amm/sdk

AMM helper. Reads over fetch and returns unsigned InvokeScriptTx objects.

Nothing on the published list depends on one of these at runtime, so the nineteen stand on their own. Declare your own types where @decentralchain/types would have supplied them.

JVM libraries

Published to Maven Central under the io.decentralchain group.

io.decentralchain:java-sdk

JVM client for the chain.

io.decentralchain:transactions

Transaction building on the JVM.

io.decentralchain:curve25519

Ed25519 and Curve25519.

io.decentralchain:blst

BLS12-381 pairing.

io.decentralchain:groth16

Groth16 ZK-SNARK verification.

io.decentralchain:lang_3

The RIDE language, and lang-testkit_3 alongside it.

Where to start

To read the chain you need nothing at all: the REST API answers a plain fetch. Reach for the packages when you start building transactions, at which point transactions and ts-lib-crypto are the two that matter, and bignumber the moment you handle an amount.

Note
Use bignumber for balances. Balances come back in dcclets, and the full supply expressed that way is larger than JavaScript's safe integer range. Holding an amount in a plain number is the most common way to get a figure wrong against this chain.

Next

@decentralchain on npm

The published packages, their versions and their release history.