GP - Use Case and Functionalities

Gas Pump (GP) is a Smart Contract from Tatum that helps you manage Dust and Gas fees in a custodial application.

Standard Custodial transfer

  1. You assign a standard blockchain address (EOA) to an End-user to act as a "Deposit address".
  2. End-user deposits on-chain assets (ERC-20 tokens) from outside your Exchange or Application to his "Deposit address".
  3. You have to calculate the fees to transfer out the assets from the "Deposit address".
  4. You send native assets from your "Master Exchange Address" to the "Deposit address" of the End-user.
  5. You send the End-user assets from the "Deposit address" to your "Master Exchange Address".

Observations

  • Two transactions happened in this use case, where you had to pay gas fees for both.
  • Dust is generated and lost in the deposit address of the End-user.
  • If you have thousands or millions of addresses, this method creates an enormous amount of work and fees for you to pay.

Gas Pump Custodial transfer

  1. You select a blockchain address, you own the PrivateKey, to work as your "Master GP Address".
    • This address will pay for all transfer fees from your "Slave GP Contract Addresses"
  2. You Precalculate a "Slave GP Contract Address".
    • The address can be used to deposit assets only.
    • To transfer out requires activating the address (Smart Contract).
  3. You assign said precalculated "Slave GP Contract Address" to an End-user to act as a "Deposit address"
  4. End-user deposits on-chain assets (ERC-20 tokens) from outside your Exchange or Application to his "Deposit address".
  5. You activate the "Slave GP Contract Address".
  6. You send the End-user assets to your Master Exchange Address

Observations

  • You pay for the activation of the "Slave GP Contract Address".
    • On-chain cost charged by the blockchain due to Smart Contract Activation.
  • The transfer fees from the "Slave GP Contract Address" are paid by your "Master GP Address".
  • You avoid Dust management.
  • You may rotate and reassign an activated "Slave GP Contract Address", as needed, across your End-users.

Good to Know

❗️

Gas Pump is a Smart Contract Chain dependant. An activated "Slave GP Contract Address" in for example the ETH chain won't work to transfer out assets from another chain.