Skip to content

This is to demosntrate configuring, building and running a sample Testnet with one chain and two actors. Clone this repo and follow along.

Notifications You must be signed in to change notification settings

harbor-xyz/ethereum-ipfs-postgres

Repository files navigation

Harbor Testnet with One Chain (Ethereum) and Two Off-Chain Actors (IPFS and Postgres)

This is to demonstrate configuring, building and running a sample Testnet with one chain (Ethereum) and two public image actors (IPFS and Postgres). Clone this repo and follow along.

Copy credentials

User Key

On your home page, you should be able to copy your User Key which is found on the top right of the page.

Project Key

In your projects page, each project has a Project Key that you can copy.

Configure your credentials

Run the command:

harbor configure keys

This will ask you to add in your credentials, which includes your User Key and Project Key. Find them in the app and paste them here.

Start Testnet

To run the Testnet, execute the following command in the same directory as this project:

harbor apply <testnet-name>

Where <testnet-name> is a Testnet name of your choosing.

You should see this:

Checking ~/.harbor for your apiKey
Validating testnet name...
Configuring chain...
Configuring off-chain actor liquidation-bot-1
Configuring off-chain actor ipfs

At the end of the logs, you should see your chain and off-chain actors with endpoints:

These are your running processes and their ports
ethereum
3.91.12.13:4000

postgres
3.91.12.13:5432

ipfs
3.91.12.13:5001

You can now interact with them using the endpoints.

About

This is to demosntrate configuring, building and running a sample Testnet with one chain and two actors. Clone this repo and follow along.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published