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");