[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-1996":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":22,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":16,"starSnapshotCount":16,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},1996,"linera-protocol","linera-io\u002Flinera-protocol","linera-io","Main repository for the Linera protocol","",null,"Rust",32098,2354,191,596,0,1,45,"Apache License 2.0",false,"main",true,[24,25,26],"blockchain","rust","wasm","2026-06-12 02:00:35","# \u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Flinera-io\u002Flinera-protocol\u002Fassets\u002F1105398\u002Ffe08c941-93af-4114-bb83-bcc0eaec95f9\" width=\"250\" height=\"85\" \u002F>\n\n[![License](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002Flinera-io\u002Flinera-protocol)](LICENSE)\n[![Build Status for Docker](https:\u002F\u002Fgithub.com\u002Flinera-io\u002Flinera-protocol\u002Factions\u002Fworkflows\u002Fdocker-compose.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Flinera-io\u002Flinera-protocol\u002Factions\u002Fworkflows\u002Fdocker-compose.yml)\n[![Build Status for Rust](https:\u002F\u002Fgithub.com\u002Flinera-io\u002Flinera-protocol\u002Factions\u002Fworkflows\u002Frust.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Flinera-io\u002Flinera-protocol\u002Factions\u002Fworkflows\u002Frust.yml)\n[![Build Status for Documentation](https:\u002F\u002Fgithub.com\u002Flinera-io\u002Flinera-protocol\u002Factions\u002Fworkflows\u002Fdocumentation.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Flinera-io\u002Flinera-protocol\u002Factions\u002Fworkflows\u002Fdocumentation.yml)\n[![Twitter](https:\u002F\u002Fimg.shields.io\u002Ftwitter\u002Ffollow\u002Flinera_io)](https:\u002F\u002Fx.com\u002Flinera_io)\n[![Discord](https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F984941796272521226)](https:\u002F\u002Fdiscord.com\u002Finvite\u002Flinera)\n\n\u003C!-- [![Build Status for Kubernetes](https:\u002F\u002Fgithub.com\u002Flinera-io\u002Flinera-protocol\u002Factions\u002Fworkflows\u002Fkubernetes.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Flinera-io\u002Flinera-protocol\u002Factions\u002Fworkflows\u002Fkubernetes.yml) -->\n\n[Linera](https:\u002F\u002Flinera.io) is a decentralized blockchain infrastructure designed for highly scalable,\nsecure, low-latency Web3 applications.\n\n## Documentation\n\nVisit our [developer page](https:\u002F\u002Flinera.dev) and read our\n[whitepaper](https:\u002F\u002Flinera.io\u002Fwhitepaper) to learn more about the Linera protocol.\n\n## Repository Structure\n\nThe main crates and directories of this repository can be summarized as follows: (listed\nfrom low to high levels in the dependency graph)\n\n* [`linera-base`](https:\u002F\u002Flinera-io.github.io\u002Flinera-protocol\u002Flinera_base\u002Findex.html) Base\n  definitions, including cryptography.\n\n* [`linera-version`](https:\u002F\u002Flinera-io.github.io\u002Flinera-protocol\u002Flinera_version\u002Findex.html)\n  A library to manage version info in binaries and services.\n\n* [`linera-views`](https:\u002F\u002Flinera-io.github.io\u002Flinera-protocol\u002Flinera_views\u002Findex.html) A\n  library mapping complex data structures onto a key-value store. The corresponding\n  procedural macros are implemented in `linera-views-derive`.\n\n* [`linera-execution`](https:\u002F\u002Flinera-io.github.io\u002Flinera-protocol\u002Flinera_execution\u002Findex.html)\n  Persistent data and the corresponding logic for runtime and execution of Linera\n  applications.\n\n* [`linera-chain`](https:\u002F\u002Flinera-io.github.io\u002Flinera-protocol\u002Flinera_chain\u002Findex.html)\n  Persistent data and the corresponding logic for chains of blocks, certificates, and\n  cross-chain messaging.\n\n* [`linera-storage`](https:\u002F\u002Flinera-io.github.io\u002Flinera-protocol\u002Flinera_storage\u002Findex.html)\n  Defines the storage abstractions for the protocol on top of `linera-chain`.\n\n* [`linera-core`](https:\u002F\u002Flinera-io.github.io\u002Flinera-protocol\u002Flinera_core\u002Findex.html) The\n  core Linera protocol, including client and server logic, node synchronization, etc.\n\n* [`linera-rpc`](https:\u002F\u002Flinera-io.github.io\u002Flinera-protocol\u002Flinera_rpc\u002Findex.html)\n  Defines the data-type for RPC messages (currently all client &#x2194; proxy &#x2194;\n  chain &#x2194; chain interactions), and track the corresponding data schemas.\n\n* [`linera-client`](https:\u002F\u002Flinera-io.github.io\u002Flinera-protocol\u002Flinera_client\u002Findex.html)\n  Library for writing Linera clients.  Used for the command-line\n  client and the node service in `linera-service`, as well as the Web\n  client in [`linera-web`](https:\u002F\u002Fgithub.com\u002Flinera-io\u002Flinera-web\u002F).\n\n* [`linera-service`](https:\u002F\u002Flinera-io.github.io\u002Flinera-protocol\u002Flinera_service\u002Findex.html)\n  Executable for clients (aka CLI wallets), proxy (aka validator frontend) and servers.\n\n* [`linera-sdk`](https:\u002F\u002Flinera-io.github.io\u002Flinera-protocol\u002Flinera_sdk\u002Findex.html) The\n  library to develop Linera applications written in Rust for the Wasm virtual machine. The\n  corresponding procedural macros are implemented in `linera-sdk-derive`.\n\n* [`examples`](.\u002Fexamples) Examples of Linera applications written in Rust.\n\n## Prerequisites\n\nSee [`INSTALL.md`](.\u002FINSTALL.md) for software requirements to develop in this repo.\n\n## Quickstart with the Linera CLI tool\n\nThe following commands set up a local test network and run some transfers between the\nmicrochains owned by a single wallet.\n\n```bash\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\u002Ftarget\u002Fdebug:$PATH\"\n\n# Import the optional helper function `linera_spawn`.\nsource \u002Fdev\u002Fstdin \u003C\u003C\u003C\"$(linera net helper 2>\u002Fdev\u002Fnull)\"\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:\u002F\u002Flocalhost: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:\u002F\u002Ffaucet.testnet-XXX.linera.net  # for some value XXX\n```\n\nEnable logs for user applications:\n\n```bash\nexport LINERA_APPLICATION_LOGS=true\n```\n\nSet the path of the future wallet:\n\n```bash\nexport LINERA_WALLET=\"$LINERA_TMP_DIR\u002Fwallet.json\"\nexport LINERA_KEYSTORE=\"$LINERA_TMP_DIR\u002Fkeystore.json\"\nexport LINERA_STORAGE=\"rocksdb:$LINERA_TMP_DIR\u002Fclient.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 \"$ACCOUNT1@$CHAIN1\"\nlinera transfer 2 --from \"$ACCOUNT1@$CHAIN1\" --to \"$ACCOUNT2@$CHAIN2\"\n\n# Query user balances again.\nlinera query-balance \"$ACCOUNT1@$CHAIN1\"\nlinera query-balance \"$ACCOUNT2@$CHAIN2\"\n```\n\nMore complex examples may be found in our [developer manual](https:\u002F\u002Flinera.dev) as well\nas the [example applications](.\u002Fexamples) in this repository.\n\n## Contributing\n\nWe welcome contributions from the community! If you'd like to contribute to the Linera protocol:\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature\u002Famazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature\u002Famazing-feature`)\n5. Open a Pull Request\n\nFor detailed guidelines, see our [contribution guide](.\u002FCONTRIBUTING.md).\n","Linera 是一个专为高度可扩展、安全且低延迟的Web3应用设计的去中心化区块链基础设施。该项目使用Rust语言编写，支持WebAssembly（WASM），通过模块化的设计实现了包括基础定义、版本管理、数据映射、执行逻辑以及链上操作等在内的核心功能。其架构强调了跨链通信与节点同步能力，旨在提供高效稳定的开发环境。适用于需要构建高性能区块链解决方案或寻求优化现有分布式账本技术应用场景的企业和个人开发者。",2,"2026-06-11 02:47:17","top_all"]