SDK
The GMLayer SDK will provide specialized utilities in the future to meet the needs of advanced users for customized functionality, so stay tuned!
Type
Last updated
The GMLayer SDK will provide specialized utilities in the future to meet the needs of advanced users for customized functionality, so stay tuned!
Last updated
Guidebook | Note |
---|---|
Connect Wallet
We will use the Checkout SDK to create a Web3 provider for any supported wallet and make sure it is connected to the zkEVM network.
Exchange Chain
We will use the Checkout SDK to ask the user to add the zkEVM network to the wallet and switch to this new Chain.
Wallet Balance
We will use Checkout SDK to get the balance of tokens (ERC20) in the wallet. The list will contain tokens such as IMX, USDC, etc.
Gas fee Amount estimated
We will use the Checkout SDK to obtain an estimate of the Gas fee required to perform a key Checkout operation on zkEVM and L1 (e.g., Ether).
Smart Checkout
A guide to purchasing items through the Checkout SDK using an intelligent Checkout process.