EVM Integration
Use Para Server SDK with Ethereum and EVM-compatible chains
Para Server SDK provides seamless integration with Ethereum Virtual Machine (EVM) compatible chains through popular libraries like Ethers.js and Viem. Once you’ve set up and authenticated your Para Server client, the EVM integration works identically to the client-side implementation.
Before using these integrations, ensure you’ve completed the server setup by importing a client session or creating a pregenerated wallet. See the Server Setup Guide for details.
Installation
Install the required dependencies for your preferred EVM library:
Implementation
Ethers.js Integration
The Para Ethers Signer acts as a drop-in replacement for standard Ethers signers:
Viem Integration
Para’s Viem integration provides a custom Viem client compatible with all Viem operations:
Best Practices
- Use environment variables for API keys and RPC URLs
- Implement proper error handling for network failures
- Consider gas price management for production applications
- Cache network calls where appropriate to reduce RPC usage
Learn More
For detailed examples of using Para with EVM chains, including smart contract interactions, ERC-20 transfers, and more, refer to our web documentation:
Examples
Explore our server-side EVM integration examples: