loan

module
v0.0.0-...-00efdc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2023 License: MIT

README

loan

loan is a blockchain built using Cosmos SDK and Tendermint and created with Starport.

Get started

starport chain serve -r

serve command installs dependencies, builds, initializes, and starts your blockchain in development.

Add loan
loand tx loan request-loan 100token 2token 200token 500 --from bob -y
Approve loan
loand tx loan approve-loan 0 --from alice -y
Query bank module
loand query bank balances <alice_address>
Repay loan
loand tx loan repay-loan 0 --from bob -y
Liquidate loan
loand tx loan liquidate-loan 0 --from alice -y
Cancel loan
loand tx loan cancel-loan 0 --from bob -y

Directories

Path Synopsis
cmd
loand command
testutil
nullify
Package nullify provides methods to init nil values structs for test assertion.
Package nullify provides methods to init nil values structs for test assertion.
x
loan/types
Package types is a reverse proxy.
Package types is a reverse proxy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL