Skip to content

Commit

Permalink
add base network (#80)
Browse files Browse the repository at this point in the history
* add base network

* lint fix
  • Loading branch information
zkJoaquin authored Mar 18, 2024
1 parent 766cf43 commit 533dd9e
Show file tree
Hide file tree
Showing 11 changed files with 4,559 additions and 0 deletions.
21 changes: 21 additions & 0 deletions examples/base/.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 Base Testnet, can use any Base chain

L2RPC="https://sepolia.base.org"

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

L1RPC=""

# Base chain name
BASE="BASETEST"

# Ethereum chain name
ETHEREUM="SEPOLIA"
1 change: 1 addition & 0 deletions examples/base/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.env
14 changes: 14 additions & 0 deletions examples/base/hardhat.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
require('@nomiclabs/hardhat-ethers');
require('./scripts/syncL2Requests');
require('./scripts/syncBatchRoot');
require('./scripts/setValidator');
require('./scripts/changeFeeParams');

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

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

0 comments on commit 533dd9e

Please sign in to comment.