Available Test Networks
These test networks demonstrate Pylon functionality. Add them to a wallet with one click to test cross-chain operations and explore Pylon’s features.| Network | Settlement Layer | RPC URL | Chain ID | Add to Wallet |
|---|---|---|---|---|
| Pylon Base Sepolia | Base Sepolia | https://pylon.base-sepolia.spire.dev/v1/chain/2137/rpc | 2137 | |
| Pylon Base Mainnet (Test) | Base Mainnet | https://pylon.base-mainnet.spire.dev/v1/chain/7312/rpc | 7312 | |
| Pylon Optimism Sepolia | Optimism Sepolia | https://pylon.optimism-sepolia.spire.dev/v1/chain/2138/rpc | 2138 | |
| Pylon Celo Mainnet (Test) | Celo Mainnet | https://pylon.celo-mainnet.spire.dev/v1/chain/2139/rpc | 2139 |
Add Your Custom Network
After setting up a Pylon appchain through chain setup, use the tool below to add it to a wallet or generate embeddable code for an application. The interactive form generates code snippets that update automatically as network details are entered.Copy-Paste Code for Your Website
Enter network details in the form above to generate code for adding a network to user wallets. The code snippets below update automatically with entered values.Integrate Wallets in Your Application
For production applications, integrate wallet connections using established libraries and patterns. This provides better user experience, error handling, and support for multiple wallet types.Recommended Approach: wagmi
wagmi is a React Hooks library for Ethereum that provides a simple, type-safe way to connect wallets and interact with chains. It supports MetaMask, WalletConnect, Coinbase Wallet, and other injected wallets. Key benefits:- Type-safe - Full TypeScript support
- Multi-wallet support - Connect to multiple wallet providers
- Auto-switching - Automatically switch networks when needed
- React hooks - Simple, declarative API
- Active maintenance - Regularly updated with latest wallet standards
- Review the wagmi Getting Started guide
- Configure your Pylon appchain as a custom chain in wagmi
- Use hooks like
useConnect,useAccount, anduseSwitchChainto manage wallet connections
Alternative Libraries
- viem - TypeScript library for Ethereum, works well with wagmi or standalone
- ethers.js - Popular Ethereum library with wallet connection utilities
- web3.js - Ethereum JavaScript API
UX Best Practices
- Automatic network switching - Detect when users need to switch networks and prompt them
- Clear error messages - Handle network mismatches and connection failures gracefully
- Loading states - Show connection status during wallet interactions
- Mobile support - Consider WalletConnect for mobile wallet connections
Next Steps
- Build Onchain → - Deploy contracts and build applications
- Quickstart → - Deploy your first contract
- Chain Management → - Monitor transactions and activity