Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 8 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,36 @@
# Bridge Escrow Contact
## Install
```
./setup-hardhat.sh
npm install
```

## Compile contract
```
npx hardhat compile
npm run compile
```

## Test contract
```
npx hardhat test
npm test
```

## Test contracts on local network
1. Run test network
```
./run-local-node.sh
npm run node
```
2. Deploy contracts
```
./deploy-local.sh
npm run deploy:local
```
3. Run contract methods
```
./test-escrow.sh
npm run test:escrow
```
Contract addresses are saved in .escrow_bridge.config

# Advanced Sample Hardhat Project

This project demonstrates an advanced Hardhat use case, integrating other tools commonly used alongside Hardhat in the ecosystem.
Contract addresses are saved in .escrow_bridge.config

The project comes with a sample contract, a test for that contract, a sample script that deploys that contract, and an example of a task implementation, which simply lists the available accounts. It also comes with a variety of other tools, preconfigured to work with the project code.
# Advanced Hardhat Commands

Try running some of the following tasks:

```shell
npx hardhat accounts
Expand Down
Loading