Arianee Docs

Arianee Docs

  • Arianee Home
  • GitHub

›SDK

Overview

  • Introduction
  • Arianee Project
  • Arianee Economy
  • Arianee Decentralized Platform

Key Features

  • Introduction
  • Create a Passport
  • Transfer a Passport
  • Prove ownership
  • Send Message to Passport
  • Link Event to Passport
  • Access Passport History
  • Update a Passport

Getting Started

  • How to proceed
  • KYB Process
  • Staking policy
  • Live Demo

SDK

  • ArianeeJS library
  • Wallet
  • Economy
  • Certificate
  • Identity
  • Messaging
  • ArianeeEvent
  • Events Listener
  • Arianee Privacy Gateway

Standards

  • Introduction
  • Arianee Links
  • Arianee Certificate Schema
  • Arianee Identity Schema
  • Arianee Event Schema
  • Arianee Wallet Sharing (BETA)

Smart Contracts

  • Arianee Testnet
  • Arianee Mainnet

Mobile App

  • Guidelines
Edit

Wallet

To interact with the Arianee protocol, you need a wallet. Few options exists

From privatekey

ArianeeWalletBuilder.fromPrivateKey(privatekey);

Creates a wallet with a plain private key

Parameter

  1. privatekey - string: a string representing a 64 hex digits prefixed with 0x

Result

object: ArianeeWallet object - an arianee wallet object

Example

let wallet = arianee.fromPrivateKey('0x516bd2a1d8fbff19ef39501b17176def4150589d9200df1f34e6d91f57f5f40b');

From randomkey

ArianeeWalletBuilder.fromRandomKey();

Creates a random wallet

Result

object: ArianeeWallet object - an arianee wallet object

Example

let wallet = arianee.fromRandomKey();

From mnemonic

ArianeeWalletBuilder.fromMnemonic(mnemonic);

Creates a wallet from a mnemonic (12 words)

Parameter

  1. mnemomonic - string: a string representing 12-word passphrase.

Result

object: ArianeeWallet object - an arianee wallet object

Generate a BIP-039 + BIP-044 wallet from mnemonic deriving path using the wordlist. The language is English (en). The derivation path is “m/44’/60’/0’/0/0”

Example

let wallet = arianee.fromMnemonic('path return wheel crime share torch orbit aunt sponsor earth feel prepare');

From random mnemonic

ArianeeWalletBuilder.fromRandomMnemonic();

Creates a random wallet based on a 12-word passphrase ("mnemonic")

Result

object: ArianeeWallet object - an arianee wallet object

Generate a BIP-039 + BIP-044 wallet from mnemonic deriving path using the wordlist. The language is English (en). The derivation path is “m/44’/60’/0’/0/0”

Example

let wallet = arianee.fromRandomMnemonic();

public and private keys

When your wallet is instantiated, address and private key are available.

let address = wallet.address;
let privateKey = wallet.privateKey;

nb: publicKey property is deprecated.

Last updated on 4/9/2020
← ArianeeJS libraryEconomy →
Docs
OverviewGetting startedArianeeJS SDK Reference
Community
Telegram
Follow @ArianeeProject
More
GitHub
Copyright © 2022 .Arianee Project
Association subject to the Law of 1 July 1901 and the Decree of 16 August 1901
Siret Number 852 836 105 00019 – APE 9499Z