Sharder is a blockchain-based multi-chain storage network.
Java project,the UI uses the vue.
sharder-chain // project root
|- classes/ // compiled class files
|- conf/ // configuration files
|- lib/ // 3rd party or required library
|- html/ // compiled UI html file
|- logs/ // logs
|- sharder_*_db/ // sharder-chain database
|- src/ // sharder-chain source code
|- ui/ // UI source code
|- run.sh // shell for linux and osx
|- run.bat // bat for windows
|- 3RD-PARTY-LICENSES
|- LICENSE
|- README.md
NOTE:If you manually specify the compiled directory, you must then set the compiled directory to the above classes folder. Otherwise, the run.sh and run.bat files will not run normally.
You can use the following methods to run the client:
-
Method one
1. Download the client from [official site](https://sharder.org) according to your OS. 2. Install the client on your computer. 3. Run the client program.
-
Method two
1. Clone this project to your local disk. 2. Modify the conf/sharder.properties to set the network attribute to `sharder.network=$NETWORK`. The values of $NETWORK are: `Testnet` or `Mainnet`, the default value is `Testnet`. 3. Enter the UI folder and run `npm run build` to compile UI files, the location of compiled files is at `html` folder。 4. Set the `src` as the source code folder, add the `conf` into project as the resource folder, finish the project compilation. 5. Run the `Main` method of `org.conch.Conch` or execute the `run.sh/run.bat` to start the Sharder Client.
Client can join the network after open the follow ports:
Testnet
TCP/UDP: 7217,7218,4001,8088
HTTP: 7215,9001
Mainnet
TCP/UDP: 3217,3218,4001,8088
HTTP: 3215,9001
Please read the MINER-GUIDE.md
- Website: https://sharder.org
- Twitter: @SharderChain
- Telegram: https://t.me/sharder_talk
- Medium: https://medium.com/@SharderChain
- Github: https://github.com/Sharders/sharder-chain
- Wechat: supersharder
豆匣是多链架构区块链存储网络。
Java工程,UI使用vue。
sharder-chain // 工程根目录
|- classes/ // 编译后的源文件
|- conf/ // 配置文件
|- lib/ // 第三方或则依赖的代码库
|- html/ // 编译后的UI文件
|- logs/ // 日志
|- sharder_*_db/ // 数据库
|- src/ // 源代码
|- ui/ // UI源代码
|- run.sh // linux和osx操作系统的启动脚本
|- run.bat // windows操作系统的启动脚本
|- 3RD-PARTY-LICENSES
|- LICENSE
|- README.md
注意:如果你手动指定编译目录的话,需要将编译目录设置到上面的classes文件夹,否则run.sh和run.bat无法正常运行。
你可以采用下面两种方式运行豆匣客户端:
-
方式一
1. 在[官网](https://sharder.org)下载对应操作系统的客户端 2. 安装豆匣客户端 3. 运行豆匣客户端
-
方式二
1. 将本工程克隆到本地磁盘 2. 在conf/sharder.properties设置连入的网络`sharder.network=$NETWORK`。$NETWORK可以设置为`Testnet`或`Mainnet`,默认值为`Testnet`。 3. 进入ui目录,运行`npm run build`编译ui文件。编译出的ui文件位于`html`文件夹。 4. 将`src`设置为源文件目录,将`conf`加入工程作为资源目录,完成工程的编译。 5. 运行org.conch.Conch中的main方法,或则运行`run.sh/run.bat`以启动客户端。
需要开放如下端口,节点才能连入网络:
测试网
TCP/UDP: 7217,7218,4001,8088
HTTP: 7215,9001
主网
TCP/UDP: 3217,3218,4001,8088
HTTP: 3215,9001
- 官方网站: https://sharder.org
- Twitter: @SharderChain
- Telegram: https://t.me/sharder_talk
- Medium: https://medium.com/@SharderChain
- Github: https://github.com/Sharders/sharder-chain
- 微信: 豆匣咨讯