This repository was archived by the owner on Jun 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
1
PRIVATE_KEY = 0xabc123abc123abc123abc123abc123abc123abc123abc123abc123abc123abc1
2
- SCROLL_TESTNET_URL = https://prealpha-rpc.scroll.io/l2
2
+ # SCROLL_TESTNET_URL=https://prealpha-rpc.scroll.io/l2 - Uncomment this line to use the pre-alpha instead of alpha
3
+ SCROLL_TESTNET_URL = https://alpha-rpc.scroll.io/l2
Original file line number Diff line number Diff line change @@ -9,3 +9,6 @@ typechain-types
9
9
cache
10
10
artifacts
11
11
12
+ # IDE files
13
+ .idea
14
+
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ This project demonstrates how to use hardhat or foundry to deploy a contract in
31
31
```
32
32
3. Deploy the contract.
33
33
```
34
- forge create --rpc-url https://prealpha -rpc.scroll.io/l2 \
34
+ forge create --rpc-url https://alpha -rpc.scroll.io/l2 \
35
35
--value < lock_amount> \
36
36
--constructor-args < unlock_time> \
37
37
--private-key < your_private_key> \
@@ -43,7 +43,7 @@ This project demonstrates how to use hardhat or foundry to deploy a contract in
43
43
44
44
For example:
45
45
` ` `
46
- forge create --rpc-url https://prealpha -rpc.scroll.io/l2 --value 0.00000000002ether --constructor-args 1696118400 --private-key 0xabc123abc123abc123abc123abc123abc123abc123abc123abc123abc123abc1 --legacy contracts/Lock.sol:Lock
46
+ forge create --rpc-url https://alpha -rpc.scroll.io/l2 --value 0.00000000002ether --constructor-args 1696118400 --private-key 0xabc123abc123abc123abc123abc123abc123abc123abc123abc123abc123abc1 --legacy contracts/Lock.sol:Lock
47
47
` ` `
48
48
49
49
# # Support
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ async function main() {
13
13
await lock . deployed ( ) ;
14
14
15
15
console . log ( `Lock with 0.00000001 ETH and unlock timestamp ${ unlockTime } deployed to ${ lock . address } ` ) ;
16
- console . log ( `Block explorer URL: https://l2scan.scroll.io/address/${ lock . address } ` ) ;
16
+ // console.log(`Block explorer URL: https://l2scan.scroll.io/address/${lock.address}`); Uncomment here to use the pre-alpha
17
+ console . log ( `Block explorer URL: https://blockscout.scroll.io/address/${ lock . address } ` ) ;
17
18
}
18
19
19
20
// We recommend this pattern to be able to use async/await everywhere
You can’t perform that action at this time.
0 commit comments