Antelope Sigining Request (ESR)
Antelope Signing Request (ESR) provides a standardized way for dApps to interact with wallets in the Antelope blockchain ecosystem. It allows developers to create portable, reusable signing requests for both transactions and identity verification.
We support Antelope Signing Requests for Pangea Mainnet and Pangea Testnet, with plans to add compatibility for EOS, Telos, and WAX in the future.
For detailed information about ESR, refer to the Wharf Documentation.
Supported Feature
Identity Requests: Request user identity in a secure, OAuth-like process.
Transaction Requests: Send and manage blockchain transactions.
Developer Resources
Creating Identity and Transaction Requests
For instructions on how to create login or transaction requests for your dApp, refer to the official Wharfkit ESR Documentation.
The documentation provides comprehensive examples and tools to help you craft signing requests tailored to your dApp’s requirements.
Handling Signing Requests
When a signing request is received, the application detects it and triggers an event. Set up a listener to handle these events:
Resolving a Request
Resolving a request involves transforming an Antelope Signing Request (ESR) into a fully populated transaction using the necessary ABIs, account authorizations, and blockchain data. This step prepares the request for signing and broadcasting to the blockchain.
Approving a Signing Request
The approve
function handles the approval of an Antelope Signing Request (ESR). It resolves the transaction, signs it using the user's private key, and sends a callback to the dApp with the necessary payload.
The constructed payload is sent to the callback URL using an HTTP POST request.
Rejecting a Sigining Request
The reject
method handles the rejection of a signing request. When a user decides not to proceed with a transaction, this method sends a callback to notify the originating dApp that the request was canceled.
A POST
request is sent to the callback URL, informing the dApp that the request was rejected. The body of the request includes a clear message about the cancellation.
Last updated