Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add scroll example #18

Merged
merged 4 commits into from
Feb 5, 2024
Merged
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: 21 additions & 0 deletions examples/scroll/.env-sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This is a sample .env file for use in local development.

# Duplicate this file as .env here

# Your Private key

DEVNET_PRIVKEY="0x your key here"

# Hosted Aggregator Node (JSON-RPC Endpoint). This is Arbitrum Sepolia Testnet, can use any Arbitrum chain

L2RPC="https://sepolia-rpc.scroll.io/"

# Ethereum RPC; i.e., for Sepolia https://sepolia.infura.io/v3/<your infura key>

L1RPC=""

# Arbitrum chain name
SCROLL="SCROLLTEST"

# Ethereum chain name
ETHEREUM="SEPOLIA"
1 change: 1 addition & 0 deletions examples/scroll/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.env
13 changes: 13 additions & 0 deletions examples/scroll/hardhat.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
require('@nomiclabs/hardhat-ethers');
require('./scripts/1_initConfig');
require('./scripts/2_syncL2Requests');
require('./scripts/3_syncBatchRoot');

const BaseConfig = require('../../hardhat.base.config');

module.exports = Object.assign({}, BaseConfig, {
paths: {
cache: '../../cache',
artifacts: '../../artifacts',
},
});
Loading
Loading