Elegrica

Developer Documentation

Comprehensive guides and references for building with Elegrica's decentralized infrastructure platform.

Get Started ➔
Getting Started API Reference Tutorials FAQ

Getting Started

1. Install SDK

npm install @elegrica/core @elegrica/crypto

Install our core SDK and cryptographic libraries to start building.

2. Initialize Project

npx elegrica init my-dapp

Create a new project with our CLI tool that sets up a modern development environment.

API Reference

Consensus Engine

  • consensus.verify()
  • consensus.finalize()
  • consensus.rollback()

Validator Network

  • validator.delegate()
  • validator.withdraw()
  • validator.rotateKeys()

Tutorials

10-Minute DApp

Learn how to build and deploy your first decentralized application using Elegrica's framework.

View Tutorial ➔

Consensus Simulation

Step-by-step guide to creating a custom consensus protocol for testnets.

View Tutorial ➔

Frequently Asked Questions

Do I need cryptocurrency to get started?

No - our development tools are free to use. Mainnet operations require native tokens for transaction fees.

Which blockchains does Elegrica support?

Ethereum, Solana, Polkadot, and our own Layer-1 protocol. We also support cross-chain bridges.