Skip to content
This repository was archived by the owner on Jun 5, 2024. It is now read-only.

Commit c357e5a

Browse files
authored
Update README.md
1 parent 73a079a commit c357e5a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ This project demonstrates how to use hardhat or foundry to deploy a contract in
1616
3. Create a `.env` file following the example `.env.example` in the root directory. Change `PRIVATE_KEY` to your own account private key in the `.env`.
1717
4. Run `yarn compile` to compile the contract.
1818
5. Run `yarn deploy:scrollTestnet` to deploy the contract on the Scroll Pre-Alpha Testnet.
19+
6. Run `yarn test` for hardhat tests.
1920

2021

2122
## Deploy with Foundry
@@ -40,7 +41,11 @@ This project demonstrates how to use hardhat or foundry to deploy a contract in
4041
```
4142
- `<lock_amount>` is the amount of `TSETH` to be locked in the contract. Try setting this to some small amount, like `0.0000001ether`.
4243
- `<unlock_time>` is the Unix timestamp after which the funds locked in the contract will become available for withdrawal. Try setting this to some Unix timestamp in the future, like `1696118400` (this Unix timestamp corresponds to October 1, 2023).
43-
44+
45+
For example:
46+
```
47+
forge create --rpc-url https://prealpha.scroll.io/l2 --value 0.00000000002ether --constructor-args 1696118400 --private-key 0xabc123abc123abc123abc123abc123abc123abc123abc123abc123abc123abc1 --legacy contracts/Lock.sol:Lock
48+
```
4449

4550
## Support
4651

0 commit comments

Comments
 (0)