Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 883 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 883 Bytes

Codigo Lender Example Generated Code

Build a simple defi lender dApp in under an hour using the Código Platform.

Build contract

From within the program directory

cargo build-sbf

Deploy contract

From within the program directory

solana program deploy target/deploy/informal_lender.so

##Modify program_client/app.ts

Replace your program id you got after deploying your program in the string where it says "PASTE_YOUR_PROGRAM_ID_HERE" image

Run Client

From within the program_client directory

npm install @types/node ts-node

after it completes, execute this command :

npx ts-node app.ts

image