This is the official repository for the Impact Hub (ImpactHub)
This document will have all details necessary to help getting started with ImpactHub
- Guide for setting up a Relayer on the Pandora test network and Internet of Impact Hub main network: here
- Swagger API documentation for ixo modules gRPC endpoints can be found at client/docs/swagger-ui/swagger.yaml
- Swagger API documentation for ixo modules legacy endpoints can be found at client/docs/swagger-ui-legacy/swagger.yaml
- Blockchain Module Specifications can be found under
x/<module>/spec
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, as well as docs/core/proto-docs.md:
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