Skip to main content

Quick Start

This guide will have you connected to the DEMOS Network and querying the blockchain in just a few minutes.
1

Install the SDK

Add the DEMOS SDK to your project using bun (recommended):
For browser environments, you’ll need Buffer polyfills. See Getting Started for Vite configuration.
2

Create a Wallet

Generate a new wallet with a mnemonic seed phrase:
Security: Never share your mnemonic. Store it securely - it controls access to all your keys.
3

Connect to the Network

Connect to a DEMOS RPC node:
4

Query the Blockchain

Now you can read data from the blockchain:
5

Sign a Message

Test your wallet by signing and verifying a message:

Complete Example

Here’s the full code to copy and run:

Next Steps

Create Transactions

Learn how to create and broadcast transactions

Cross-Chain Operations

Execute transactions on other blockchains via DEMOS

Node Calls Reference

Explore all available blockchain queries

Authentication Deep Dive

Learn about PQC algorithms and advanced key management