highway-go
is a the golang implementation for the custodial node on the Sonr Network. It is responsible for managing blockchain transactions, and complex interactions between Motor nodes and services.
Sonr is building the most immersive DWeb experience for both Users and Developers alike. We believe the best way to onboard the next billion users is to create a cohesive end-to-end platform that’s composable and interoperable with all existing protocols.
For this we built our Networking layer in Libp2p and our Layer 1 Blockchain with Starport. Our network comprises of two separate nodes: Highway and Motor, which each have a specific use case on the network. In order to maximize the onboarding experience, we developed our own Wallet which has value out of the gate!
All documentation inluding API Reference, Guides, and Recipes are available on the Sonr Docs website.
To get a local copy up and running follow these simple steps.
- Download the
sonr-io/sonr
blockchain node.
// For Non M1 Systems
curl https://sonr.network/sonr! | sudo bash
// For M1 Systems
curl https://sonr.network/sonr | bash # Install
sudo mv sonr /usr/local/bin/ # Move to Directory
- Run the Sonr Blockchain Node
sonrd start
- Run the
sonr-io/highway-go
server withtask run
.
This project is a pseudo-monorepo, meaning it has a single root directory and all of its packages are in subdirectories. The structure is as follows:
/cmd -> CLI commands for the project
/grpc -> Highway Service gRPC implementation
/pkg -> Protocol Services for Sonr Core
└─ acccount -> + Service and Account Management
└─ client -> + Blockchain Client
/proto -> Highway API Schema and Protobuf Definitions
/remix -> Remix frontend
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project facilitated under Sonr Inc. is distributed under the GPLv3 License. See LICENSE.md
for more information.