Quick Start
This is a quick start guide for using CoopHive with a MetaMask wallet. Instructions are similar for most other wallets.
Step 1: Set Up the Wallet
Install the MetaMask extension.
Step 2: Add the CoopHive Testnet Network
Open the MetaMask extension
Click on the network button dropdown at the upper left corner of the extension
Choose "Add Network" at the bottom
Choose "Add a network manually", which is located below all of the default options
Enter the CoopHive Testnet details below, then click save
Network name: CoopHive v0 testnet
New RPC URL: http://halcyon.co-ophive.network:8545
Chain ID: 1337
Currency symbol: ETH
Block explorer URL: (leave blank)
Step 3: Fund Your Wallet
Go to the faucet to get ETH and HIVE using the same address you connected with in Step 1.
Step 4: Add Private Key to Environment
For example,
export WEB3_PRIVATE_KEY=<your private key>
Alternatively, arrange for the key to be in your environment in a way that doesn't get written to your shell history.
Step 5: Hello World
Run the following command:
hive run cowsay:v0.0.1 -i Message="hello world"
Wait for the job to be submitted to the solver, the solver to return a match, the deal to be agreed upon, the job to run, and for the results to be returned.

View your results using one of the options.

Last updated
Was this helpful?