Skip to content

Commit

Permalink
add blast example (#76)
Browse files Browse the repository at this point in the history
* add blast example(unfinished)

* research and test

* add blast example
  • Loading branch information
zkJoaquin authored Mar 14, 2024
1 parent b0164f4 commit 22355f8
Show file tree
Hide file tree
Showing 11 changed files with 5,452 additions and 0 deletions.
21 changes: 21 additions & 0 deletions examples/blast/.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 Blast Testnet, can use any Blast chain

L2RPC="https://sepolia.blast.io"

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

L1RPC=""

# Blast chain name
BLAST="BLASTTEST"

# Ethereum chain name
ETHEREUM="SEPOLIA"
1 change: 1 addition & 0 deletions examples/blast/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.env
14 changes: 14 additions & 0 deletions examples/blast/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 22355f8

Please sign in to comment.