StratisBitcoinFullNode

Bitcoin full node in C#

Github星跟蹤圖

Windows MacOs Ubuntu64
Build Status Build Status Build Status

Stratis Bitcoin

https://stratisplatform.com

Bitcoin Implementation in C#

Stratis is an implementation of the Bitcoin protocol in C# on the .NET Core platform.
The node can run on the Bitcoin and Stratis networks.
Stratis Bitcoin is based on the NBitcoin project.

For Proof of Stake support on the Stratis token the node is using NStratis which is a POS implementation of NBitcoin.

.NET Core is an open source cross platform framework and enables the development of applications and services on Windows, macOS and Linux.

Join our community on discord.

The design

A Modular Approach

A Blockchain is made of many components, from a FullNode that validates blocks to a Simple Wallet that track addresses.
The end goal is to develop a set of Nuget packages from which an implementer can cherry pick what he needs.

  • NBitcoin
  • Stratis.Bitcoin.Core - The bare minimum to run a pruned node.
  • Stratis.Bitcoin.Store - Store and relay blocks to peers.
  • Stratis.Bitcoin.MemoryPool - Track pending transaction.
  • Stratis.Bitcoin.Wallet - Send and Receive coins
  • Stratis.Bitcoin.Miner - POS or POW
  • Stratis.Bitcoin.Explorer

Create a Blockchain in a .NET Core style programming

  var node = new FullNodeBuilder()
   .UseNodeSettings(nodeSettings)
   .UseConsensus()
   .UseBlockStore()
   .UseMempool()
   .AddMining()
   .AddRPC()
   .Build();

  node.Run();

What's Next

We plan to add many more features on top of the Stratis Bitcoin blockchain:
Sidechains, Private/Permissioned blockchain, Compiled Smart Contracts, NTumbleBit/Breeze wallet and more...

Running a FullNode

The master branch is actively developed and regularly committed to, and it can become unstable.
To compile a stable (production) release use any of the release tags form version 3.0.x.x and upwards.

git clone https://github.com/stratisproject/StratisBitcoinFullNode.git  
cd StratisBitcoinFullNode\src

dotnet build

To run on the Bitcoin network:

cd Stratis.BitcoinD
dotnet run

To run on the Stratis network:

cd Stratis.StratisD
dotnet run

Getting Started Guide

More details on getting started are available here

Development

Up for some blockchain development?

Check this guides for more info:

There is a lot to do and we welcome contributers developers and testers who want to get some Blockchain experience.
You can find tasks at the issues/projects or visit the dev_general channel on discord.

Testing

主要指標

概覽
名稱與所有者stratisproject/StratisBitcoinFullNode
主編程語言C#
編程語言C# (語言數: 5)
平台
許可證MIT License
所有者活动
創建於2016-09-03 04:32:51
推送於2021-08-16 11:06:15
最后一次提交2021-08-16 12:06:15
發布數20
最新版本名稱1.2.3.0 (發布於 )
第一版名稱V0.1 (發布於 )
用户参与
星數790
關注者數115
派生數311
提交數3.8k
已啟用問題?
問題數1060
打開的問題數150
拉請求數2753
打開的拉請求數17
關閉的拉請求數400
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?