Skip to content
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
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ ifeq ($(findstring --network hyvechain-mainnet,$(ARGS)),--network hyvechain-main
NETWORK_ARGS := --rpc-url $(HYVECHAIN_MAINNET_RPC_URL) --account $(ACCOUNT) --broadcast --verify --verifier blockscout --verifier-url https://explorer.hyvechain.com/api --chain 7847 -vvvv
endif

ifeq ($(findstring --network unichain-mainnet,$(ARGS)),--network unichain-mainnet)
NETWORK_ARGS := --rpc-url $(UNICHAIN_MAINNET_RPC_URL) --account $(ACCOUNT) --broadcast --verify --verifier-url https://api.etherscan.io/v2/api --etherscan-api-key $(ETHERSCAN_API_KEY) --chain 130 -vvvv
endif

deploy-mainnet:
@forge script script/DeployJustanAccount.s.sol:DeployJustanAccount $(NETWORK_ARGS)

Expand Down Expand Up @@ -226,4 +230,7 @@ deploy-soneium-mainnet:
@forge script script/DeployJustanAccount.s.sol:DeployJustanAccount $(NETWORK_ARGS)

deploy-hyvechain-mainnet:
@forge script script/DeployJustanAccount.s.sol:DeployJustanAccount $(NETWORK_ARGS)
@forge script script/DeployJustanAccount.s.sol:DeployJustanAccount $(NETWORK_ARGS)

deploy-unichain-mainnet:
@forge script script/DeployJustanAccount.s.sol:DeployJustanAccount $(NETWORK_ARGS)
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
| Robinhood Chain | 4663 | - | - |
| Soneium | 1868 | - | - |
| HyveChain | 7847 | - | - |
| Unichain | 130 | - | - |

## Overview

Expand Down
97 changes: 97 additions & 0 deletions broadcast/DeployJustanAccount.s.sol/130/run-latest.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion script/HelperConfig.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ abstract contract CodeConstants {

uint256 public constant HYVECHAIN_CHAIN_ID = 7847;

uint256 public constant UNICHAIN_CHAIN_ID = 130;

// Address of the v0.8 EntryPoint contract
address public constant ENTRYPOINT_ADDRESS = 0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108;

Expand Down Expand Up @@ -86,7 +88,7 @@ contract HelperConfig is CodeConstants, Script {
|| chainId == INK_CHAIN_ID || chainId == INK_SEPOLIA_CHAIN_ID || chainId == DOS_CHAIN_ID
|| chainId == GNOSIS_CHAIN_ID || chainId == ARC_TESTNET_CHAIN_ID || chainId == POLYGON_CHAIN_ID
|| chainId == POLYGON_AMOY_CHAIN_ID || chainId == ROBINHOOD_CHAIN_ID || chainId == SONEIUM_CHAIN_ID
|| chainId == HYVECHAIN_CHAIN_ID;
|| chainId == HYVECHAIN_CHAIN_ID || chainId == UNICHAIN_CHAIN_ID;
}

function getConfigByChainId(uint256 chainId) public returns (NetworkConfig memory) {
Expand Down
Loading