0.0.62 • Published 6 years ago

lendledger-cli v0.0.62

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

LendLedger CLI Based Application

This application describes the contract between the LL platform and particular Loan Management Systems which someone wants to integrate into the LL platform. This integration is named as Blockchain Integration Layer using Command Line.

This document may concern users which want to access LL platform using command line.

API for developers

The lendledger CLI contains information to transact using CLI

Deployment

The project is hosted on GitHub.

Prerequisites

Make sure you have Node.js 8.0.0 or higher installed. If not, install it

# Check your node version using this command
node --version
# Access the CLI application using the below command 
npm install -g lendledger-cli

How to use lendledger-cli

<network-type> : test/public 

<account-id> : Provided during create account.

<account-seed> : Provided during create account.

# Create Account 
lendledger create -n <network-type> 

# Create Account from Mnemonic(array of strings) which uses BIP39 protocol.
lendledger mnemonic -n <network-type> -m <mnemonic> -a <accounts>
Example :- lendledger mnemonic -n test -m "This is an example of mnemonic array of strings" -a 1

# Login to perform any transaction. Session is valid till 30 minutes. 
lendledger login -n <network-type> -a <account-id>

# Logout from current session 
lendledger logout

# Check the user currently logged into the system 
lendledger whoami

# Get Balance for an Account  
lendledger balance -n <network-type> -a <account-id>

# Audit Trail for an Account 
lendledger audit -n <network-type> -a <account-id>

# Change Trusline for an account to accept asset as currency 
lendledger changeTrust -n <network-type> -f <first-name> -l <last-name> -s <account-seed> -a <asset-name> -c <account-no> -i <account-ifsc>

# Issuer issues asset after user has changed trustline to accept asset as currency. 
lendledger issueAsset -n <network-type> -s <account-seed> -a <asset-name> -r <receiver-account-id> -m <asset-mount>

# Account Holder creates or manages offer inorder to buy or sell asset. 
lendledger manageOffer -n <network-type> -s <account-seed> -d <selling-asset-name> -i <selling-asset-issuer-account-id> -b <buying-asset-name> -j <buying-asset-issuer-account-id> -a <amount-to-sell> -p <asset-price-per-unit> -o <offer-id>

# Get all offer created by an account-id 
lendledger getOffer -n <network-type> -a <account-id>

# Lender lends owned asset to any account holder (Borrower) 
lendledger lend -n <network-type> -s <account-seed> -l <amount-to-lend> -m <memo-remarks> -a <assset-name> -b <borrower-account-id>

# Account holder (Borrower) exchanges asset to any fiat(USD/EUR/INR)
lendledger exchange -n <network-type> -s <account-seed> -e <amount-to-exchcange> -m <memo-remarks> -a <assset-name>
0.0.62

6 years ago

0.0.61

6 years ago

0.0.60

6 years ago

0.0.59

6 years ago

0.0.58

6 years ago

0.0.57

6 years ago

0.0.56

6 years ago

0.0.55

6 years ago

0.0.54

6 years ago

0.0.53

6 years ago

0.0.52

6 years ago

0.0.51

6 years ago

0.0.50

6 years ago

0.0.49

6 years ago

0.0.48

6 years ago

0.0.47

6 years ago

0.0.46

6 years ago

0.0.45

6 years ago

0.0.44

6 years ago

0.0.43

6 years ago

0.0.42

6 years ago

0.0.41

6 years ago

0.0.40

6 years ago

0.0.39

6 years ago

0.0.38

6 years ago

0.0.37

6 years ago

0.0.36

6 years ago

0.0.35

6 years ago

0.0.34

6 years ago

0.0.33

6 years ago

0.0.32

6 years ago

0.0.31

6 years ago

0.0.30

6 years ago

0.0.29

6 years ago

0.0.28

6 years ago

0.0.27

6 years ago

0.0.26

6 years ago

0.0.25

6 years ago

0.0.24

6 years ago

0.0.23

6 years ago

0.0.22

6 years ago

0.0.21

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago