Elder-Wrap provides a familiar interface for developers already using EVM tools, making it easy to deploy contracts, send transactions, and manage keys across RollApps.
GitHub access for Elder is currently limited to early partner projects and may not be available to everyone. The documentation may be outdated due to rapid development.
What is Elder-Wrap?
Elder-Wrap acts as a bridge between your local development environment and RollApps on the Elder Chain. By starting theelder-wrap
binary, developers can:
- Deploy Contracts: Treat
elder-wrap
as a local EVM node to deploy smart contracts on any RollApp - Send and Query Transactions: Use it to send transactions and query their status easily
- Integrate with EVM Tooling: Connect
elder-wrap
to popular EVM-compatible tools like Hardhat, Truffle, or Remix - Manage Keys: Use the built-in keystore functionality to manage your keys securely
Key Features
- Acts as a bridge between your local environment and RollApps on the Elder Chain
- Provides a familiar interface for developers already using EVM tools
- Simplifies contract deployment and transaction management across RollApps
- Built-in keystore functionality for secure key management
Usage Overview
To use Elder-Wrap, you will:- Build and start the server
- Configure your EVM tooling to point to the Elder-Wrap endpoint
- Use your preferred EVM tools as you would with any local node
- Manage keys using the built-in keystore
Getting Started
Follow these steps to get Elder-Wrap running in your environment (detailed commands and examples will be added after confirming this renders correctly).1
Clone and Build
Clone the repository, copy the sample config, and build the binary.
2
Start the Server
Run the Elder-Wrap server locally.
3
Configure EVM Tooling
Point your EVM tools (like Hardhat or Truffle) to the Elder-Wrap endpoint (e.g., http://localhost:8546/rollApp_alias).
4
Use Your Preferred Tools
Deploy contracts and send transactions as you would with any local EVM node.
Keystore Management
Elder-Wrap includes a built-in keystore for managing your keys securely. You can:- List all keys
- Import a new key
- Delete a key
- Query key details by alias, elder address, or EVM address
API Endpoints
Elder-Wrap exposes endpoints for listing RollApp configurations and sending transactions. You can also interact with it programmatically from your dApps. To list all RollApp configurations, use:Example API Response
Here’s what a successful response looks like:Docker Build Options
Elder-Wrap can be built and run using Docker for easier deployment and environment management.Usage Workflow
1
Configure Your Environment
Set up your
config.yaml
file with appropriate values for your RollApp configuration.2
Start Elder-Wrap Server
Run
./elder-wrap server
to start the adapter service.3
Connect Your Development Tools
Point your Hardhat, Truffle, or other EVM tools to the Elder-Wrap endpoint.
4
Deploy and Interact
Deploy contracts and send transactions as you would with any local EVM node.
5
Manage Keys (Optional)
Use the keystore functionality to manage your private keys securely.
For advanced configuration, troubleshooting, and updates, see the official Elder-Wrap docs.