# Client ID
As you may know, the Client ID is now required.
See the article:
https://blog.thirdweb.com/changelog/api-keys-to-access-thirdweb-infra/It is free to use, get one from:
https://thirdweb.com/dashboard#### About plugin elements.
The plugin has a lot of features, to make it easier to use, it has a few elements for different tasks, so you can use only the one you need, or use all of them at the same time.
The elements are categorised, see details below.
# thirdweb NFTs - Element
Add this element if you want to work with NFTs
Please note if you are using this for custom contracts, those contracts will need to inherit ERC1155mintable.sol from thirdweb
https://portal.thirdweb.com/solidity/extensions/erc1155mintable# thirdweb ERC20 - Element
This element is basically the same as the above, it is just all about ERC20 tokens.
# thirdweb: Conf & Wallet
This is the main element that is required to be used. It is for connection to the user wallet or provided private key.
All features form other elements will be available only if the state of this element called "Is Ready" is be Yes, that means that the connection was made successfully and the thirdweb sdk is ready to be used.
In this element you also can:
- Setup Gasless feature
# thirdweb: MRKT V2
Using the marketplace V2 (Legacy)
You will need to firstly deploy your own marketplace smart contract.
This contract will be used for all sales, auctions, bids etc. for all NFTs from your platform.
# thirdweb: MRKT V3
This is element uses the newest SDK and marketplace contract of version 3. For new contracts please use this one, V3 instead of legacy V2.
# The possible errors messages in state "Error Message Log"
- Insufficient funds for gas * price + value
- Contract transaction failed
- Could not find listing with given ID
- Insuficient funds!
- Bid price is too low
- Auction has not ended yet
# How to install the plugin1. Add the "thirdweb: Conf & Wallet" element on the page.
2. Select the wallet you want to use
(for example to use with Web3&MetaMask plugin, select MetaMask, the Web3&MetaMask plugin element must be added on the page as-well)
Supported plugins for connection:
Web3&MetaMask, WalletConnect PRO, Coinbase, Web3Auth or directly with a private key.
3. Make the connection (see demo for reference)
4. After wallet connection, the element state "Is Ready" will be Yes, after that you can use any other plugin element
Note!
Add the element you want to work with on the page. Make sure it is not inside a hidden group or popup.
# For examples and documentation, check the demo page, you can open it in the app editor to see how it works
Latest update:
31 July 2023 - Client ID is now Required