Biconomy Gasless SDK (EOA)
DashboardMediumWebsite
  • 🚀Getting Started
  • Introduction
    • 🤘Why Biconomy?
    • 🙂How we simplify transactions
  • Products
    • 💸Gasless Transactions
      • Choose An Approach to Enable Gasless
        • Standard EIP 2771 Approach
          • 1. Register Artifacts on the Dashboard
          • 2. Code Changes
            • Using SDK
            • Using API
        • Custom Implementation Approach
          • 1. Register Artifacts on the Dashboard
          • 2. Code Changes
            • Using SDK
            • Using API
        • Smart Contract Wallet Approach
          • Gnosis
        • Network Agnostic Transactions
          • EIP-2771 Approach
          • Custom Approach
      • Conditional Whitelisting
      • Gasless SDK (EOA) 3
      • Networks Supported
    • ↔️Hyphen - Instant Cross-Chain Transfers
      • SDK
        • DepositManager
        • TransferManager
        • TokenManager
      • APIs
      • Helper Methods
      • Migrating from Hyphen V1
      • Contract Addresses
      • Hyphen Widget
  • Guides
    • 💻Dashboard
      • DApp Statistics
    • ⛽Gas Tank Deposits
      • Via Dashboard
      • Via Smart Contract
  • api
    • 🔧Native Meta Transaction
      • Get Retried Hashes
    • 🌎Dashboard APIs
    • ⚪Whitelist API
      • Whitelist Destination Address
      • Whitelist Proxy Contracts
    • 〰️ Check Limits
    • 💿Biconomy Data API
      • 👨‍🚀Unique User Data
      • 🧑‍🔧Per User Limits Data
      • ⛽Gas Tank Balance Data
  • SDK
    • 📙Gasless SDK (EOA)
      • Configuration
  • Tutorials
    • 🔰Native Meta Transactions
      • How To Build Your First DApp
        • Write Your First Smart Contract
        • Initialize Web3 on Client Side
        • Executing First Blockchain Transaction
      • Enable Native Meta Transactions
        • Smart Contract
          • Describe Your Structs
          • Declare Your Variables
          • Modify Respective Function
        • Client Side
          • Design Your JSON structure
          • Design Your Domain Separator
          • Design Data Types
          • Define Data To Sign
          • Generate Signatures
      • Integrate Biconomy
        • Register On Dashboard
        • Integrate Gasless SDK (EOA)
      • Summary
  • BICO Staking
    • 🪁Safety Module
  • Get in touch
    • 👥Contact Us
  • Misc
    • 🧩Projects on Biconomy
    • 🌐Supported Networks
    • 📫Contract Addresses
    • ✔︎ Smart Contracts Audit
    • ❓FAQs
Powered by GitBook
On this page

Was this helpful?

  1. Guides
  2. Gas Tank Deposits

Via Smart Contract

Dashboard is not the only way to deposit funds into your gas tank

PreviousVia DashboardNextNative Meta Transaction

Last updated 1 year ago

Was this helpful?

Apart from the dashboard, you can also make the deposit on the dApp Gas Tank smart contract externally.

Follow these steps to make a deposit via the dApp Gas Tank Smart Contract:

  • Copy your funding key from the dApp dashboard.

Using correct funding key is important as it's the only way to attribute incoming deposits to your dApp.

Your deposits should be higher than min deposit

  • Connect your wallet. In the write methods, go to depositFor and enter your funding key with the deposit amount and make a transaction.

Via Gnosis MultiSig Wallet

If you need to use a MultiSig wallet to deposit and cannot connect your wallet like above, follow the below steps given for Gnosis safe. Your Safe -> Apps -> Transaction Builder

Copy the ABI and address in the next form and select method depositFor. Enter the amount of deposit and your funding key -> Add transaction -> Send transactions.

//addresses and abi for gas tank can be found in smart contracts page
let gasTankContract = new ethers.Contract(
                        <GAS TANK ADDRESS>,
                        <GAS TANK ABI>,
                        <signer or provider with acccounts>
                    );

let fundingKey = <Your funding key>;
// replace with your desired funding amount (in wei) 
let tx = await gasTankContract.depositFor(fundingKey, {from:userAddress, value: “1000000000000000000”});
let receipt = await tx.wait(1);
console.log(“receipt”, receipt);

Go to the contract code in the block explorer (Explorer links present under in Contract Addresses section). From the read section find out the value of minDeposit set for that particular network.

For addresses go to:

It's also possible to make a deposit programmatically from your client-side code. You can find relevant contract addresses for the Dapp gas tank .

⛽
Funding Key details shown on your dapp gas tank
Making on-chain depositing externally for your funding key on the Gas Tank contract
using Gnosis Safe
Gnosis Safe Transaction Builder
Dapp Gas Tank Contracts
Dapp Gas Tank Contracts
here