Nuvo Documentation
  • Nuscriptions
    • Overview
    • Quick Guide
      • How to mint
        • Step 1 - Connect account
        • Step 2 - Mint
        • Step 3 - Check owned tokens
        • Step4 - Check my account
    • What's different
    • Protocol
      • Hotfix1
    • Indexer
    • Frontend
      • Step-by-Step Instructions
      • Feedback and Notifications
    • Marketplace
      • Auction
      • Spot
      • Derivatives
    • API
      • Overview
      • Get Balance of an Inscription for an address
      • Get Next ID for Minting
      • Get Delegation Amount
      • CheckID Availability
      • Get Status of an Transaction
      • Inscription Existence Verification (id)
      • List Owned Tokens
      • Get Deployment Details
      • Get Mint Amount
      • Get Token Owner
      • Get Transaction History of a Token
      • List All Minted Inscriptions
      • Inscription Existence Verification (tx_hash)
      • Construct Deployment Message
      • Construct Mint Message
      • Construct Transfer Message
      • Get Tokens
      • Get Number of Holders for Ticker
  • Nuvosphere
  • Get Started
    • Product Guides
      • Reputation Power Web 3.0 for Dapp Owners
      • How does Reputation Power work
      • Who are our customers
      • Where to Get Started with
      • Navigate to NuvoOne
        • How to create a dapp
        • How to design an NFT badge
        • How to issue NFT Badge and set up the campaign
      • Navigate to NuvoMe
      • Navigate to NuvoID
      • Navigate to NuvoBadge Claim
    • Demo videos
      • NuvoID_Introduction
      • NuvoMe_Claim event badge
      • NuvoOne_Introduction
      • NuvoOne_Web2 integrated with Nuvo
      • NuvoOne_Login
      • NuvoOne_Create Dapp
      • NuvoOne_Deploy Badge
      • NuvoOne_Campaign
      • NuvoOne_Manage Distribution
    • Step by Step guide to Issue Nuvo Badge
      • Access Nuvo One test environment
      • Create a new application
      • Issue Nuvo Badge
      • Distribute Nuvo Badge
      • Deploy the Nuvo Badge Project on Testnet
      • Repeat The Process on Nuvosphere Production Environment
  • Developer Guide
    • API List
      • Oauth2 Authorization
        • Dapp APIs
          • Get Dapp info
          • Get Dapp list
        • Badge APIs
          • Badge info
          • Badge claim
          • Badge favourite
        • User APIs
          • Get Eth Address with Name
          • Get Eth Address with NuvoID
          • Get user info
        • Wallet APIs
          • Token Transfer
            • Get latest price
            • Get token transfer list
            • Save token transfer info
            • Get transaction info
            • Get SDK transaction record
            • Get transfer list
          • Domain Transaction
            • Get chain URL
            • Get balance
            • Verify wallet pwd
            • Confirm transaction
            • Initiate transaction
        • NFT Badge Deploy
          • Deploy NFT Badge
          • Dapps NFT deployed list
          • Dapp Promotion
          • Upload Image
          • Update Dapp Promotion
          • Deployed NFT Badge List
          • NFT Detail
          • NFT Promotion
          • Update NFT Promotion
          • Update NFT Name
          • Update NFT start time & end time
          • Update NFT Badge Images
        • Badge Issuer
          • Set NFT Mint Permission
          • Badge Issue List
          • Update NFT Badge Issue Info
          • NFT Badge Upgrade Setup
          • NFT Badge Mint
      • Oauth2 Owner
        • Dapp management
          • Create Dapp
          • Update Dapp
          • Delete Dapp
          • Get Dapp List
          • Get Dapp Detail
        • Domain management
          • Create Domain
          • Get Domain
          • Update Domain
          • Delete Domain
        • Badge Issuer
          • NFT Badge Mint
          • Update NFT Properties
          • Badge Detail
          • Deployed NFT Badge List
          • Upload Image
          • Deploy NFT Badge
          • NFT RP Upgrade
          • Badge Query Data
        • User APIs
          • User Registration
          • Dapp Registration user list
    • SDK
    • Integration Center
    • BLS Wallet
    • MPC Wallet
    • NuvoBadge Graph
      • Introduction
      • Graph Schemas
        • NftBadgeEntity
        • DappEntity
        • UserEntity
        • UserDappMap
        • UserBadgeMap
  • Announcement
    • Nuvo Reputation Power explanation and FAQ
    • NuvoBadge Protocol
  • troubleshooting
    • Why MetaMask cannot connect to Nuvo
Powered by GitBook
On this page
  1. Developer Guide

Integration Center

This guidance is dedicated to integration of Nuvo into existing business/systems.

PreviousSDKNextBLS Wallet

Last updated 1 year ago

Assuming a website owner would like to seamlessly integrate all existing users onto Nuvo. We describe here a step-by-step tutorial of the process.

Third-party login basic integration flow

The overall process is described in Fig. 1.

Website owner create Nuvo account and a new dApp

Website owner accquire appid and API Key

Website use Nuvo's thrid-party Login/CreateUser API to acquire Nuvo user token

The following sample code demonstrates sample code of acquiring access code for a user.

// Get user Nuvo access token for existing user and register new user
const result = await axios.post('https://me.nuvosphere.io/api/v1/oauth2-app/register_user', {
    'username': 'xxxxxx',
  }, {
    headers: {
      'appid': 'xxxxxxx',
      'appkey': 'xxxxxx'
    }
  })
const accessToken = result.accessToken

The following sample code demostrates sample code of using acquired access code to mint a badge for a user.

// Mint NFT badge for user using access token
result = await axios.post('https://me.nuvosphere.io/api/v1/oauth2/nft/owner_mint', {
    'contract_address': 'xxxxxx',
    'eth_address': 'xxxxxx',
  }, {
    headers: {
      'Access-Token': 'xxxxxxx',
    }
  })

Alternative user login integration (OAuth) flow

We refer user to "" section on step-by-step guide on creating a dapp.

Please see the instruction on "" to access appid and API key. Fig. 2 shows a screenshot of the credentials tab to access API keys.

Fig. 2

Nuvo provide a convenient for a website owner to seamlessly register a new user using one of email/mobile/eth_address. This process can be run in the background without users feeling the overhead of going through the registration process. If a user is already registered, Nuvo api will return the user access token. If a user is not registered already, Nuvo will register that user and return the user access token. In either case, website owner can now use user access token to access Nuvo user functionality such as .

Please note that there are multiple ways of integration with Nuvo, such as using standard OAuth login flow. The drawback of this approach however is a few additional steps users need to go through and therefore a slightly less prefered user experience. An excellent video demostrating this approach can be found .

How to create a dapp section
How to create a dapp section
register user API endpoint
mint badge for user
here
Fig. 1