Web3 & MetaMask - Bubble plugin
Get PluginAll our plugins
  • Overview
  • Quick Start Example
  • Elements details
    • Web3 & MetaMask
      • Connect To MetaMask
      • Disconnect MetaMask
      • Send token With MetaMask
      • Get Balance of a Token
      • Get Balance of Multiple Tokens
      • Get Token Symbol
      • Sign
      • Check signature
      • Sign Typed Data
      • Check signature-Typed Data
      • Smart Contract - Read
        • Example - CAKE/BUSD rate on Pancaksewap
      • Smart Contract - Write
        • Example - Write a function
      • Trigger Switch Chain
      • Approve - Set Allowance
      • Revoke Allowance
      • Deploy Contract
      • Add Chain to MetaMask
      • Get NFT Metadata
      • Check NFT Balance
      • Smart Contract - Read
      • Smart Contract - Write
    • Web3 Utils
      • Get Transaction confirmations
      • Get Transaction Details
      • To Wei
      • From Wei
      • Add Token to MetaMask
      • Get ENS data
      • Get ENS Domain from Address
  • Use with other Wallets & Plugins
  • Sign up a user with signature
  • How to use on Mobile
Powered by GitBook
On this page
  • Here you will find all demo pages for this plugin:
  • Plugin Features

Overview

Bubble plugin: Web3 & MetaMask documentation

NextQuick Start Example

Last updated 2 years ago

FYI We are still working on completing this documentation.

This is a plugin for bubble.io platform made by It allows to use web3.js and MetaMask SDK without code to build a modern web3 app. Despite the name, it also can connect to other Web3 wallets besides the MetaMask. See details about it

In case you are new to Bubble, see the video tutorial below before continuing.

Here you will find all demo pages for this plugin:

This page contains a list of all available demo pages for this plugin. We did a separate page for each mostly requested feature. Take a look on how it works, also open it in the app editor to see the workflow.

Plugin Features

The plugin has 2 elements to separate the main features from the optional additional features.

Web3 & MetaMask - main element

All Features in this element:

  • Check multiple NFTs Balance at once

  • Check Allowance

  • Approve (Set Allowance)

  • Transfer From

  • Deploy a Smart Contract

  • Detect connected chain and on chain changed

  • Send Transaction

  • Transfer NFT to another wallet

  • Import a custom token

  • Wrap/Unwrap ETH to WETH

Web3 Utils - optional element

Optional element, it will add additional useful features to your app All Features in this element:

  • Check Is Address

  • Get Gas Price

  • Get Latest Block Number

  • Extract contract ABI

  • Get Unix Timestamp

  • Open MetaMask App (Deep link for mobile)

  • Convert Hex to Number and vice versa.

  • Convert List of Numbers to Hex

  • Convert Ascii to Hex

  • Subscribe to Smart Contract Events

  • Subscribe to New Block mined event (Can be used as a timer to check for changes on the blockchain)

  • Get Avatar from MetaMask Wallet

Make sure to add the element on the page not inside a group or popup!

Adding more than 1 of each element on the page may result in errors.

See details for each feature in the

(Amount sent, Receiver, Contract used, Timestamp, Full JSON data)

See details for each feature in the

https://web3-demo.bubbleapps.io/version-test/
Connect to MetaMask wallet
Disconnect MetaMask
Send any token to an address
Get Balance of any token
Get Balance of a list of tokens
Check NFT Balance
Get Token Symbol
Revoke Allowance
Smart Contract Interaction - Read
Smart Contract Interaction - Write
Sign
Sign Typed Data (EIP-712) (v.4)
Check signature
Get NFT Metadata
Trigger change network popup in MetaMask
Trigger Switch Chain
Request to add a Chain to MetaMask
Elements section
Convert To Wei
Convert From Wei
Get Transaction confirmations
Get Transaction Details
Request to add custom token to MetaMask
Get Transaction Details
Get ENS Domain from Address
Get All text records from an ENS name (Email, Avatar, Url, Twitter, etc.)
Elements section
NovaBloq
here
Join the Web3 NoCode Discord Server!Discord
Our team is active on Discord. Join for discussions and support
Logo