Introduction
Overview
Once users grant their wallet permissions to the dapp, the @sky-mavis/waypoint/headless
package enables the dapp to reconstruct the user's wallet provider. This provider is compatible with the EIP-1193 standard, allowing direct interaction with the user's keyless wallet without requiring user confirmation.
Due to security risks and the less complex implementation, user authorization and wallet creation must be managed by the Ronin Waypoint. This way, Ronin Waypoint can ensure the security of the user's wallet and assets while minimizing any negative impact on the user experience within the dapp.
Prerequisites
Permission to use the Sky Mavis Account service. For more information, see Setup and configuration.
Installation
To install the SDK, use the following command:
- npm
- Yarn
- pnpm
npm install @sky-mavis/waypoint
yarn add @sky-mavis/waypoint
pnpm add @sky-mavis/waypoint
How it works
- Delegate wallet permissions: The user delegates their wallet permissions to the dapp using the Ronin Waypoint.
- Connect and interact to the keyless wallet: The dapp connect and interact to the user's keyless wallet provider directly to send transactions, sign messages, and more.
Next steps
Let's learn to delegate wallet permissions to the dapp to interact with the user's keyless wallet directly.