Skip to content

lunes-platform/lunes-nightly

Repository files navigation

Logo da Lunes

Welcome to Lunes Nightly!

A template for kick starting a Rust and Blockchain project using lunes.

We are thrilled to introduce the new generation of our blockchain, Lunes 2.0, or rather, Lunes Nightly. With improvements to our network and a fresh approach, we are further modernizing our infrastructure to build a blockchain where people can develop cutting-edge, scalable, and accessible Web3 solutions. We are constructing a user-friendly infrastructure that allows projects to start from scratch with low cost and high security.

Lunes Nightly is an exciting Rust-based blockchain project that aims to revolutionize the world of decentralized finance and autonomous governance. As a reference implementation for blockchain application development, Lunes Nightly provides a solid foundation for building innovative and scalable solutions.

The model we will adopt for blockchain development is the DAO, and its name is Lunes Labs DAO. We invite you, as a developer, to contribute and be part of our community on this great journey.

Odyssey

In a not-so-distant era, in the vast and mysterious universe of blockchain, a new adventure awaits fearless technology explorers. The call comes from Lunes Labs, an advanced interplanetary vessel destined to revolutionize how we understand and interact with Web3 and decentralized technologies.

Lunes Labs, with its crew of visionaries and pioneers, is on a mission to explore the boundaries of the digital universe, bringing new perspectives and opportunities.

We seek daring pioneers, tireless programmers, cryptography enthusiasts, and innovation adventurers to embark on our spacecraft and join us on this exciting journey.

In our mission, every explorer is invited to contribute their unique skills and knowledge to the development of the Lunes blockchain.

Crew members will have the opportunity to develop and enhance Web3 projects, catalyzing the revolution of the digital age.

We invite you to embark on Lunes Labs. Accept this invitation, and you will not only be part of a community but at the forefront of technological innovation. Onboard Lunes Labs, every member is an astronaut, exploring and illuminating the unknown stars of the blockchain.

Prepare for liftoff. We are traveling beyond familiar borders, to the unmapped territories of the digital universe. With Lunes Labs, the future of technology is in your hands. Come, join us, and be part of this thrilling odyssey. Welcome aboard, astronaut. Your place in Web3 history awaits!

  • To join the Lunes Labs DAO community on Discord, click here!

  • To learn more about the DAO proposal on GitBook, click here!

Lunes Nightly Release:

Testnet:

  • Pallets related to consensus: Babe & GRANDPA
  • Pallets related to staking: staking, session, authorship, im-online, offences, utility
  • Pallets related to governance: collective, membership, elections-phragmen, democracy, treasure

Roadmap:

Testnet:

  • Smartcontract implementation
  • EVM Smartcontract
  • Wallet Recovery
  • Token Creation
  • NFT Creation

Mainnet:

  • Pallets related to consensus: Babe & GRANDPA
  • Pallets related to staking: staking, session, authorship, im-online, offences, utility
  • Pallets related to governance: collective, membership, elections-phragmen, democracy, treasure
  • Smartcontract implementation
  • EVM Smartcontract
  • Wallet Recovery
  • Token Creation
  • NFT Creation
  • Fee Burning

Features:

  • Based on Rust: Leveraging the Rust programming language to provide a secure and efficient environment for blockchain development.
  • Robust consensus: Implementing Babe & GRANDPA consensus pallets, ensuring secure and reliable consensus.
  • Staking and governance: Staking-related pallets like staking, session, and authorship, as well as governance-related pallets including collective, membership, elections-phragmen, democracy, and treasure, are included to empower users to actively participate in network governance.
  • PoS Testnet: The template includes the minimal components needed to start a Proof-of-Stake (PoS) testnet, allowing developers to experiment and test their blockchain projects in a controlled environment.
  • Flexibility and customization: The Lunes Node is designed to be highly modular and configurable, allowing you to adapt the code to the unique needs of your project.

Note: It is important to emphasize that the provided code has not been audited and is not ready for use in a production environment. Therefore, we recommend using it for learning, testing, and experimentation purposes only.

If you are a blockchain enthusiast developer, we invite you to join us on this exciting journey. Contribute to the project, share your ideas, and help shape the future of blockchain technology. Together, we can build a vibrant and promising community.

Getting Started

Follow the steps below to get started.

Rust Setup

First, complete the Dev Docs Installation.

Build and Run

Use the following command to build the node and run it after build successfully:

cargo build --release
./target/release/lunes-node --dev

Run public testnet

  • Modify the genesis config in chain_spec.rs
  • Build spec, ./target/release/lunes-node build-spec --chain staging > lunes-staging.json
  • Change original spec to encoded raw spec, ./target/release/lunes-node build-spec --chain=lunes-staging.json --raw > lunes-staging-raw.json
  • Start your bootnodes, node key can be generate with command ./target/release/lunes-node key generate-node-key.
    ./target/release/lunes-node \
         --node-key <your-node-key> \
         --base-path /tmp/bootnode1 \
         --chain lunes-staging-raw.json \
         --name bootnode1
  • Start your initial validators,
    ./target/release/lunes-node \
        --base-path  /tmp/validator1 \
        --chain   lunes-staging-raw.json \
        --bootnodes  /ip4/<your-bootnode-ip>/tcp/30333/p2p/<your-bootnode-peerid> \
          --port 30336 \
          --ws-port 9947 \
          --rpc-port 9936 \
        --name  validator1 \
        --validator
  • Insert session keys
  • Attract enough validators from community in waiting
  • Call force_new_era in staking pallet with sudo, rotate to PoS validators
  • Enable governance, and remove sudo
  • Enable transfer and other functions

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published