Stratis Platform is a flexible, powerful Blockchain development platform designed originally for the needs of real-world financial services businesses. It also provides benefits to other types of organizations that want to leverage Blockchain technologies. It is a turnkey solution that enables developers and business to develop, test, and deploy Blockchain-based applications without having to operate their own network infrastructure.
What is Stratis Platform? Stratis Group
Before I explain Stratis Platform, I want to talk about Stratis Group first. Stratis Group is a UK based Blockchain technology company that offers native C# and .NET end-to-end block solutions. Be more specific, Stratis Group offers
Stratis Platform
On top of that, Stratis provides development and integration services to organizations that are looking for implementing private Blockchain or connecting into existing Blockchain networks.
Stratis Platform
Stratis platform offers a solution for the fast creation of individual chains on the basis of their own Blockchain. These chains can vary in accordance with the needs of your company and even play a popular function of the Blockchain, such as Ethereum or Lisk that can be tested individually or simultaneously.
Some of the advantages of the Stratis project that will affect the real world are the following,
- Medical Research
- Internet Business
- Fintech
Smart Contract on Stratis Platform
Smart Contract becomes a crucial feature of a Blockchain platform for enterprise use. The good news is that Stratis platform does have this capability. The following is a very brief comparison among three smart contract Blockchains: Stratis Platform, Ethereum, and Neo
- Stratis, Ethereum, Neo all support smart contracts. Ethereum only supports writing smart contracts in Solidity language. Stratis and Neo support several popular languages - C#, Java, JavaScript.
- Stratis maintains contracts for the sidechained. Ethereum has each contract comes from the Blockchain Ethereum.
Building and Running a Stratis Full Node
A full node is a computer that connects to a Blockchain network. It stores all Blockchain data locally and be able to communicate with other nodes via P2P protocols. To build and run a Stratis full node is the very first step getting started with the Stratis development.
Prerequisites
In order to build and run a Stratis full node, you need to meet the following prerequisites
- System Prerequisites
- Windows must be Windows 7 and later.
- Ubuntu 14.04 and later is recommended, but you should be able to run on other distros of Linux.
- macOS must be OS X 10.12 and later.
- Framework Prerequisites
- Tools and Utilities
Stratis Full Node on Windows
I will use Windows as the example to build and run a Stratis full node,
- Create a folder Repos in C drive
- Go into the Repos folder
- Get the repository from GitHub
- Go into the StratisBitcoinFullNode folder
You can see all the Stratis modules by list the current directory.
The solution can be opened with Visual Studio 2017. You can download a copy Community Edition for personal use from here.
- Restore NuGet packages
- Build the code
- Run Stratis full node,
- Run Stratis full node on Bitcoin networkC:\Repos\StratisBitcoinFullnode\src> cd Stratis.BitcoinD
- Run Stratis full node on Bitcoin test networkC:\Repos\StratisBitcoinFullnode\src> cd Stratis.BitcoinD
- Run Stratis full node on Stratis networkC:\Repos\StratisBitcoinFullnode\src> cd Stratis.StratisD
- Run Stratis full node on Stratis test networkC:\Repos\StratisBitcoinFullnode\src> cd Stratis.StratisD
- View Node Status via Swagger web interface,
- For Bitcoin: http://localhost:37220/swagger
- For Stratis: http://localhost:37221/swagger
- For Bitcoin Testnet: http://localhost:38220/swagger
- For Stratis Testnet: http://localhost:38221/swagger
The following is a Stratis API page display at http://localhost:38220/swagger for a full node on Stratis Network.
APIs can be called directly on the Swagger interface. For example, you want to call “GET /api/BlockStore/getblockcount”
- Click the API to expand it
- Click “Try it out!” button
- You will see request and response are displayed on the screen.
- The Swagger interfaces for Bitcoin Network and Bitcoin Test Network do not work on my computer.
- If you get a “This site can’t be reached” message when you are opening Swagger interface for your full node on Stratis network, you just need to wait a little bit. The full node needs a little bit of time to be ready.
- Run the node with RPC turned on
No comments:
Post a Comment