Smart Contract and wallet Interaction

Interaction with Smart Contracts and wallet features

Interaction with Smart Contracts and wallet technology features can be done via Token Negotiator.

For EVM smart contract integration an instance of Ethers.js can be access via:

window._ethers
// or
_ethers

Resources:

https://docs.ethers.org/v5

Example usage:

In the scenario below the Token Negotiator provides these functionalities to a website once a users wallet is connected:

  • To learn if a user holds tokens of specific collection(s) to offer them gated perks

  • To allow users to mint new tokens of a specific collection(s)

The details needed to make this on chain interaction are:

Example Usage:

For support and any questions please reach out to us on discord or via sayhi@smarttokenlabs.com

Last updated