Skip to content

Commit

Permalink
adding crosschain lending contracts and UI integration (#8)
Browse files Browse the repository at this point in the history
* WIP: loan, collateral, reactive contracts

* updated: few fixes

* WIP: few fixes

* clenaup: frontend boilerplate

* updated: few contract fixes

* fixed: reactive contract not being called

* updated: handle deposits, loan amount issuance, repayment

* updated: readme, remove openzeppelin lib

* WIP: ui integration, few contract improvements

* added:  few checks

* WIP:display balances on both chains

* WIP: error handling, tx details

* updated: few ui improvements

* updated: to new deployment

* updated: new deployment

* updated: few fixes

* updated: avalanche to sepolia demo, readme updates

* added: contract links to the card

* added: crosslending flowdiagram to readme

* updated: readme, flow diagram

* added: natspec docs to contract functions

* fixed: atspec comment error

* updated:ui/ux improvements

* few ui fixes, new screen in readme, workflow links fix

* added: demo video to readme, txinfo in ui

* Update README.md

* remove connecting to default chain config

* updated: button styles and sizes

* updated: few ui improvements

* Update README.md

* updated: readme, remove openzeppelin submodule mapping from .gitmodules
  • Loading branch information
Salmandabbakuti authored Oct 19, 2024
1 parent 8025537 commit 7161ebf
Show file tree
Hide file tree
Showing 559 changed files with 785 additions and 86,472 deletions.
15 changes: 8 additions & 7 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
ORIGIN1_RPC=https://polygon.drpc.org
ORIGIN2_RPC=https://rpc2.sepolia.org
ORIGIN_RPC=
DESTINATION_RPC=
REACTIVE_RPC=
PRIVATE_KEY=
ORIGIN1_ADDR=
ORIGIN2_ADDR=
ORIGIN1_CHAINID=
ORIGIN2_CHAINID=
ORIGIN_ADDR=
DESTINATION_ADDR=
ORIGIN_CHAINID=
DESTINATION_CHAINID=
SYSTEM_CONTRACT_ADDR=
CALLBACK_SENDER_ADDR=
ORIGIN_CALLBACK_SENDER_ADDR=
DESTINATION_CALLBACK_SENDER_ADDR=
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "lib/forge-std"]
path = lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "lib/openzeppelin-contracts"]
path = lib/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts
157 changes: 81 additions & 76 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Reactive Bridge Dapp</title>
<title>Cross Lending</title>
</head>

<body>
Expand Down
4 changes: 4 additions & 0 deletions frontend/public/avax-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7161ebf

Please sign in to comment.