Using the Koii CLI
Run the command below to install the Koii command-line tools:
sh -c "$(curl -sSfL https://koi-node-releases.s3.us-east-2.amazonaws.com/koii-install-init.sh)"
After installation is complete, you should see a prompt in the terminal:
Please update your PATH environment variable to include the koii programsRun the command beneath this prompt to update your
To confirm your
PATHenvironment has been updated run
Run the command below to confirm that the CLI was successfully installed:
koii-test-validatorto run the test validator
The next step is to create a Koii file system wallet locally. To get the command for creating a wallet, run:
You should see an error prompt:
Error: No default signer found, run "koii-keygen new -o /Users/<YOUR_HOME>/.config/koii/id.json" to create a new one
Run the "koii-keygen" command you're prompted to run. This command will generate an identity keypair. You can add a BIP39 passphrase for extra security or click the ENTER button for an empty passphrase.
The identity public key can now be viewed by running:
koii-keygen pubkey /Users/<YOUR_HOME>/.config/koii/id.json
Copy and save your wallet path so you can interact with any Koii stack locally.
/Users/<YOUR_HOME>/.config/koii/id.json (This is your wallet path)