Sample Implementation

This is a chain-agnostic implementation and any type of wallet can be integrated. Both dApps with browser wallets and dApps with embedded wallets (e.g scribble) can implement it. For wallet-related transactions like sign transaction, connect wallet etc, the widget sends requests to the dApp through events and the dApp processes these events and sends back the response. Security-related content has been updated in the technical docs. Complete implementation of the widget is available in the Example code. Features implemented are:

  1. Knowledge base querying,

  2. Actions: Send and Swap transactions are covered.

Supported chains in the widget are :

  1. Ethereum

  2. Base

  3. Soneium

  4. Polygon

Last updated