Skip to content

Commit

Permalink
support claimFailedDeposit (#107)
Browse files Browse the repository at this point in the history
* support claimFailedDeposit

* compatible with linea chain

* fix lint

* optimise novaHash format

* add receipt status log
  • Loading branch information
zkJoaquin committed Apr 28, 2024
1 parent e4e6223 commit 16db883
Show file tree
Hide file tree
Showing 6 changed files with 6,818 additions and 0 deletions.
20 changes: 20 additions & 0 deletions examples/failedDeposit/.env-sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This is a sample .env file for use in local development.

# Duplicate this file as .env here

# Your Private key

PRIVATE_KEY="0x your key here"

# Hosted Aggregator Node (JSON-RPC Endpoint). This is zkLink Sepolia Testnet

L2RPC="https://sepolia.rpc.zklink.network"

# This is zkLink Sepolia Testnet
LINEA_RPC="https://rpc.sepolia.linea.build"

# Ethereum chain name
ETHEREUM="SEPOLIA"

# Primary chain zklink address
PRIMARY_CHAIN_ZKLINK="0x16393A77e1d5C2D285BDad9079afC5942f255407"
1 change: 1 addition & 0 deletions examples/failedDeposit/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.env
11 changes: 11 additions & 0 deletions examples/failedDeposit/hardhat.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
require('@nomicfoundation/hardhat-toolbox');
require('./scripts/claimFailedDeposit');

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

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

0 comments on commit 16db883

Please sign in to comment.