Kana Labs
  • Getting Started
    • Welcome to Kana Labs
  • CROSS CHAIN SWAPS
    • AMM DEX Aggregator
  • INTEGRATE KANA WIDGET
    • Kana Widget
      • Install Widget
      • Configure Widget
      • Configure Aptos Keyless
  • Web3 Aggregator SDK
    • Web3 Aggregator SDK
      • Installation
      • SameChain
      • Cross Chain Swap
      • Aggregator API's
  • SPOT TRADING PLATFORM
    • Kana Trade
      • API Docs
  • PERPETUAL FUTURES
    • Kana Perps
      • Getting Started
        • Mint Tokens on Testnet
      • Breaking Down Kana Perps
        • Assets Supported
        • Order Types
        • Orderbook
        • Funding Rate
        • Leverage
        • Margin and Liquidation
        • Hedge Mode
          • Hedging a Short-Term 2-3% Price Decline
          • Dual Positioning for Flexible Profit-Taking
        • Trading Fees
      • API Docs
        • Installation Setup
        • Kana Perps Typescript REST API
        • Kana Perps Python Websocket API
        • Kana Perps Python REST API
        • Steps to place an order
        • Perps Contract Error Codes
        • Websocket Connection
        • Supported Markets
  • SPOT & PERP APIs
    • Trading APIs
      • Kana Trade API
      • Kana Perps API
        • Installation Setup
        • Example setup functions
        • Kana Perps Typescript REST API
        • Kana Perps Websocket API
        • Kana Perps Python Websocket API
        • Kana Perps Python REST API
        • Steps to place an order
  • PAYMASTER SERVICE
    • Kana Paymaster For Aptos and Supra
      • How it works?
      • How to Register?
      • Deposit Allowance
      • Manage Users
      • Paymaster SDK Tutorial (Typescript)
      • Paymaster API
      • Module & Function Whitelist
      • Subscription - Coming soon
      • FAQS
  • PERPETUAL OPTIONS
    • OPerps
  • Tokenomics & Governance
    • Kana Labs Tokenomics
  • REWARDS & REFERRAL PROGRAM
    • Rewards Program
      • Reward Program Season 1
      • Reward Program Season 2
      • How to Keep Track of Your Points?
      • Where to find the Missions Dashboard?
  • Referral Program
    • How to Generate Referral Link? (For the Referrer)
    • How to map your wallet to the invite IDs? (For the invited users)
Powered by GitBook
On this page
  • Dashboard
  • Adding to the Whitelist
  • Disable Users
  • Enable Users
  • Using SDK
  • Enable User
  • Disable User
  1. PAYMASTER SERVICE
  2. Kana Paymaster For Aptos and Supra

Manage Users

PreviousDeposit AllowanceNextPaymaster SDK Tutorial (Typescript)

Last updated 5 months ago

Dashboard

Adding to the Whitelist

To sponsor transactions from a specific wallet address, it must first be added to your whitelist of approved addresses. This ensures only authorized addresses can receive sponsored transactions paid from your allowance balance.

On the dashboard you can manually add addresses to whitelist and remove from whitelist.

Address Parameter

The "address" parameter specifies the wallet address you want to whitelist. Enter or paste the full 40 character hex address here without any formatting.

Add

Click the Add button to make the request to add this address to your personal whitelist. You will receive a response confirming if the address was successfully added. Now this address is eligible to receive sponsored transactions from your account, up to the specified gas limit.

Disable Users

This disable option to to stop users from using sponsored txns.

Enable Users

Enable users to resume sponsored txns for that user

Using SDK

You can also manage users with following functions on the paymaster sdk.

Enable User

const enable = await sdk.enableUser();
console.log(enable);

// Output log
{ success: true, message: 'Successfully changed user state to true' }

Disable User

const disable = await sdk.disableUser();
console.log(disable);

// Output log
{ success: true, message: 'Successfully changed user state to false' }

Whitelist page
Add user to whitelist
Disable Users with a toggle button
Enable user with toggle button