ixo-blockchain

module
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0

README

ixo Blockchain SDK

version Go Report Card LoC

This is the official repository for the Sustainability Hub (ixo-Hub)

This document will have all details necessary to help getting started with ixo-Hub

Documentation

  • Guide for setting up a Relayer on the Pandora test network and Internet of Impact Hub main network: here
  • Blockchain Module Specifications can be found under x/<module>/spec

Building and Running

Note: Requires Go 1.15+

To build and run the application:

make run

To build and run the application and also create some accounts:

make run_with_some_data  # Option 1
make run_with_all_data   # Option 2

(Optional) Once the chain has started, run one of the following:

  • Add more data and activity:
bash ./scripts/add_dummy_testnet_data.sh
  • Demos:
bash ./scripts/demo_bonds.sh     # Option 1
bash ./scripts/demo_payments.sh  # Option 2
bash ./scripts/demo_project.sh   # Option 3
...
# Look in the scripts folder for more options!
  • To re-generate .pb.go and .pb.gw.go files from .proto files:
make proto-gen
  • To re-generate API documentation (swagger.yaml file):
make proto-swagger-gen
  • To build and run the application using Starport (demos will not work if the blockchain is started using this method, and the ./cmd/ixod package has to be refactored to ./cmd/ixo-blockchaind):
starport serve

Directories

Path Synopsis
app
client
tx
cmd
x
bonds/types
Package types is a reverse proxy.
Package types is a reverse proxy.
did
did/types
Package types is a reverse proxy.
Package types is a reverse proxy.
payments/types
Package types is a reverse proxy.
Package types is a reverse proxy.
project/types
Package types is a reverse proxy.
Package types is a reverse proxy.

Jump to

Keyboard shortcuts

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