These docs are for v1.0. Click to read the latest docs for v2.3.

Brand Identity

Methods related to the identity management.

Read Identity

Get information related to a registered identity on Arianee's network.

Method

ArianeeWallets.methods.getIdentity(address)
ParameterTypeMandatoryDescription
addressStringIdentity address.

Output

promise returns object: An Arianee Identity object.

Example

// Read identity information  
wallet.methods.getIdentity('0x5f89d20c4a88FC2479b08522d5adD0b605001E3e').then((data)  => {
    console.log(data);
})

> { data:
   { '$schema':
      'https://cert.arianee.org/version1/ArianeeBrandIdentity-i18n.json',
     name: 'Arianee Live Demo',
     companyName: 'Arianee Live Demo',
     arianeeMembership: 'not_member',
     pictures: [ [Object] ],
     rpcEndpoint: 'https://bdhalex-826d5.firebaseapp.com/rpc' },
  isAuthentic: true,
  isApproved: true,
  address: '0x5f89d20c4a88FC2479b08522d5adD0b605001E3e' }

Read Identity using short code

Get information related to a registered identity on Arianee's network based on shortcode.

ArianeeWallets.methods.getIdentitByShortcode(shortcode)
ParameterTypeMandatoryDescription
shortcodeStringIdentity address shortcode.

Output

promise returns object: an Arianee Identity object.

Example

// Read identity information  
wallet.methods.getIdentitByShortcode('0xb908B6').then((data)  => {
    console.log(data);
})

> { data:
   { '$schema':
      'https://cert.arianee.org/version1/ArianeeBrandIdentity-i18n.json',
     name: 'Arianee Live Demo',
     companyName: 'Arianee Live Demo',
     arianeeMembership: 'not_member',
     pictures: [ [Object] ],
     rpcEndpoint: 'https://bdhalex-826d5.firebaseapp.com/rpc' },
  isAuthentic: true,
  isApproved: true,
  address: '0x5f89d20c4a88FC2479b08522d5adD0b605001E3e' }