Links
🖼

Purchasing, Staking, and Making Arbitrary Contract Calls

Enable your users to buy your NFTs, stake in your pools, and execute arbitrary calldata using any token from any supported blockchain

Purchase Process

Buying from or staking in most protocols is hard, especially for new users. Here's the normal process for buying from a Polygon NFT marketplace, beginning with ETH on Ethereum:
  1. 1.
    Start with ETH on Ethereum
  2. 2.
    Find a bridge
  3. 3.
    Confirm the bridging transaction
  4. 4.
    Wait for tokens to arrive on destination chain
  5. 5.
    Get gas on the destination chain from a faucet
  6. 6.
    Find a DEX that has liquidity for the token you need on the destination chain
  7. 7.
    Approve ERC20 token spend to the DEX's contract
  8. 8.
    Confirm the swap transaction
  9. 9.
    Go to your website
  10. 10.
    Approve ERC20 token spend to your contract
  11. 11.
    Confirm the final purchase transaction

Here's what buying from your website looks like with Brydge:

  1. 1.
    Go to your website
  2. 2.
    Select which chain to pay from
  3. 3.
    Select which token to pay with
  4. 4.
    Confirm the final purchase transaction
Use the above example in production here.
View the integration docs for Purchase mode: