Network Setup

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

Development Flow

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 Setup

1. Install the Zyllion SDK

  • Mac and Linux

  • Windows

Install zylup, the Zyllion SDK tool installer and version manager.

curl https://zylup.zylogy.xyz/install.sh | bash

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:

zylup -V; zyllion -V

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

Install the latest Zyllion SDK version

zyllion install latest
zyllion use latest

2. Run the Zyllion local devnet

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

zyllion-devnet

3. Configure to point to your local Zyllion devnet

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

zylChain Chain ID: zyllion-chain-devnet
zylChain JSON RPC URL: http://127.0.0.1:48102
zylChain REST API: http://localhost:26650
zylChain GRPC URL: http://localhost:26649

Moving to Zyllion Testnet

When your implementation works locally, switch to testnet by:

1. Update config to point to Zyllion Testnet networks

  • zylChain Testnet

  • zylVM Testnet

zylChain Chain ID: zyllion-chain-testnet-1
zylChain JSON RPC URL: http://rpc.testnet.zylchain-rpc-proxy.zylogy.xyz
zylChain REST API: https://api.testnet.zylchain-rpc-proxy.zylogy.xyz
zylChain GRPC URL: https://testnet-zyllion-grpc.lavenderfive.com

Last updated