From 07acfea02737258a82eeea44fde1fb955581c20e Mon Sep 17 00:00:00 2001 From: Hamid Mehmood Date: Fri, 9 Nov 2018 12:18:27 +0000 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c900c06..60f1ff9 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Use the ActiveLedger SDK interface to Use the SDK. ## Initialise the SDK -``` +```Java ActiveLedgerSDK.getInstance().initSDK(this,"protocol","URL","port"); Example: ActiveLedgerSDK.getInstance().initSDK(this,"http","testnet-uk.activeledger.io","5260"); @@ -18,7 +18,7 @@ ActiveLedgerSDK.getInstance().initSDK(this,"http","testnet-uk.activeledger.io"," ## Generate KeyPair -``` +```Java KeyPair keyPair = ActiveLedgerSDK.getInstance().generateAndSetKeyPair(KeyType,SaveKeysToFile); Example: KeyPair keyPair = ActiveLedgerSDK.getInstance().generateAndSetKeyPair(keyType,true); @@ -26,7 +26,7 @@ KeyPair keyPair = ActiveLedgerSDK.getInstance().generateAndSetKeyPair(keyType,tr ## Oboard KeyPair -``` +```Java ActiveLedgerSDK.getInstance().onBoardKeys(KeyPair, "KeyName"); Example: ActiveLedgerSDK.getInstance().onBoardKeys(keyPair, "ActiveLedgerAwesomeKey");