DecentralChain
DecentralChain
Technology
submenu
Why DecentralChain
What sets this chain apart
How the chain works
Public blocks, public validators
Blockchain features
What is on, what is being voted on
Finality
The rollback bound, and what is unverified
RIDE
Contracts that cannot run forever
For machines
Unsigned transactions and RIDE in process
Solana bridge
Phantom and Solflare, mainnet only
Network status
Height, sync and peers, read live
Ecosystem
submenu
DCC public sale
Opens 26 September
DecentralCoin
Supply, allocation and tokenomics
Decentral.Exchange
external
DecentralProp
DecentralScan
soon
Cubensis Connect
DecentralAmerica
soon
Developers
submenu
Quickstart
Read, compile and compose
REST API
Every endpoint, no key, no account
SDK packages
19 on npm, 5 in the workspace
Signing
Authorising without custody
MCP & Agents
The chain, and the tools we have built
DecentralChain Node
Run a validator, and what LPoS pays
Community
submenu
Channels
Telegram, X and the repos
DCC Airdrop
Allocated, not yet arranged
Governance
Who can actually decide anything
Brand kit
The mark, and how to use it
Documentation
X
GitHub
Start building
arrow
Menu
Manual
RIDE language
7 sections of the DecentralChain manual, converted from the source in the docs repository.
Sections
7
Syntax Basics
arrow
Every Ride script should start with directives for the compiler. The directives define the script format and available functions, structures and…
Data Types
arrow
For each value, depending on the data type, the weight is determined. The weight is used in limitations on creating and comparing values. For more…
Functions
arrow
Functions in Ride are declared with func, function must be declared above the place of its usage. When declaring a function to the right of the "=" sign…
Script Types
arrow
There are three types of scripts: Features of each script type are described in the table. dApp script enables you to define callable functions that can…
Structures
arrow
All structures in Ride are built-in — you cannot create your own structures. All structures have constructors. Let's see an example of a code that creates…
Iterations with FOLD<N>
arrow
FOLD<N> macro makes it possible to implement operations on a list of values such as sum, filter, map, zip, exists, etc. The macro behaves like the fold or…
dApp-to-App Invocation
arrow
A dApp callable function can invoke a callable function of another dApp, or another callable function of the same dApp, or even itself. The invocation is…
Elsewhere on this site
RIDE on DecentralChain
arrow
What the language guarantees, and why a script is priced before it deploys.
SDK packages
arrow
The compiler and the SDKs, published to npm and runnable in a browser.