Asch system is a decentralized application platform, which is designed to lower the threshold for developers, such as using JavaScript as develop language, supporting relational database to save transaction data, and making DAPP development be similar with traditional Web application. It is sure that these characteristics are very attractive to developers and SMEs. The ecosystem of the whole platform cannot be improved until developers make a huge progress on productivity. Also, Asch platform is designed to be open for various fields, not limited to some particular parts such as finance, file storage, or copyright proof. It provides underlying and abstract API which can be combined freely to create different types of applications. In consensus mechanism, Asch inherits and enhances DPOS algorithm, by which the possibility of forks and risk of duplicate payments would be significantly reduced. Furthermore, Asch sidechain mode not only can mitigate the pressure of blockchain expansion, but also make DAPP more flexible and personal. Asch system, as a proactive, low-cost and full stack solution, will surely be a next generation incubator of decentralized applications.
More infomation please visit
# Install dependency package
sudo apt-get install curl sqlite3 ntp wget git libssl-dev openssl make gcc g++ autoconf automake python build-essential -y
# libsodium for ubuntu 14.04
sudo apt-get install libtool -y
# libsodium for ubuntu 16.04
sudo apt-get install libtool libtool-bin -y
# Install nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
# This loads nvm
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# Install node and npm for current user.
nvm install v8
# check node version and it should be v8.x.x
node --version
# git clone sourece code
git clone https://github.com/AschPlatform/asch && cd asch
# Install node packages
npm install
# Build
> node build linux {localnet|testnet|mainnet}
# Run
> cd build/asch-linux-{version}-{localnet|testnet|mainnet}
> chmod +x aschd
> ./aschd start
# or run
> node app.js
# pull asch code docker image
docker pull aschplatform/asch:v1.3.0
# run docker and asch
docker run -i -t --name asch1.3.0 -p 4096:4096 aschplatform/asch:v1.3.0 /bin/bash
root@e149b6732a48:/# cd /data/asch && ./aschd start
Asch server started as daemon ...
Then you can open http://localhost:4096
in your browser to visit the Web Wallet.
node app.js --help
Usage: app [options]
Options:
-h, --help output usage information
-V, --version output the version number
-c, --config <path> Config file path
-p, --port <port> Listening port number
-a, --address <ip> Listening host name or ip
-b, --blockchain <path> Blockchain db path
-g, --genesisblock <path> Genesisblock path
-x, --peers [peers...] Peers list
-l, --log <level> Log level
-d, --daemon Run asch node as daemon
--reindex Reindex blockchain
--base <dir> Base directory
This is the genesis account of localnet and one hundred million XAS in it.
{
"address": "ABuH9VHV3cFi9UKzcHXGMPGnSC4QqT2cZ5",
"publicKey": "116025d5664ce153b02c69349798ab66144edd2a395e822b13587780ac9c9c09",
"secret": "stone elephant caught wrong spend traffic success fetch inside blush virtual element" // password
}
The MIT License (MIT)
Copyright (c) 2016-2018 Asch
Copyright (c) 2015 Crypti
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1基本流程 Asch有三种网络类型,分别是localnet,testnet,mainnet,后两种是发布到线上的,可以通过公网访问。第一种localnet是运行在本地的,只有一个节点的私链,主要是为了方便本地测试和开发。Dapp的开发同样要涉及到这三种网络,即 第一步,在localnet的开发,本地测试 第二步,在testnet测试 第三步,正式发布到mainnet 2启动localnet 每个开
1. 概述 1.1. 设计目标 ASCH智能合约平台致力于成为一个开发者可以快速上手的安全、高效的智能合约开发和运行平台 智能合约容易学习、容易编写、容易验证 合约语言必须是图灵完备的,合约运行必须是在有限有的时间内可停止的 合约的运行环境是安全的,恶意合约不会对其他合约乃至于整个区块链造成破坏性的影响 设计上要灵活,易于扩展,便于将来增加新的特性 1.2. 设计理念及约束 安全稳定是第一要素,安
1 基本流程 Asch有三种net,localnet,testnet,mainnet,后两种是发布到线上的,可通过公网访问。 第一种localnet是运行在本地的、只有一个节点的私链,主要是为了方便本地测试和开发。 Dapp的开发同样要涉及到这三种网络,即 第一步,在localnet开发、本地测试 第二步,在testnet测试 第三步,正式发布到mainnet 2 启动localnet 每个开发者
1 系统要求 必须是linux系统 必须有公网ip 建议使用ubuntu 14.04 64位 建议内存1G以上 建议带宽2Mb以上 2 安装 2.1 下载 wget https://www.asch.so/downloads... tar zxvf asch-linux-0.9.5-testnet.tar.gz 2.2 初始化 这一步会自动帮您做以下几件事情 安装sqlite3等依赖软件 安装和配
Asch这个名字是 App Side Chain 的缩写。 是一种基于区块链跨链技术的应用开发平台,目前全部核心代码已经在GitHub上开源。 区块链是比特币的底层技术,但是名气低于比特币,但是个人认为潜力远远大于比特币。是最值得技术人员关注的技术之一。 我一般研究一门新技术,倾向于研究更新更早期的代码。 因为非常成熟有名的代码往往已经过度设计,对于阅读代码入门不一定是好的选择。 而一些出于项目早
本文针对的人群:会用putty、SecureCRT、xhsell等工具ssh连接到自己的asch服务器上,但不怎么会执行命令的人。高手请绕路~ 本文主要围绕受托人搭建、维护涉及相关的内容进行Linux基础命令的介绍,看完本文后,你能只用一个ssh远程工具完成asch见证人的搭建和维护,不需要再使用其它工具(如winscp等文件上下传工具) 对官方搭建文档(http://blog.asch.so/2
0 前言 我曾分析了DPOS算法的漏洞并且模拟了一个简单的攻击的方法,然后实现了一个简化的PBFT算法模型试图去修复该漏洞,并且对比了效果。 随后在正式的产品中实现了完整版的算法,并且部署了10台机器进行了测试。测试的结果在安全性方面完全符合预期,即经过频繁的重启、不按常规的广播区块、少数受托人联合作弊的情况下,整个系统依然不会分叉;但是在性能方面,不太理想,在没有任何交易的情况下,网路流量的峰值