Skip to content

A Substrate-based smart contract network supporting Wasm and EVM, based in Cambodia, tailored for developers and enterprise adoption.

License

Notifications You must be signed in to change notification settings

rithythul/selendra

 
 

Repository files navigation

🙋‍♀️ Selendra Network

Overview

Selendra Network is an EVM-compatible Layer 1 blockchain built on Substrate with AlephBFT consensus for finality and a Proof-of-Stake security model. Selendra aims to serve both business and general users across multiple use cases, with particular focus on DeFi, Real World Assets (RWA), Loyalty programs, and Privacy features.

Key Features

  • Hybrid Consensus: Combines Aura for block production with Aleph for finality
  • Dual VM Support: Compatible with both EVM and WebAssembly
  • Enterprise Focus: Built-in identity, committee management, and recovery systems
  • Fast Finality: 1-second block time with quick transaction finality
  • Economic Model: Dynamic fee adjustment and multi-tiered token system

Codebase Structure

The Selendra Network codebase follows the typical Substrate node architecture:

selendra/
├── node/ # Selendra node implementation
├── runtime/ # Runtime logic and pallets
├── pallets/ # Custom pallets
│ ├── staking/ # PoS staking logic
│ ├── evm/ # Ethereum Virtual Machine integration
│ └── privacy/ # Privacy features implementation
├── primitives/ # Core types and traits
├── client/ # Client implementation
└── scripts/ # Utility scripts

Getting Started

Prerequisites

  • Rust and Cargo (latest stable)
  • LLVM and Clang
  • Additional development libraries

Installation Steps

  1. Install Rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  1. Initialize your Rust environment:
source $HOME/.cargo/env
  1. Add Wasm target:
rustup target add wasm32-unknown-unknown
  1. Clone the repository:
git clone https://github.com/selendra/selendra.git
cd selendra
  1. Build the node:
cargo build --release
  1. Run the node:
./target/release/selendra-node --dev

Running a Selendra RPC Node

For running a production RPC node, Selendra provides an automated setup script:

# Download with wget
wget https://github.com/selendra/selendra-rpc/raw/main/selendra-rpc-setup.sh -O selendra-rpc-setup.sh

# Make it executable
chmod +x selendra-rpc-setup.sh

# Run with sudo
sudo ./selendra-rpc-setup.sh

For more information, see our RPC node documentation.

Development Resources

Contributing

We welcome contributions to Selendra Network! Please feel free to submit issues and pull requests.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Acknowledgements

We are grateful and would like to thank the following projects and individuals for their contributions to open source knowledge and so our team could build Selendra Network:

License

Selendra Network is released under the GPL-3.0 License.

Built with ❤️ for a decentralized future.

About

A Substrate-based smart contract network supporting Wasm and EVM, based in Cambodia, tailored for developers and enterprise adoption.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.3%
  • Other 0.7%