Compare commits

...

2 Commits

Author SHA1 Message Date
derpy-duck dc872cb7b4
Create README.md (#58)
* Create README.md

* Update README.md
2023-01-27 10:06:59 -05:00
derpy-duck 7f4eaab9fe
Update README.md (#59) 2023-01-27 10:03:45 -05:00
2 changed files with 12 additions and 2 deletions

9
README.md Normal file
View File

@ -0,0 +1,9 @@
# Wormhole Lending Examples
example-1 is a basic lending skeleton that sketches out lending and borrowing between two chains using Wormhole
example-2 is a more fully fledged cross-chain example using a Hub and Spoke model, allowing lending and borrowing on an arbitrary number of chains using Wormhole.
Both of these examples have specific READMEs in their respective folders.
**WARNING**: This repository has not been audited, so it may contain bugs and should be used for example purposes only. If you intend to use or build on either of these examples to perform actual lending, it's highly recommended that you have the final code commit audited by a smart contract auditing firm.

View File

@ -8,8 +8,9 @@ To run tests on this reference example suite, you will need to [install yarn](ht
After installing yarn, you should:
1. run `make build`--This will install Forge (a standard EVM development toolkit that allows tests to be written in Solidity) and the necessary node modules. It will also compile the smart contract code.
2. run `make test`--This will compile and then run all the tests, which are defined in `example-2/evm/test/Hub.t.sol`. This will take a bit the first time and should print the results of the tests as well as some logs output in the terminal.
1. Navigate to the 'example-2/evm' folder.
2. run `make build`--This will install Forge (a standard EVM development toolkit that allows tests to be written in Solidity) and the necessary node modules. It will also compile the smart contract code.
3. run `make test`--This will compile and then run all the tests, which are defined in `example-2/evm/test/Hub.t.sol`. This will take a bit the first time and should print the results of the tests as well as some logs output in the terminal.
## Cross-chain design and testing in localnet