-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.txt
25 lines (17 loc) · 917 Bytes
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
1- Download the latest version of Android Studio.
2- Open the application in Android Studio.
3- Run the Application from Green Play Button on Top.
---------SDK Dev Instruction------------------------
Use the ActiveLedger SDK interface to Use the SDK.
---------Initialise the SDK-------------------------
ActiveLedgerSDK.getInstance().initSDK(this,"protocol","URL","port");
Example:
ActiveLedgerSDK.getInstance().initSDK(this,"http","testnet-uk.activeledger.io","5260");
---------Generate KeyPair-------------------------
KeyPair keyPair = ActiveLedgerSDK.getInstance().generateAndSetKeyPair(KeyType,SaveKeysToFile);
Example:
KeyPair keyPair = ActiveLedgerSDK.getInstance().generateAndSetKeyPair(keyType,true);
---------Oboard KeyPair-------------------------
ActiveLedgerSDK.getInstance().onBoardKeys(KeyPair, "KeyName");
Example:
ActiveLedgerSDK.getInstance().onBoardKeys(keyPair, "ActiveLedgerAwesomeKey");