githubEdit

Add Contracts to subscription

After creating your subscription and configuring gas settings, you need to whitelist your consumer contracts. Only whitelisted contracts can request random numbers from your subscription.

circle-info

Important: Make sure you've read the Gas Configuration page first. Understanding gas settings is crucial before adding contracts and funds, as your contract-level gas configuration directly impacts performance, costs, and minimum balance requirements

The easiest way to manage your contracts is through the web interface at supra.com/data/dvrfarrow-up-right.

Steps

  • Navigate to Contract Management

  • Add New Contract

    • Click "Add Contract"

    • Enter your contract address

    • Configure gas settings for this specific contract

  • Configure Contract Gas Settings For EVM Chains:

    • Callback Gas Price: Must be ≤ your subscription's maxGasPrice

    • Callback Gas Limit: Must be ≤ your subscription's maxGasLimit

  • Submit and Confirm

Remove Contracts from subscription

You can remove already whitelisted contracts via subscription manager UI or via onchain function.

Last updated