Baike.dev
All toolsTrendingOpen sourceNewsSubmit
Log in
< 返回工具列表
S

shardeum

> 编程语言
开源

Shardeum is an EVM based autoscaling blockchain

31.3K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Shardeum is an EVM based autoscaling blockchain

An EVM-based autoscaling blockchain platform

## Table of Contents - [Introduction](#introduction) - [Features](#features) - [Getting Started](#getting-started) - [Prerequisites](#prerequisites) - [Installation](#installation) - [Running the Network Locally](#running-the-network-locally) - [Running the JSON-RPC Server](#running-the-json-rpc-server) - [Testing with MetaMask](#testing-with-metamask) - [Testing with Jest](#testing-with-jest) - [Stopping and Cleaning Up](#stopping-and-cleaning-up) - [Health Checks](#health-checks) - [Contributing](#contributing) - [Community](#community) - [License](#license) ## Introduction Shardeum is an innovative EVM-compliant blockchain platform that leverages dynamic state sharding to achieve unprecedented scalability. By implementing a sharding model, Shardeum ensures faster processing times and lower transaction costs without compromising security or decentralization. ## Features - **Scalability**: Horizontal scalability through sharding - **High Performance**: Low latency and high throughput - **Security**: Advanced cryptographic techniques and robust consensus protocols - **Decentralization**: Truly decentralized network with no single point of failure - **Interoperability**: EVM compatibility for existing DApps and smart contracts ## Getting Started ### Prerequisites - Node.js (v18.19.1) - npm (v10.2.4) - Rust (v1.74.1) - Docker (optional, for containerized deployment) ### Setting Up Your Environment Shardeum requires specific versions of Nodejs, Rust and other build tools to run. We have detailed setup instructions [in this page](local-environment-setup.md) >[!IMPORTANT] > This is a crucial step, ensure your local environment is correctly set up before proceeding with the next steps ### Installation 1. Clone the repository: ```bash git clone https://github.com/shardeum/shardeum.git cd shardeum ``` 2. Install dependencies: ```bash npm ci ``` 3. Network Configuration: ```bash export LOAD_JSON_CONFIGS=[full-path-to-your-local-shardeum-repo]/debug-10-nodes.config.json ``` For instance, if your local shardeum repo is on this path `/Users/john/Desktop/projects/shardeum/` then you would run: ``` export LOAD_JSON_CONFIGS=/Users/john/Desktop/projects/shardeum/debug-10-nodes.config.json ``` Learn more about the different config options [here](local-environment-setup.md) 4. Compile project ```bash npm run prepare ``` 5. Install the Shardus CLI: ```bash npm install -g @shardeum-foundation/tools-shardus-cli npm update @shardeum-foundation/archiver ``` ## Running the Network Locally To start a local Shardeum network with 10 nodes, run: ```bash shardus start 10 ``` ### Running the JSON-RPC Server 1. Clone the JSON-RPC server repository: ```bash git clone https://github.com/shardeum/json-rpc-server.git cd json-rpc-server npm install ``` 2. Start the server: ```bash npm run start ``` The default RPC URL is `http://localhost:8080`. ## Testing with MetaMask To test your local Shardeum network using MetaMask: 1. Install the [MetaMask extension](https://metamask.io/download/). 2. Add the Shardeum network to MetaMask: - Network Name: Shardeum - RPC URL: http://localhost:8080 - Chain ID: 8082 - Currency Symbol: SHM - Block Explorer URL: http://localhost:6001/ 3. Obtaining Test Tokens and Configuring the Genesis File: To receive SHM tokens for testing on your local Shardeum network, you need to add your wallet address to the [src/config/genesis.json](src/config/genesis.json) file. Open this file in a text editor and add an entry for your wallet address with the desired SHM balance like this: ```json "YOUR-WALLET-ADDRESS": { "wei": "200000000000000000000000000" }, ``` ## Testing with Jest `src/index.ts` is mocked for all tests. You can see how its mocked out in the `test/unit/setup.ts` file. Don't import the `index` file directly if you can since it has a lot of dependencies, import the specific files you need in your implementation or test files. ## Stopping and Cleaning Up To stop the network and clean up resources: ```bash shardus stop && shardus clean && rm -rf instances ``` ## Health Checks Diagnostic endpoints to check the health of the node - GET `/is-alive` this endpoint returns 200 if the server is running. - GET `/is-healthy` currently the same as `/is-alive` but will be expanded. ## Contributing We welcome contributions! Please see our [Contribution Guidelines](CONTRIBUTING.md) for more information. All contributors are expected to adhere to our [Code of Conduct](CODE_OF_CONDUCT.md). ## Community - [GitHub Discussions](https://github.com/shardeum/shardeum/discussions) - [Discord](https://discord.com/invite/shardeum) - [X (formerly Twitter)](https://x.com/Shardeum) ## License This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

核心特点

  • •Introduction
  • •Features
  • •Getting Started
  • •Prerequisites
  • •Installation
  • •Running the Network Locally
  • •Running the JSON-RPC Server
  • •Testing with MetaMask
  • •Testing with Jest
  • •Stopping and Cleaning Up

> 标签

TypeScriptblockchaindappethereumevm

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月9日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言
Baike.dev

baike.dev helps you discover great languages, frameworks, databases, DevOps and cloud-native tools.

Quick links

  • Home
  • All tools
  • Trending
  • Open source

About

  • About us
  • Community
  • News

Contribute

Found a great developer tool? Share it with the community.

Submit a tool
© 2026 baike.dev Developer EncyclopediaUpdated daily · Discover great developer tools