Authentication
🔐 Authentication with Keplr Wallet and Access Token
To ensure a secure and seamless authentication process within the Data Layer (DL) built on the Cosmos ecosystem, we leverage the power of Keplr Wallet. Keplr is a user-friendly web extension wallet designed to interact with Cosmos-based blockchains and enable secure interactions with decentralized applications (dApps).
Keplr Wallet
Here's how you can authenticate and interact with the DAL using Keplr Wallet:
-
Install Keplr Wallet Extension:
Before getting started, make sure you have installed the Keplr Wallet extension for your web browser. You can download Keplr Wallet from their official website at https://www.keplr.app/. Once installed, you'll be able to access and interact with Cosmos-based blockchains, including the Data Layer. -
Access the Developer Portal:
Head over to our Developer Portal at https://developer-portal.syntropynet.com/ to begin your journey with the Data Layer. -
Connect Your Keplr Wallet:
Click on the "Launch App" button on the Developer Portal to initiate the process. Keplr Wallet will prompt you to connect your wallet. Follow the on-screen instructions to establish the connection. -
Adding Your Dapp:
With your Keplr Wallet authenticated, you can now create and manage your dApps within the Data Layer. Use the "+" icon next to "Your Dapps" to add a new application, provide it with a unique name, and save the generated "Access Token." -
Secure Access Token:
The "Access Token" is a critical piece of information that you need to save and keep secure. It serves as your authentication key for interacting with data streams, subscribing, publishing, and building the backend or frontend of your dApps. Make sure to store the "Access Token" safely as you'll need it for various operations. -
Approve Transactions with Keplr Wallet:
Whenever you create a new dApp or perform other actions that require transaction approvals, Keplr Wallet will prompt you to approve the transactions. Review the details and confirm the transactions via Keplr Wallet.
Access Token
When you create your dApp using the Developer Portal, a unique Access Token is generated specifically for your application. This Access Token acts as a key to unlock the capabilities and features of the Data Layer (DL) for your dApp.
As an example of an Access Token, let's consider the token: SAAPP2VYCCL7COJ6QFWKAISXWGKD7RDL254AUYHWW2C7JTGOQ6K2EKMF5Q
. This token encapsulates the necessary permissions and privileges for interacting with the Data Layer (DL).
With this Access Token, developers gain the ability to subscribe to data streams, publish data, and build the backend or frontend of their dApps within the DAL ecosystem. It acts as a secure digital passport, granting access to the world of decentralized real-time data.
Updated about 2 months ago