{"name":"Linera Protocol: Scalable Decentralized Blockchain Infrastructure","description":"Linera Protocol is a cutting-edge decentralized blockchain infrastructure designed for highly scalable, secure, and low-latency Web3 applications. Built primarily with Rust and leveraging WebAssembly, it provides a robust framework for developing next-generation decentralized applications. With a strong focus on performance, Linera aims to address common scalability challenges in the blockchain space.","github":"https://github.com/linera-io/linera-protocol","url":"https://osrepos.com/repo/linera-io-linera-protocol","source":"osrepos.com","sourceDescription":"This repository profile is provided by osrepos.com, an open source repository discovery platform.","repositoryProfile":"https://osrepos.com/repo/linera-io-linera-protocol","generatedFor":"open source discovery and AI-assisted research","markdown":"https://osrepos.com/repo/linera-io-linera-protocol.md","json":"https://osrepos.com/repo/linera-io-linera-protocol.json","topics":["blockchain","rust","wasm","Web3","decentralized","scalability","protocol"],"keywords":["blockchain","rust","wasm","Web3","decentralized","scalability","protocol"],"stars":null,"summary":"Linera Protocol is a cutting-edge decentralized blockchain infrastructure designed for highly scalable, secure, and low-latency Web3 applications. Built primarily with Rust and leveraging WebAssembly, it provides a robust framework for developing next-generation decentralized applications. With a strong focus on performance, Linera aims to address common scalability challenges in the blockchain space.","content":"## Introduction\n\nThe `linera-protocol` repository houses the core components of Linera, a cutting-edge decentralized blockchain infrastructure. Designed for highly scalable, secure, and low-latency Web3 applications, Linera aims to redefine the capabilities of decentralized systems. Leveraging Rust and WebAssembly (Wasm), it offers a robust and performant environment for decentralized application development. With over 31,000 stars on GitHub, it's a project gaining significant traction in the blockchain community. For a deeper dive, explore their [developer page](https://linera.dev) and [whitepaper](https://linera.io/whitepaper).\n\n## Installation\n\nTo get started with Linera Protocol, you'll need to set up your development environment. Refer to the official [`INSTALL.md`](https://github.com/linera-io/linera-protocol/blob/main/INSTALL.md) guide within the repository for detailed software requirements. Once prerequisites are met, you can quickly set up a local test network using the Linera CLI tool:\n\nbash\n# Make sure to compile the Linera binaries and add them in the $PATH.\n# cargo build -p linera-storage-service -p linera-service --bins\nexport PATH=\"$PWD/target/debug:$PATH\"\n\n# Import the optional helper function `linera_spawn`.\nsource /dev/stdin <<<\"$(linera net helper 2>/dev/null)\"\n\n# Run a local test network with the default parameters and a number of microchains\n# owned by the default wallet. This also defines `LINERA_TMP_DIR`.\nlinera_spawn \\\nlinera net up --with-faucet --faucet-port 8080\n\n# Remember the URL of the faucet.\nFAUCET_URL=http://localhost:8080\n\n# If you're using a testnet, start here and run this instead:\n#   LINERA_TMP_DIR=$(mktemp -d)\n#   FAUCET_URL=https://faucet.testnet-XXX.linera.net  # for some value XXX\n\n# Set the path of the future wallet.\nexport LINERA_WALLET=\"$LINERA_TMP_DIR/wallet.json\"\nexport LINERA_KEYSTORE=\"$LINERA_TMP_DIR/keystore.json\"\nexport LINERA_STORAGE=\"rocksdb:$LINERA_TMP_DIR/client.db\"\n\n# Initialize a new user wallet.\nlinera wallet init --faucet $FAUCET_URL\n\n# Request chains.\nINFO1=($(linera wallet request-chain --faucet $FAUCET_URL))\nINFO2=($(linera wallet request-chain --faucet $FAUCET_URL))\nCHAIN1=\"${INFO1[0]}\"\nACCOUNT1=\"${INFO1[1]}\"\nCHAIN2=\"${INFO2[0]}\"\nACCOUNT2=\"${INFO2[1]}\"\n\n# Show the different chains tracked by the wallet.\nlinera wallet show\n\n# Query the chain balance of some of the chains.\nlinera query-balance \"$CHAIN1\"\nlinera query-balance \"$CHAIN2\"\n\n# Transfer 10 units then 5 back.\nlinera transfer 10 --from \"$CHAIN1\" --to \"$CHAIN2\"\nlinera transfer 5 --from \"$CHAIN2\" --to \"$CHAIN1\"\n\n# Query balances again.\nlinera query-balance \"$CHAIN1\"\nlinera query-balance \"$CHAIN2\"\n\n# Now let's fund the user balances.\nlinera transfer 5 --from \"$CHAIN1\" --to \"$CHAIN1:$ACCOUNT1\"\nlinera transfer 2 --from \"$CHAIN1:$ACCOUNT1\" --to \"$CHAIN2:$ACCOUNT2\"\n\n# Query user balances again.\nlinera query-balance \"$CHAIN1:$ACCOUNT1\"\nlinera query-balance \"$CHAIN2:$ACCOUNT2\"\n\n\nThese commands will help you compile the necessary binaries, set up a local test network, and initialize a wallet to perform transfers between microchains.\n\n## Examples\n\nThe `linera-protocol` repository includes a comprehensive quickstart guide to demonstrate its core functionalities. The provided example walks you through setting up a local Linera network, initializing a user wallet, requesting new chains, and performing token transfers. You can observe how to query chain balances and manage user accounts, showcasing the protocol's basic operations. For more complex use cases and application examples, refer to the [`examples` directory](https://github.com/linera-io/linera-protocol/tree/main/examples) in the repository and the [developer manual](https://linera.dev).\n\n## Why Use Linera Protocol\n\nLinera Protocol stands out as a powerful solution for developers building decentralized applications that demand high performance and scalability. Its architecture is specifically designed to handle a large volume of transactions with low latency, making it suitable for demanding Web3 use cases. The use of Rust ensures memory safety and performance, while Wasm support allows for flexible and secure smart contract execution. Its decentralized nature and focus on security provide a trustworthy foundation for innovative blockchain applications.\n\n## Links\n\n*   **GitHub Repository:** [linera-io/linera-protocol](https://github.com/linera-io/linera-protocol)\n*   **Developer Page:** [linera.dev](https://linera.dev)\n*   **Whitepaper:** [linera.io/whitepaper](https://linera.io/whitepaper)\n*   **Discord:** [discord.com/invite/linera](https://discord.com/invite/linera)\n*   **Twitter:** [x.com/linera_io](https://x.com/linera_io)","metrics":{"detailViews":4,"githubClicks":14},"dates":{"published":null,"modified":"2025-12-05T20:00:38.000Z"}}