RanchiMall
+FLO Operations
+FLO Blockchain API Operations
++ In this page we have, Transactions, Read and Write sections. +
++
SendTx
++ It is used to send a transaction to blockchain, resolves transaction id if the transacation was succsessful. +
+SendTx multiple
++ It is used to send a transaction to blockchain from multiple floIDs to multiple FLO Id's. +
+Merge UTXOs
++ It is used to send a transaction to blockchain that merges all utxos of the given FLO Id. +
+ReadTx
++ It is used to read transactions of specified address between from and to. +
+ReadallTx
++ It is used to read all transactions of specified address(newest first). +
++ +
Send Tx
+
+ It is used to send a transaction to blockchain, resolves transaction id if the transacation was succsessful. +
+Syntax: floBlockchainAPI.sendTx(senderAddr, receiverAddr, sendAmt, PrivKey, floData = '')
+ Read more about SendTx>>>
+
+
+ +
Send Tx Multiple
+
+ It is used to send a transaction to blockchain from multiple floIDs to multiple FLO Id's. +
+Syntax: floBlockchainAPI.sendTxMultiple(senderPrivKeys, receivers, floData = '')
+ Read more about SendTx Multiple>>>
+
+
+ + +
MergeUTXO's
+
+ It is used to send a transaction to blockchain that merges all utxos of the given FLO Id. +
+Syntax: floBlockchainAPI.mergeUTXOs(floID, privKey, floData = '')
+ Read more about Merge UTXO's>>>
+
+
+ +
Read Tx
+
+ It is used to read transactions of specified address between from and to. +
+Syntax: floBlockchainAPI.readTxs(addr, from, to)
+ Read more about ReadTx>>>
+
+ + +
+ + +
Read all Tx's
+
+ It is used to read all transactions of specified address(newest first). +
+Syntax: floBlockchainAPI.readTxs(addr)
+ Read more about ReadallTx's>>>
+
+
+ +
Get Balance
++ It is used to fetch the Balance of an FLO Id. +
+Read Data
++ It is used to read FLO data from transactions of specified address. +
++ +
Get Balance
+
+ It is used to fetch the Balance of an FLO Id. +
+Syntax: floBlockchainAPI.getBalance(addr)
+ Read more about Get Balance>>>
+
+
+
+
Read Data
+
+ It is used to read FLO data from transactions of specified address. +
+Syntax: floBlockchainAPI.readData(addr, options = {})
+ Read more about Read Data>>>
+
--------OPTIONS--------
++ +
+
Write Data
++ It is used to write data into blockchain, resolves transaction id if the transacation was succsessful. +
+Write Data Multiple
++ It is used to writes data into blockchain from multiple FLO ID's to multiple FLO ID's, resolves transaction id if the transacation was succsessful. +
++
Write Data
+
+ It is used to write data into blockchain, resolves transaction id if the transacation was succsessful. +
+Syntax: floBlockchainAPI.writeData(senderAddr, Data, PrivKey, receiverAddr = floGlobals.adminID)
+ Read more about Write Data>>>
+
+ +
Write Data Multiple
+
+ It is used to writes data into blockchain from multiple FLO ID's to multiple FLO ID's, resolves transaction id if the transacation was succsessful. +
+Syntax: floBlockchainAPI.writeDataMultiple(senderPrivKeys, data, receivers = [floGlobals.adminID], preserveRatio = true)
+ Read more about Write Data Multiple>>>
+
+
+
FLO Crypto Operations
++ In this page we have, Generate, Verify, Shamir's Secret Shares and Encrypt & Decrypt sections. +
++
Generate FLO ID
++ To generate a new set of FLO ID,private key, Public key. +
+Calculate FLO ID
++ To calculate FLO ID using Private or Public key. +
+Calculate Public key
++ To Calculate Public key using private key. +
+Random Integer
++ To Generate a Random Integer by providing minimum and maximum values. +
+Random String
++ To Generate Random String by its length. +
+Sign Data
++ To sign data using Private key. +
++ +
+
Generate new FLO ID:
+
To generate new set of FLO ID, click the GENERATE button.
Syntax: floCrypto.generateNewID()
+
+ Read more about Generate new FLO ID>>>
+
Calculate FLO ID
+To get FLO ID using your Private key or Public key,click on CALCULATE button.
Syntax: floCrypto.getFloID(publickey_or_privateKey)
+ Read more about Calculate FLO ID>>>
+
+
Calculate Public Key HEX
+To get the Public key using your Private key, click the CALCULATE button.
+Syntax: floCrypto.getPubKeyHex(privateKey)
+ Read more about Calculate Public Key Hex>>>
+
Generate Random Integer
+To Generate Random integer click on, GENERATE button.
+Syntax: floCrypto.randInt(min, max)
+ Read more about Generate Random Integer>>>
+
+ +
Generate Random String
+To Generate Random string click on, GENERATE button.
+Syntax: floCrypto.randString(length, alphaNumeric)
+
+ Read more about Generate Random String>>>
+
+
+
Sign Data
+To Sign the data, click on SIGN button.
+Syntax: floCrypto.signData(data, privateKey)
+ Read more about Sign Data>>>
+ +
+ +
Verify Private Key
++ To Verify Private key using Public key or FLO Id. +
+Validate FLO ID
++ To Validate FLO ID is correct or not. +
+Verify Signature
++ To Verify Signature using the Public key. +
++ + +
Verify Private key
+To verify the Private key using Public or FLO ID, click on VERIFY button.
+Syntax: floCrypto.verifyPrivKey(privateKey, pubKey_floID, *isfloID)
+ Read more about Verify Private Key>>>
+
Validate FLO Id
+To Validate FLO ID click on, VALIDATE button.
+Syntax: floCrypto.validateAddr(floID)
+ Read more about Validate FLO ID>>>
+
+
Verify Signature
+To Verify Signature ,click on VERIFY button.
+Syntax: floCrypto.verifySign(data, signature, publicKey)
+ Read more about Verify Signature>>>
+
Create Shamir's Secret Shares
++ To Create Shamir's Secret Shares By providing the number of shares and threshold limit. +
+Retrieve Shamir's Secret
++ To retrieve Shamir's secret by providing Shares created. +
Verify shamir's Secret
++ To Verify Shamirs Secret shares by providing the shares and the original strig. +
++ + +
Create Shamir's Secret shares
+To Create Shamir's Secret click on, CREATE button.
+Syntax: floCrypto.createShamirsSecretShares(str, total_shares, threshold_limit)
+ Read more about Create Shamir's Secret>>>
+
Retrieve Shamir's Secret
+To Retrieve Shamir's Secret shares click on, RETRIEVE button.
+Syntax: floCrypto.retrieveShamirSecret(sharesArray)
+ Read more about Retrieve Shamir's Secret>>>
+
+
+
Verify Shamir's Secret
+To Verify Shamir's Secret shares click on, VERIFY button.
+Syntax: floCrypto.verifyShamirsSecret(sharesArray, str)
+ Read more about Verify Shamir's Secret>>>
+
+
Encrypt Data
++ To Encrypt the data using Public key. +
+Decrypt Data
++ To Decrypt the data using Private key. +
++
Data Encryption
+To Encrypt the data, click on ENCRYPT button.
+Syntax: floCrypto.encryptData(data, publicKey)
+ Read more about Data Encryption>>>
+
+ + + +
Decrypt Data
+To Decrypt data click on, DECRYPT button.
+Syntax: floCrypto.decryptData(data, privateKey)
+ Read more about Decrypt Data>>>
+
FLO Cloud Operations
++ In this page we have, Application Data, General Data and Object Data sections. +
++
Send Application Data
+
+ To Send Application Data sends
data to the cloud.
+
Request Application Data
+
+ Request Application Data requests the
application data from the cloud.
+
+
Send Application Data
+
+ Send Application Data sends application data to the cloud.
+ Read more about Send Application Data>>>
+
Syntax:floCloudAPI.sendApplicationData(message, type, options = {})
++ + + + +
Send General Data
+
+ Send General Data sends general data to the cloud.
+ Read more about sendGeneralData>>>
+
Syntax : floCloudAPI.sendGeneralData(message, type, options = {})
++ +
Request General Data
+
+ Request General Data requests application data from the cloud.
+ Read more about Request General Data>>>
+
Syntax : floCloudAPI.requestGeneralData(type, options = {})
+Reset Object Data
++ resetObjectData resets the objectData to cloud +
+Update Object Data
++ updateObjectData updates the objectData to cloud. +
+Request Object Data
++ requestObjectData requests application data from the cloud. +
++
Reset Object Data
+
+ Reset Object Data resets the objectData to cloud.
+ Read more about resetObjectData>>>
+
Syntax : floCloudAPI.resetObjectData("objectName", options = {}) +
+Key-Value Pairs
++ +
Update Object Data
+
+ Update Object Data updates the objectData to cloud.
+ Read more about updateObjectData>>>
+
Syntax : floCloudAPI.updateObjectData("objectName", options = {}) +
+Key-Value Pairs
++ +
Request Object Data
+
+ Request Object Data requests application data from the cloud. + Read more about requestObjectData>>> +
+Syntax : floCloudAPI.requestObjectData("objectName", options = {}) +
++