Skip to content

Commit

Permalink
feat: deployed registry and exchangfe contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
dannweeeee committed Oct 14, 2024
1 parent 887a8c0 commit 6ffdb56
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,15 @@
## Contracts

1. Registry.sol

```
forge script script/deploy/Registry.s.sol:DeployRegistry --rpc-url <PRC_URL> --broadcast --private-key <PRIVATE_KEY>
```

2. Exchange.sol

```
forge script script/deploy/Exchange.s.sol:DeployExchange --rpc-url <PRC_URL> --broadcast --private-key <PRIVATE_KEY>
```

3. Vault.sol (Mock)
2 changes: 1 addition & 1 deletion script/deploy/Exchange.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ contract DeployExchange is Script {
function run() external {
vm.startBroadcast();

address registryAddress = 0xF64C3fA7F56b9C59010Be7a96BaB0d08055B3cfE;
address registryAddress = 0x9d69b9b2907Bba74E65Aa6c87B2284fF0F0931e0;
address usdcAddress = 0x036CbD53842c5426634e7929541eC2318f3dCF7e;

Exchange exchange = new Exchange(registryAddress, usdcAddress);
Expand Down
File renamed without changes.

0 comments on commit 6ffdb56

Please sign in to comment.