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:
Knowledge base querying,
Actions: Send and Swap transactions are covered.
Supported chains in the widget are :
Ethereum
Base
Soneium
Polygon
Last updated