Network Setup

Here's how to set up your developer environment when building apps or agents with SecretSigner:

Development Flowarrow-up-right

Start by developing against a local development network, then move to Zyllion Testnet:

  1. Develop locally using zyllion-devnet

    • Run a local zylChain and a local zylVM cluster of nodes

    • Use local test accounts that are pre-funded with test ZYL

    • Iterate quickly without worrying about network issues

  2. Move to testnet when your code works

    • Point your app to zylChain testnet and zylVM testnet endpoints

    • Get some ZYL from the faucet

    • Test in a production-like environment

Local Zyllion Development Setuparrow-up-right

1. Install the Zyllion SDKarrow-up-right

  • Mac and Linux

  • Windows

Install zylup, the Zyllion SDK tool installer and version manager.arrow-up-right

The install script installs zylup and the latest version of the SDK. Close your terminal. Open a new terminal and confirm both zylup and zyllion are installed:

You should see an output with the versions of zylup and zyllion installed.

Install the latest Zyllion SDK versionarrow-up-right

2. Run the Zyllion local devnetarrow-up-right

Open a new cli and run the zyllion-devnet tool to start a local Zyllion Network with zylChain and zylVM

3. Configure to point to your local zyllion devnetarrow-up-right

Once the local devnet is running, you'll see the local devnet configuration details and a set of locally funded private keys below written to an environment file. Use any of these private keys to pay for local zyllion-devnet operations.

  • zylChain Local Devnet

  • zylVM Local Devnet

  • Local Devnet private keys

Moving to zyllion Testnetarrow-up-right

When your implementation works locally, switch to testnet by:

1. Update config to point to Zyllion Testnet networksarrow-up-right

  • zylChain Testnet

  • zylVM Testnet

2. Fund a zylChain Wallet with Testnet ZYLarrow-up-right

  • Create a Zyllion Wallet - make sure to "Sign up with Google" rather than "Use Recovery Phrase" so that you have the option to "View Private Key" for the new Zyllion account in Keplr.

  • Fund the Zyllion account with Testnet ZYL from the zylChain Testnet Faucet

  • Set the funded private key as your zylChain payer to pay for Zyllion Testnet operations.

Last updated