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

Commit b782350

Browse files
authored
Updated urls for the alpha (#3)
1 parent d8ae214 commit b782350

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

.env.example

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
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

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ typechain-types
99
cache
1010
artifacts
1111

12+
# IDE files
13+
.idea
14+

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This project demonstrates how to use hardhat or foundry to deploy a contract in
3131
```
3232
3. Deploy the contract.
3333
```
34-
forge create --rpc-url https://prealpha-rpc.scroll.io/l2 \
34+
forge create --rpc-url https://alpha-rpc.scroll.io/l2 \
3535
--value <lock_amount> \
3636
--constructor-args <unlock_time> \
3737
--private-key <your_private_key> \
@@ -43,7 +43,7 @@ This project demonstrates how to use hardhat or foundry to deploy a contract in
4343

4444
For example:
4545
```
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
4747
```
4848

4949
## Support

scripts/deploy.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ async function main() {
1313
await lock.deployed();
1414

1515
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}`);
1718
}
1819

1920
// We recommend this pattern to be able to use async/await everywhere

0 commit comments

Comments
 (0)