Skip to content

Latest commit

 

History

History
129 lines (89 loc) · 3.17 KB

README.md

File metadata and controls

129 lines (89 loc) · 3.17 KB

Left Curve

This is a monorepo containing a number of Left Curve Software products:

Name Language Description
dango Rust A suite of DeFi application smart contracts
grug Rust An execution environment for blockchains
sdk TypeScript An SDK for interacting with Grug chains
ui TypeScript A web interface for accessing Dango and other Grug chains

How to use

Prerequisites:

We use VS Code as text editor with the following plugins:

Rust

Install the grug command line software:

just install

Run tests:

just test

Lint the code:

just lint

Compile and optimize smart contracts:

just optimize

TypeScript

Before running any command is necessary to run:

pnpm install

Start the development mode for all packages in the sdk/packages:

pnpm dev:pkg

Start the development mode for the app located in the ui/portal directory:

pnpm dev:portal

Build the SDK:

pnpm build:pkg

Build both the SDK and the Portal App:

pnpm build:portal

Run tests:

pnpm test

Run linter:

pnpm lint

Generate documentation:

pnpm doc

Storybook:

pnpm storybook

Acknowledgement

TODO

License

TBD