highway-sdk

command module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2022 License: BSD-3-Clause Imports: 7 Imported by: 0

README

Sonr Highway Node

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.

About The Project

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!

Documentation

All documentation inluding API Reference, Guides, and Recipes are available on the Sonr Docs website.

Getting Started

To get a local copy up and running follow these simple steps.

Requirements
Installation
  1. 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
  1. Run the Sonr Blockchain Node
sonrd start
  1. Run the sonr-io/highway-go server with task run.
Structure

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

Contributing

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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

This project facilitated under Sonr Inc. is distributed under the GPLv3 License. See LICENSE.md for more information.

Acknowledgements

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL