Token Negotiator
  • Introduction
  • Quick Start
    • Getting Started with NFT's
    • Getting Started with Fungible Tokens
    • Getting Started with Off Chain Tokens
  • Learn
    • Installation
    • Supported Chains
    • Supported Wallets
    • Supported Attestations
    • Event Hooks
    • Issuer Configurations
      • Issuer Configuration EVM
      • Issuer Configuration Solana
      • Issuer Configuration Flow
      • Issuer Configuration Ultra
      • Issuer Configuration Socios
      • Issuer Configuration Off Chain
    • Active Negotiation (UI)
      • Custom Views
      • View Navigation
      • Theme
      • Configuration Options
    • Passive Negotiation (no UI)
      • Wallet Connection
    • Token Authentication
      • Off Chain Authentication
      • On Chain Token Authentication (evm)
    • Smart Contract and wallet Interaction
      • Sign message
    • Off Chain Token Issuers
  • Reference
  • Articles
  • Videos
  • Showcase
  • Contribution
  • Support
  • Migrating from version 2x to 3x
  • Github Examples
Powered by GitBook
On this page
  1. Learn

Active Negotiation (UI)

Active Negotiation with Token Negotiator

The term "active negotiation" refers to the mode setting of Token Negotiator that displays it's own UI interface (customisable). This setting efficiently allows users to connect their wallet(s) and manage their token collection data.

Example usage:

const negotiator = new Client({
	type: "active",
	issuers: [{
		contract: "0x107065a122f92636a1358a70a0efe0f1a080a7e5",
		onChain: true,
		fungible: true,
		collectionID: "USX",
		chain: "matic",
	}],
	uiOptions: {
		uiType: "inline"
		openingHeading: "Open a new world of perks, benefits and opportunities with your token.",
		issuerHeading: "Get discount with token",
		repeatAction: "Try Again",
		dismissAction: "Dismiss",
		loadAction: "Load",
		balanceFoundEvent: "Balance found",
		nftsFoundEvent: "NFTS found",
		noTokensFoundEvent: "No tokens found",
		theme: "light",
		position: "bottom-right",
	},
});

The "uiOptions" allow for the UI to be shown as an overlay or embedded directly into a page in a chosen location. See the API Reference for the full list of options available.

PreviousIssuer Configuration Off ChainNextCustom Views

Last updated 1 year ago

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

discord