Skip to main content

Embed

Embed is a component that allows you to embed your contract into a front end easily.

Configuration

Configure the setting of the embed component:

  • The RPC endpoint to connect to the blockchain
  • Whether transactions are gasless for the end users. This allows you to select and configure either Biconomy or OpenZeppelin Defender as the gas relayer.
  • Light or Dark mode (selecting System will use the user's system preference)
  • Primary color to be used for the main actions button backgrounds.

Embed configuration

Embed Code

Copy the code snippet and paste it into your front end to use the embed component.

Embed

Embed Preview

View a preview of your component!

Embed Preview