如何运行自己的恒星区块链网络?



首先让我说这是一个非常微不足道的问题,甚至可能看起来很愚蠢。我是区块链技术的新手,我想从建立自己的网络(进行实验(开始。到目前为止,根据我的研究,Hyperledger Fabric和Stellar似乎是不错的选择,但我无法找到开箱即用的StellarSDK。也就是说,我似乎无法与Stellar建立自己的网络。这是对的吗?如果是这样,我应该寻找哪些"关键词"来找到可以用来构建自己的网络的区块链框架?


编辑:让我详细说明一下。根据Stellar的官方开发人员指南:

为了创建帐户,您需要使用新帐户 ID 运行CreateAccount操作。 由于 Stellar 的帐户最低要求,您需要通过创建帐户操作从另一个帐户转移最低帐户余额。在撰写本文时,最低余额为 1 XLM(2 x 0.5 基本储备(,并且可能会发生变化。

这使得我似乎无法创建自己的网络,因此必须依靠官方的Stellar网络来处理我的所有应用程序。这是对的吗?

不,您可以使用恒星核心项目来运行自己的项目。

引用安装说明:

git clone https://github.com/stellar/stellar-core.git
cd stellar-core
git submodule init
git submodule update
Type ./autogen.sh.
Type ./configure (If configure complains about compiler versions, try CXX=clang-5.0 ./configure or CXX=g++-5 ./configure or similar, depending on your compiler.)
Type make or make -j (for aggressive parallel build)
Type make check to run tests.
Type make install to install.

最新更新