Tutorials and Examples
This section features step-by-step guides and practical use cases to help you effortlessly integrate our SDK features into your applications.
📄️ 1. Setup SDK
The Eniblock SDK uses an access token provided by your application to manage user identities. This structure helps ensure user privacy as it prevents the SDK from storing or handling any private user information. Therefore, the crucial responsibility of your application is to provide and validate the access token.
📄️ 2. Instantiate wallets and accounts
Overview
📄️ 3. Store a wallet on a remote drive
This section of the documentation focuses on the importance of storing a wallet.
📄️ 4. Checking account balance
The Eniblock SDK provides the ability to check the balance of an account within a wallet, be it native or non-native tokens. Additionally, it also allows for the balance checking of any blockchain address, even if it's not part of the Eniblock wallet.
📄️ 5. Build a transaction and estimate the gas fee
In this tutorial, we will guide you through the process of estimating the gas fee for a transaction using the given code snippet. Estimating gas fees is crucial for managing costs while sending transactions on a blockchain network.
📄️ 6. Transfer native cryptocurrency
In this tutorial, we will walk you through the process of transferring native cryptocurrency between two wallets using the Eniblock SDK.
📄️ 7. Transfer non-native token
Transferring non-native tokens, such as ERC20, ERC721, or ERC1155, across wallets is an essential functionality in the decentralized finance (DeFi) space. In this tutorial, we'll guide you step by step on how to achieve this using the Eniblock SDK. Our focus will be on ERC20 tokens, but the process can be adapted for other token types as well.
📄️ 8. Get notified of transactions
Monitoring incoming and outgoing transactions is an essential part of many applications that deal with cryptocurrency. This guide will explain how to use the Eniblock SDK to get real-time notifications of transaction events.
📄️ 10. Retrieve account transactions history
Overview
📄️ 11. Select the Network
In this guide, we'll cover how to select and work with different networks using the Eniblock SDK.
📄️ (Web3 Developer) Using TSS Signer with Ethers
If you have already implemented wallet functions using Ethers Signer class, you can use Eniblock's Wallet SDK signer seamlessly.