Open source .NET Bitcoin based blockchain node in C#
What is Sealink?
- Sealink is a platform to build Layer 1 consensus networks based on the Bitcoin protocol [ blockcore.net ], built on the .NET Core framework and written entirely in C#.
- Sealink aims to maintain an alternative C# Bitcoin implementation, based on the NBitcoin & Stratis projects.
- Sealink is neither a coin or a for profit business.
- 97.74.83.32
- 92.205.231.104
- 72.167.148.221
- 97.74.86.57
- Install .NET 6 https://dotnet.microsoft.com/en-us/download/dotnet/6.0
- Dwonload last Sealink Node.
- UnZip file, find the Blockcore.Node.exe, click to runing node.
- Open Browser, input http://localhost:15003
-
Install .NET 6 https://learn.microsoft.com/zh-cn/dotnet/core/install/linux-scripted-manual#set-environment-variables-system-wide
-
Intstall Rocksdb dependencies
-
apt-get update
-
apt-get install -y curl libsnappy-dev libc-dev libc6-dev libc6 unzip
-
apt-get clean
-
rm -rf /var/lib/apt/lists/*
-
Dwonload Sealink Node.
-
Unzip file,run dotnet Blockcore.Node.dll
-
Open Browser, input http://localhost:15003
-
Get Mnemonic curl -X 'GET' 'http://localhost:15003/api/Wallet/mnemonic?language=English&wordCount=12' -H 'accept: /'
-
Create Wallet curl -X 'POST'
'http://localhost:15003/api/Wallet/create'
-H 'accept: /'
-H 'Content-Type: application/json-patch+json'
-d '{ "mnemonic": "string", "password": "string", "passphrase": "string", "name": "string", "purpose": 0 }' -
Get wallet balance curl -X 'GET'
'http://localhost:15003/api/Wallet/balance?WalletName=1&AccountName=account%200'
-H 'accept: /' -
Start mining curl -X 'POST'
'http://localhost:15003/api/Mining/generate'
-H 'accept: /'
-H 'Content-Type: application/json-patch+json'
-d '{ "blockCount": 1 }' -
Stop mining curl -X 'POST'
'http://localhost:15003/api/Mining/stopmining'
-H 'accept: /'
-H 'Content-Type: application/json-patch+json'
-d 'true' -
Add Node curl -X 'GET' 'http://localhost:15003/api/ConnectionManager/addnode?endpoint=72.167.148.221&command=add' -H 'accept: /' curl -X 'GET' 'http://localhost:15003/api/ConnectionManager/getpeerinfo' -H 'accept: /'
-
Start staking curl -X 'POST'
'http://localhost:15003/api/Staking/startstaking'
-H 'accept: /'
-H 'Content-Type: application/json-patch+json'
-d '{ "password": "1", "name": "1" --wallet name
}'
-
Stop staking curl -X 'POST'
'http://localhost:15003/api/Staking/stopstaking'
-H 'accept: /'
-H 'Content-Type: application/json-patch+json'
-d 'true' -
Get chain status curl -X 'GET' 'http://localhost:15003/api/Node/status' -H 'accept: /'