Issuer Configuration Socios
Socios Issuer configuration
Prerequisites:
Socios developer account
Full Stack Node JS Web Application
Installation of https://github.com/TokenScript/token-negotiator-server (server-side)
Installation of Token Negotiator version 3.1.0 or greater (client-side)
Client-Side:
Parameter | Type | Details | Options |
---|---|---|---|
onChain | boolean | set to true | true | false |
fungible | boolean | set to true (NFT support coming soon) | true | false |
chain | string | set to 'eth' | string |
blockchain | string | set to 'evm' | string |
collectionID | string | A unique string identifier for your usage (this will be the name space your tokens are kept) | string |
contract | string | set to '0x3506424F91fD33084466F402d5D97f05F8e3b4AF' | string |
oAuth2options.consumerKey | string | your Socios application consumer key | string |
oAuth2options.partnerTag | string | your Socios account partner tag | string |
oAuth2options.endpoints.redirectURI.path | string | as per your Socios application configuration, the re-direct URI to return to after user login is complete | string |
oAuth2options.endpoints.userBalance.path | string | Your back end applications endpoint utilises Token-Negotiator-Server to get user token balances | string |
oAuth2options.endpoints.userNFTs.path | string | Your back end applications endpoint utilises Token-Negotiator-Server to get user NFT token balances (Not yet available) | string |
oAuth2options.endpoints.userLogout.path | string | Your back end applications endpoint utilises Token-Negotiator-Server to logout the user (Not yet available) | string |
Example configuration:
Server-Side:
Parameters | Type | Details | Options |
---|---|---|---|
collectionID | string | A unique string identifier for your usage (this will be the name space your tokens are kept) | |
consumerKey | string | your Socios application consumer key | |
consumerSecret | string | your Socios application consumer secret | |
partnerTag | string | your Socios account partner tag | |
redirectURI | string | as per your Socios application configuration, the re-direct URI to return to after user login is complete | |
returnToApplicationURL | string | URL to re-direct the user once the application has authenticated a user via login |
Example configuration:
For support and any questions please reach out to us on discord or via sayhi@smarttokenlabs.com
Last updated