To get started, please add the following scripts to your website
<script src=https://live-nft-hosted-assets.s3.ap-south-1.amazonaws.com/main.js></script>
<link rel="stylesheet" href="https://live-nft-hosted-assets.s3.ap-south-1.amazonaws.com/main.d86a3424.css"></link>
Also add the following HTML in the body
<div id="glip-social"></div>
init
method to initalize
Param | Use |
---|---|
ClientId | The id of the client created in the admin step. This is not the api_key, it is the id. |
Network Type | Possible values are 'testnet' or 'mainnet' This denotes whether test network or main network of the chain will be used. |
ChainName | Name of the chain being used in the marketplace. Eg. polygon |
LoginChangeCallback | Whenever a user logs in or out this CB will get called with whether with a Boolean denoting current state of login. |
GlipAuthGlobal.init('62335548760f50d618bc7b35', 'testnet','polygon',(loggedIn:boolean)=>{console.log(loggedIn);});