# Demos Network Documentation > Technical documentation for the Demos Network - a borderless interconnectivity layer enabling seamless interoperability across various chains and web contexts. ## Docs - [Bridges](https://docs.kynesys.xyz/backend/bridges/overview.md): Backend bridge implementations for cross-chain asset transfers and liquidity aggregation. - [Rubic Bridge](https://docs.kynesys.xyz/backend/bridges/rubic-bridge.md): Rubic Brdige Service is located in the `src/features/bridges/rubic.ts` file - [Communications Stack](https://docs.kynesys.xyz/backend/communications-stack.md): Overview of the Demos Network peer-to-peer communication protocols and networking layer. - [Addressing Potential Criticisms](https://docs.kynesys.xyz/backend/consensus-mechanism/addressing-potential-criticisms.md): Responses to common concerns about PoR-BFT implementation complexity and node manipulation. - [Comparative Advantage](https://docs.kynesys.xyz/backend/consensus-mechanism/comparative-advantage.md): Comparison of PoR-BFT against PoW, PoS, PoA, and EVM-based consensus mechanisms. - [Conclusion](https://docs.kynesys.xyz/backend/consensus-mechanism/conclusion.md): As we continue to innovate in this rapidly evolving field, it is evident that the future of blockchain technology lies with frameworks like PoR-BFT. B... - [Decentralization In PoR-BFT](https://docs.kynesys.xyz/backend/consensus-mechanism/decentralization-in-por-bft.md): Node distribution, governance structure, and economic incentives that ensure true decentralization. - [Enhanced Security](https://docs.kynesys.xyz/backend/consensus-mechanism/enhanced-security.md): Byzantine Fault Tolerance and malicious node exclusion mechanisms in PoR-BFT. - [Consensus Mechanism](https://docs.kynesys.xyz/backend/consensus-mechanism/overview.md): The landscape of blockchain technology is poised for transformation to achieve widespread adoption and growth. Traditional consensus mechanisms fall s... - [Unparalleled Scalability](https://docs.kynesys.xyz/backend/consensus-mechanism/unparalleled-scalability.md): How PoR-BFT achieves high throughput through dynamic shard composition and parallel block validation. - [Installing Dependencies](https://docs.kynesys.xyz/backend/developers-testbed/installing-dependencies.md): Installing dependencies is handled entirely through **Bun**. - [Node Configuration](https://docs.kynesys.xyz/backend/developers-testbed/node-configuration.md): Demos nodes use a `.env` file and a few additional configuration files to provide a customizable and replicable setup. - [Developers Testbed](https://docs.kynesys.xyz/backend/developers-testbed/overview.md): This section explains how to launch a Demos node once you have access to the repository. - [Running The Node](https://docs.kynesys.xyz/backend/developers-testbed/running-the-node.md): If you made it this far, you're just one step away from running your very own Demos node! - [Setting Up The Environment](https://docs.kynesys.xyz/backend/developers-testbed/setting-up-the-environment.md): Running a Demos node requires **Bun**. - [Setting Up The Repository](https://docs.kynesys.xyz/backend/developers-testbed/setting-up-the-repository.md): The first step is to clone and set up the Demos node repository. - [Gcr Structure](https://docs.kynesys.xyz/backend/global-change-registry/gcr-structure.md): The following schema shows the internal database structure of the GCR. - [How Is Gcr Synced](https://docs.kynesys.xyz/backend/global-change-registry/how-is-gcr-synced.md): TODO - [Global Change Registry](https://docs.kynesys.xyz/backend/global-change-registry/overview.md): As the blockchain expands, storing all required information in each block to compute the current state of the blockchain becomes impractical. To addre... - [Cross Context Identities](https://docs.kynesys.xyz/backend/internal-mechanisms/cross-context-identities.md): Demos Network employs a variety of techniques for different chains and protocols, which is a core aspect of numerous Demos protocol mechanisms, includ... - [Network Time Synchronization](https://docs.kynesys.xyz/backend/internal-mechanisms/network-time-synchronization.md): As Demos network is strongly based on correct communication between nodes, the protocol's way to synchronize timestamps and to have a reliable network... - [Internal Mechanisms](https://docs.kynesys.xyz/backend/internal-mechanisms/overview.md): Explore the internal workings of the Demos Network including time synchronization and cross-context identities. - [How L2PS Transactions Are Handled](https://docs.kynesys.xyz/backend/l2ps-subnet-framework/how-are-l2ps-transactions-handled.md): Deep dive into L2PS transaction processing: encryption, validation, batch aggregation, and consensus integration. - [L2PS Subnet Framework](https://docs.kynesys.xyz/backend/l2ps-subnet-framework/overview.md): Layer 2 Privacy Subnets provide encrypted, private transactions on top of the public L1 blockchain with batch rollups and ZK proofs. - [L2PS Quick Start](https://docs.kynesys.xyz/backend/l2ps-subnet-framework/quickstart.md): Complete guide to set up and test L2PS (Layer 2 Privacy Subnets) with ZK proofs. - [Architecture](https://docs.kynesys.xyz/backend/mcp-server/architecture.md): The MCP server is integrated into the main node process following the same patterns as the signaling server: - [Available Tools](https://docs.kynesys.xyz/backend/mcp-server/available-tools.md): The MCP server automatically provides these tools when started with your node: - [Client Usage](https://docs.kynesys.xyz/backend/mcp-server/client-usage.md): The node starts the MCP server with SSE transport by default, making it accessible remotely: - [Configuration](https://docs.kynesys.xyz/backend/mcp-server/configuration.md): The MCP server is configured through environment variables in your `.env` file: - [Monitoring Endpoint](https://docs.kynesys.xyz/backend/mcp-server/monitoring-endpoint.md): The node provides a dedicated `/mcp` endpoint to check MCP server status: - [Overview](https://docs.kynesys.xyz/backend/mcp-server/overview.md): MCP (Model Context Protocol) is an open standard that allows AI assistants to connect to external data sources and tools. The Demos Network MCP integr... - [Troubleshooting](https://docs.kynesys.xyz/backend/mcp-server/troubleshooting.md): Enable debug logging for MCP operations: - [Backing Up And Restoring A Node](https://docs.kynesys.xyz/backend/miscellaneous/backing-up-and-restoring-a-node.md): The backup and restore feature can be used to reset the network (remove all blocks & transactions by deleting the database) without deleting GCR accou... - [Browsing The Postgres Db Via Psql](https://docs.kynesys.xyz/backend/miscellaneous/browsing-the-postgres-db-via-psql.md): Enter the `demosuser` password as `demospassword` and hit enter. - [Joining The Testnet Using A Custom Genesis](https://docs.kynesys.xyz/backend/miscellaneous/joining-the-testnet-using-a-custom-genesis.md): To add a node to a restored network, you'll need to replace the default genesis file with the genesis file of a peer already in the network. You can g... - [Miscellaneous](https://docs.kynesys.xyz/backend/miscellaneous/overview.md): Additional guides for database management, node backups, and testnet configuration. - [Storage Programs](https://docs.kynesys.xyz/backend/storage-programs/overview.md): Storage Programs are first-class key–value containers that live inside the Demos Network's Global Change Registry (GCR). This document describes how t... - [ZK API Reference](https://docs.kynesys.xyz/backend/zk-identity/api-reference.md): Transaction types and data structures for ZK Identity. - [ZK Identity Overview](https://docs.kynesys.xyz/backend/zk-identity/overview.md): Privacy-preserving identity attestation using zero-knowledge proofs and nullifiers. - [ZK Setup Guide](https://docs.kynesys.xyz/backend/zk-identity/setup.md): How to setup and generate ZK keys for the Identity System. - [Node Setup](https://docs.kynesys.xyz/cookbook/overview.md): Platform-specific guides for setting up and running a DEMOS Network node locally for development and testing. - [Project Setup](https://docs.kynesys.xyz/cookbook/project-setup/overview.md): Platform-specific guides for setting up and running a Demos Network node locally. - [Run The Project (macOS)](https://docs.kynesys.xyz/cookbook/project-setup/run-the-project-macos.md): Step-by-step guide to run a Demos Network node on macOS. - [Run The Project (Ubuntu)](https://docs.kynesys.xyz/cookbook/project-setup/run-the-project-ubuntu.md): Step-by-step guide to run a Demos Network node on Ubuntu Linux. - [Issue Troubleshooting](https://docs.kynesys.xyz/cookbook/project-setup/run-the-project-windows/issue-troubleshooting.md): Common issues and solutions when running the project on Windows - [Run the Project (Windows)](https://docs.kynesys.xyz/cookbook/project-setup/run-the-project-windows/overview.md): Setup and run the Demos node on Windows using WSL2 - [WSL 2 Setup](https://docs.kynesys.xyz/cookbook/project-setup/run-the-project-windows/wsl-2-setup.md): Step-by-step guide to install and configure WSL 2 on Windows 10 and 11 for Demos Network development. - [FAQ](https://docs.kynesys.xyz/faq.md): Frequently asked questions about the Demos Network, SDK, and getting started. - [Demos Providers Discovery Mechanism](https://docs.kynesys.xyz/frontend/demos-providers-discovery-mechanism.md): This mechanism allows for the discovery of multiple providers without race conditions. The injected providers communicate with the DApp through window... - [Demos Wallet Provider Api](https://docs.kynesys.xyz/frontend/demos-wallet-provider-api/overview.md): The injected provider exposes a small surface: - [Wallet Provider Api Methods](https://docs.kynesys.xyz/frontend/demos-wallet-provider-api/wallet-provider-api-methods.md): Call each via `provider.request({ method: '', params: [...] })` unless noted otherwise. - [Demos Network Architecture](https://docs.kynesys.xyz/introduction/demos-network-architecture.md): The Demos Network primarily consists of two main parts, divided into the repositories `sdks` and `node`. - [Introduction](https://docs.kynesys.xyz/introduction/overview.md): Welcome to the Demos Network technical documentation - a borderless interconnectivity layer enabling seamless interoperability across various chains and web contexts. - [Quick Start](https://docs.kynesys.xyz/introduction/quick-start.md): Get up and running with the DEMOS SDK in under 5 minutes. This tutorial walks you through installation, wallet setup, and your first blockchain queries. - [What Is Demos Network](https://docs.kynesys.xyz/introduction/what-is-demos-network.md): The Demos Network represents a groundbreaking advancement in blockchain technology, acting as a borderless interconnectivity layer that enables seamle... - [Bridges](https://docs.kynesys.xyz/sdk/bridges/overview.md): Cross-chain bridge integrations for transferring assets between blockchains. - [Rubic Bridge Test](https://docs.kynesys.xyz/sdk/bridges/rubic-bridge-test.md): How to use the tests for the RubicService in the `rubic.test.ts` file. - [Changelog](https://docs.kynesys.xyz/sdk/changelog.md): Track the latest updates, improvements, and new features in the DEMOS SDK. - [Base Operation](https://docs.kynesys.xyz/sdk/cookbook/demoswork/base-operation.md): The base operation allow you to group work steps and operations for execution without any additional logic. - [Conditional Operation](https://docs.kynesys.xyz/sdk/cookbook/demoswork/conditional-operation.md): There are two ways to go about creating a conditional operation. - [Creating Work Steps](https://docs.kynesys.xyz/sdk/cookbook/demoswork/creating-work-steps.md): You can create a web2 workstep to performa a `GET` request to `https://icanhazip.com` using the `prepareWeb2Step` function. - [Demoswork](https://docs.kynesys.xyz/sdk/cookbook/demoswork/overview.md): Learn how to create and manage work steps in the Demos network - [Signing And Broadcasting](https://docs.kynesys.xyz/sdk/cookbook/demoswork/signing-and-broadcasting.md): To convert a Demoswork object to a transaction, use the `prepareDemosWorkPayload` function. - [Evm Contract Write Transactions](https://docs.kynesys.xyz/sdk/cookbook/evm-contract-write-transactions.md): The `contract_write` operation enables interaction with smart contracts on EVM-compatible blockchains through the Demos Network. This functionality al... - [Code Examples](https://docs.kynesys.xyz/sdk/cookbook/overview.md): Practical examples and recipes for common SDK use cases including storage programs, transactions, and swaps. - [Examples](https://docs.kynesys.xyz/sdk/cookbook/storage-programs/examples.md): Real-world implementations and practical patterns for Storage Programs. - [Storage Programs](https://docs.kynesys.xyz/sdk/cookbook/storage-programs/overview.md): Practical patterns that show how to combine the Storage Program SDK primitives in real-world applications. - [Crosschain Swap](https://docs.kynesys.xyz/sdk/cookbook/swap/crosschain-swap.md): After connecting the wallet you need to create a Rubic Service instance - [Swap](https://docs.kynesys.xyz/sdk/cookbook/swap/overview.md): Learn how to perform cross-chain token swaps using the Demos SDK. - [Crosschain Transaction](https://docs.kynesys.xyz/sdk/cookbook/transactions/crosschain-transaction.md): You can perform a crosschain transaction via the DEMOS network with the help of the DEMOS sdk. - [Native Transactions](https://docs.kynesys.xyz/sdk/cookbook/transactions/native-transactions.md): You can send DEM using the Demos sdk as shown below: - [Transactions](https://docs.kynesys.xyz/sdk/cookbook/transactions/overview.md): Learn about transaction types and patterns in the Demos network - [Aptos](https://docs.kynesys.xyz/sdk/cross-chain/aptos.md): The Aptos blockchain uses the Move programming language and provides a powerful environment for smart contracts and decentralized applications. The De... - [Btc](https://docs.kynesys.xyz/sdk/cross-chain/btc.md): The Bitcoin SDK provides an interface to interact with Bitcoin blockchains using SegWit (P2WPKH) transactions. It supports wallet connectivity, transa... - [Evm](https://docs.kynesys.xyz/sdk/cross-chain/evm.md): The Ethereum Virtual Machine (EVM) is the runtime environment for smart contracts in Ethereum. It's a fundamental part of the Ethereum network and is ... - [General Layout Of The Xm Sdks](https://docs.kynesys.xyz/sdk/cross-chain/general-layout-of-the-xm-sdks.md): All the crosschain SDKs share the same interface, with a few blockchain-specific methods occuring on some SDKS. - [Ibc](https://docs.kynesys.xyz/sdk/cross-chain/ibc.md): Inter-Blockchain Communication Protocol (IBC) is a blockchain interoperability protocol used by 110+ chains. It enables secure, permissionless, featur... - [Identities](https://docs.kynesys.xyz/sdk/cross-chain/identities.md): You can associate a crosschain identity with a DEMOS address by creating a signature using your private key and sending it to the DEMOS network. - [Multiversx Egld](https://docs.kynesys.xyz/sdk/cross-chain/multiversx-egld.md): MultiversX (formerly Elrond) is a highly scalable, fast, and secure blockchain platform for distributed apps, enterprise use cases, and the new intern... - [Near](https://docs.kynesys.xyz/sdk/cross-chain/near.md): NEAR is a user-friendly, scalable layer-1 blockchain platform that uses a sharded proof-of-stake consensus mechanism. It features human-readable accou... - [Cross Chain](https://docs.kynesys.xyz/sdk/cross-chain/overview.md): The cross chain (XM) SDKs help you create payloads to interact with other blockchains from DEMOS. These SDKs are divided into 2: - [Solana](https://docs.kynesys.xyz/sdk/cross-chain/solana.md): Solana runs on the following core concepts: - [Ten](https://docs.kynesys.xyz/sdk/cross-chain/ten.md): Incoming ...! - [The Xmscript](https://docs.kynesys.xyz/sdk/cross-chain/the-xmscript.md): The `XMScript` is a JSON script that dictates how a cross chain should be broadcasted to another blockchain from a DEMOS node. - [Ton](https://docs.kynesys.xyz/sdk/cross-chain/ton.md): The Open Network (TON) is a decentralized and open internet, created by the community using a technology designed by Telegram. - [Unstoppable Domains](https://docs.kynesys.xyz/sdk/cross-chain/unstoppable-domains.md): Unstoppable Domains(UD) provides user-owned, blockchain-based domain names that serve as universal digital identities for the decentralized web. You can link your Web3 unstoppable domain as an identity using the Demos SDK by following this guide. - [Xrpl](https://docs.kynesys.xyz/sdk/cross-chain/xrpl.md): The XRP Ledger is a decentralized cryptographic ledger powered by a network of peer-to-peer servers. It is fast, energy efficient, and reliable, with ... - [Demoswork](https://docs.kynesys.xyz/sdk/demoswork.md): DemosWork is a module that helps you create a script (DemosScript) that can be executed on the omniweb. - [Getting Started](https://docs.kynesys.xyz/sdk/getting-started.md): Install the latest version of the SDK with: - [Post Quantum Cryptography](https://docs.kynesys.xyz/sdk/post-quantum-cryptography.md): Demos support use of the following Quantum safe signing algorithms for transaction and transmission signing: - [Access Control](https://docs.kynesys.xyz/sdk/storage-programs/access-control.md): Master the permission system for Storage Programs with flexible access control modes. - [Api Reference](https://docs.kynesys.xyz/sdk/storage-programs/api-reference.md): Complete API reference for Storage Programs on Demos Network. - [Getting Started](https://docs.kynesys.xyz/sdk/storage-programs/getting-started.md): This guide will walk you through creating your first Storage Program on Demos Network. - [Operations](https://docs.kynesys.xyz/sdk/storage-programs/operations.md): This guide explains how each Storage Program operation fits into an end-to-end workflow. For method signatures, payload schemas, and error codes, rely... - [Storage Programs](https://docs.kynesys.xyz/sdk/storage-programs/overview.md): Storage Programs are a powerful key-value storage solution built into the Demos Network, providing developers with decentralized, persistent data stor... - [Rpc Queries](https://docs.kynesys.xyz/sdk/storage-programs/rpc-queries.md): Learn how to efficiently read data from Storage Programs using RPC queries. - [Utilities](https://docs.kynesys.xyz/sdk/utilities.md): Helper functions and utility methods available in the Demos SDK. - [Dahr Api Reference](https://docs.kynesys.xyz/sdk/web2/dahr-api-reference/overview.md): The DAHR (Data Agnostic HTTPS Relay) class handles proxied HTTP requests with attestation. Each instance maintains its own session and provides attest... - [Types](https://docs.kynesys.xyz/sdk/web2/dahr-api-reference/types.md): The Web2 proxy supports standard HTTP methods through the `Web2Method` type: - [Discord](https://docs.kynesys.xyz/sdk/web2/identities/discord.md): You can associate your Discord account with your DEMOS address using OAuth or message-based verification. - [Github](https://docs.kynesys.xyz/sdk/web2/identities/github.md): You can associate your GitHub account with your DEMOS address using OAuth or gist-based verification. - [Identities](https://docs.kynesys.xyz/sdk/web2/identities/overview.md): You can associate your web2 account to your DEMOS using the DEMOS sdk. - [Telegram](https://docs.kynesys.xyz/sdk/web2/identities/telegram.md): You can associate your Telegram account with your DEMOS address by following these steps. This page provides two integration styles: - [Twitter](https://docs.kynesys.xyz/sdk/web2/identities/twitter.md): You can associate your Twitter account with your DEMOS address by following these steps: - [Key Server OAuth](https://docs.kynesys.xyz/sdk/web2/keyserver-oauth.md): Verify user ownership of GitHub and Discord accounts with DAHR attestation using the KeyServerClient. - [Making Requests](https://docs.kynesys.xyz/sdk/web2/making-requests.md): How to make GET and POST requests with custom headers using the DAHR proxy. - [Web2](https://docs.kynesys.xyz/sdk/web2/overview.md): The Web2 proxy system allows you to make HTTP requests through the Demos network. Requests are verified by a network of attestation nodes, ensuring da... - [Quick Start](https://docs.kynesys.xyz/sdk/web2/quick-start.md): The Web2 proxy system enables HTTP requests through the Demos network, providing privacy and attestation capabilities through DAHR (Data Agnostic HTTP... - [TLSNotary API Reference](https://docs.kynesys.xyz/sdk/web2/tlsnotary/api-reference.md): API reference for TLSNotary cryptographic attestation in the Demos SDK - [Build a TLSNotary Webapp](https://docs.kynesys.xyz/sdk/web2/tlsnotary/build-tlsnotary-webapp.md): Step-by-step tutorial to build a browser-based TLSNotary attestation application - [Integrate TLSNotary (Any Framework)](https://docs.kynesys.xyz/sdk/web2/tlsnotary/iframe-integration.md): Use TLSNotary from Vite, Next.js, SvelteKit, or any non-webpack framework via a lightweight iframe client. Zero WASM configuration required. - [TLSNotary](https://docs.kynesys.xyz/sdk/web2/tlsnotary/overview.md): Cryptographic attestation for sensitive web data using TLS session proofs. TLSNotary provides verifiable proofs of web content without revealing the full response to the network. - [TLSNotary Use Cases](https://docs.kynesys.xyz/sdk/web2/tlsnotary/use-cases.md): Common use cases for TLSNotary cryptographic attestation - [Fido2 Passkeys](https://docs.kynesys.xyz/sdk/websdk/authentication/fido2-passkeys/overview.md): The Demos SDK offers secure methods to generate or recover private keys using a FIDO2 hardware key, which are then usable across the entire Demos netw... - [Under The Hood Fido2 Passkeys](https://docs.kynesys.xyz/sdk/websdk/authentication/fido2-passkeys/under-the-hood.md): This chapter provides a detailed explanation of how `hmywallet`, along with its Demos wrapper, securely leverages a FIDO2 device to accurately derive ... - [Authentication](https://docs.kynesys.xyz/sdk/websdk/authentication/overview.md): To get started with the Demos sdk, you need to create master seed for your wallet. The master seed is a 12 or 24 word mnemonic that can be used to rec... - [Api Reference](https://docs.kynesys.xyz/sdk/websdk/instant-messaging/api-reference.md): The `MessagingPeer` class is the core component of the Instant Messaging Protocol. It handles connection to the signaling server, peer discovery, mess... - [Architecture Overview](https://docs.kynesys.xyz/sdk/websdk/instant-messaging/architecture-overview.md): The Instant Messaging Protocol consists of three main components: - [Encryption](https://docs.kynesys.xyz/sdk/websdk/instant-messaging/encryption.md): The Instant Messaging Protocol uses ml-kem-aes for secure communication: - [Faq](https://docs.kynesys.xyz/sdk/websdk/instant-messaging/faq.md): The Instant Messaging Protocol is a secure, efficient, and scalable protocol for building real-time messaging applications on the Demos network. It pr... - [Message Types](https://docs.kynesys.xyz/sdk/websdk/instant-messaging/message-types.md): The Instant Messaging Protocol supports various message types: - [Instant Messaging](https://docs.kynesys.xyz/sdk/websdk/instant-messaging/overview.md): This chapter will cover the basics of using E2E Post-Quantum messaging capabilities through the Demos SDK. - [Quickstart](https://docs.kynesys.xyz/sdk/websdk/instant-messaging/quickstart.md): Core Concepts - [What Is The Instant Messaging Protocol](https://docs.kynesys.xyz/sdk/websdk/instant-messaging/what-is-the-instant-messaging-protocol.md): The Instant Messaging Protocol is a robust, secure, and flexible framework for building peer-to-peer messaging applications. It provides a complete so... - [Nodecalls](https://docs.kynesys.xyz/sdk/websdk/nodecalls.md): In DEMOS, a NodeCall is a request that reads the blockchain state. NodeCall methods on the WebSDK are denoted by the "get" prefix. eg. `getLastBlockNu... - [WebSDK](https://docs.kynesys.xyz/sdk/websdk/overview.md): The DEMOS WebSDK is a collection of tools that help you communicate with a DEMOS node. - [Broadcasting A Transaction](https://docs.kynesys.xyz/sdk/websdk/transactions/broadcasting-a-transaction.md): The DEMOS transaction broadcasting system works as a 2 step process. - [Creating A Transaction](https://docs.kynesys.xyz/sdk/websdk/transactions/creating-a-transaction.md): A DEMOS crosschain transcation contains instructions to execute a signed payload for [supported blockchains](../../cross-chain/#supported-blockchains)... - [Transactions](https://docs.kynesys.xyz/sdk/websdk/transactions/overview.md): There are 4 types of transactions in DEMOS. - [Signing A Transaction](https://docs.kynesys.xyz/sdk/websdk/transactions/signing-a-transaction.md): To sign a transaction, you need to connect your master seed to a `Demos` instance. ## OpenAPI Specs - [openapi](https://docs.kynesys.xyz/api-reference/openapi.json) ## Optional - [API Reference](https://kynesyslabs.github.io/demosdk-api-ref/index.html) - [Discord](https://discord.gg/SdRqbKEcEJ) - [Status](https://status.demos.sh/) - [Explorer](https://explorer.demos.sh)