Elder-Wrap
Elder-Wrap
Elder-Wrap is an adapter that enables developers to interact seamlessly with any EVM RollApp connected to the Elder Chain. By starting the elder-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 for a streamlined development experience.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.
Usage
Use the
elder-wrap
binary to start the server in local or manage keys.Configure your EVM tooling to point to the
elder-wrap
endpoint (e.g.,http://localhost:8546/rollApp_alias
).Use your preferred EVM tools as you would with any local node.
To know the elder address corresponding to private key use keystore commands.
Steps to use elder-wrap
To start server
To use Keystore
To list all keys
To import a new key
To delete a key
To get key details by alias
To get key details by elder address
To get key details by evm address
API Endpoints
Base endpoint: http://localhost:8546
List RollApp Configurations
GET /
Returns all available RollApp endpoints and their configurations
Response example:
Send Transactions
POST /{rollapp-name}
Use this directly in your dApp to send transactions to RollApps
Example
ROLL_APP_RPC : base_url/rollapp1
Docker Build Options
You can also build and run Elder-Wrap using Docker:
Using Docker Bake
Last updated