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:
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
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
2. Fund a zylChain Wallet with Testnet ZYL
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