Giter Club home page Giter Club logo

core's Introduction

Sealink

About Sealink Network

Open source .NET Bitcoin based blockchain node in C#

Introduction

Bitcoin Implementation in C# and .NET 6

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.

Getting Started Guide

Add Node

  • 72.167.148.221
  • 92.205.231.104
  • 97.74.86.57

Windows

  • Install .NET 6 Link
  • Dwonload last Sealink Node.
  • UnZip file, find the Blockcore.Node.exe, click to runing node.
  • Open Browser, input http://localhost:15003

Liunx

  • Install .NET 6 Link

  • Install libs

    sudo apt-get install build-essential
    sudo apt-get install libgflags-dev
    sudo apt-get install libsnappy-dev
    sudo apt-get install zlib1g-dev
    sudo apt-get install libbz2-dev
    sudo apt-get install liblz4-dev
    sudo apt-get install libzstd-dev
  • Dwonload Sealink Node.

  • Unzip file,run dotnet Blockcore.Node.dll

  • Open Browser, input http://localhost:15003

API

  • DocUrl http://localhost:15003/docs/index.html

  • 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'
  • 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: */*'

core's People

Contributors

sealinknetwork avatar r4ym0n avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.