Stratos-chain
Stratos is the first decentralized data architecture that provides scalable, reliable, self-balanced storage, database and computation network, and offers a solid foundation for data processing.
Building the source
Prerequisites
Platform
git clone https://github.com/stratosnet/stratos-chain.git
cd stratos-chain
make buildgit clone https://github.com/stratosnet/stratos-chain.git
cd stratos-chain
make build-macThen the binary can be found in ./build folder
Executables
The Stratos-Chain comes with 2 types of executables that can be found in the ./build directory.
stchaincli
the client end. It is the command line interface for interacting with stchaind. It is the entry point into the Stratos network (main-, test- or private net), capable of running as a full node (default), archive node (retaining all historical state) or a light node (retrieving data live). It can be used by other processes as a gateway into the Stratos network via JSON RPC endpoints. Use stchaincli --help and the Stratos Chain `stchaincli` Commands for command options.
stchaind
the app Daemon (server). Use stchaind --help and the Stratos Chain `stchaind` Commands for command options.
stchaincli --help
stchaincli --helpstchaind --help
stchaind --helpConnect to Stratos Network
Stratos NetworkGoing through all the possible command line flags is out of scope here, but we've enumerated a few common parameter combos to get you up to speed quickly on how you can run your own Stratos instance.
A Full node on the test Stratos network
For prerequisites and detailed instructions of connecting to test network, please read the connect to TestNet.
Full node on the main Stratos network
Prerequisites and detailed instructions of main network will be added later.
Contribution
Thank you for considering to help out with the source code! We welcome contributions from anyone on the internet, and are grateful for even the smallest of fixes!
If you'd like to contribute to stratos-chain, please fork, fix, commit and send a pull request for the maintainers to review and merge into the main code base.
Please make sure your contributions adhere to our coding guidelines:
Code must adhere to the official Go formatting guidelines (i.e. uses gofmt).
Code must be documented adhering to the official Go commentary guidelines.
Pull requests need to be based on and opened against the
mainbranch.Commit messages should be prefixed with the package(s) they modify.
e.g. "eth, rpc: make trace configs optional"
License
Copyright 2021 Stratos
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Last updated