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
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2260,6 +2260,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
- [TAC](https://explorer.tac.build/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Katana](https://explorer.katanarpc.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Plasma](https://plasmascan.to/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Sophon](https://sophscan.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)

#### Ethereum Test Networks

Expand Down Expand Up @@ -2348,6 +2349,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
- [Botanix Testnet](https://testnet.botanixscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [TAC Testnet (Saint Petersburg)](https://spb.explorer.tac.build/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Plasma Testnet](https://testnet.plasmascan.to/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Sophon Sepolia Testnet](https://testnet.sophscan.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)

## Integration With External Tooling

Expand Down
14 changes: 14 additions & 0 deletions deployments/deployments.json
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,13 @@
"https://plasmascan.to/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
]
},
{
"name": "Sophon",
"chainId": 50104,
"urls": [
"https://sophscan.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
]
},
{
"name": "Sepolia",
"chainId": 11155111,
Expand Down Expand Up @@ -1223,5 +1230,12 @@
"urls": [
"https://testnet.plasmascan.to/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
]
},
{
"name": "Sophon Sepolia Testnet",
"chainId": 531050104,
"urls": [
"https://testnet.sophscan.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
]
}
]
20 changes: 20 additions & 0 deletions foundry.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"lib/forge-std": {
"branch": {
"name": "master",

Check warning on line 4 in foundry.lock

View check run for this annotation

In Solidarity / Inclusive Language

Match Found

Please consider an alternative to `master`. Possibilities include: `primary`, `main`, `leader`, `active`, `writer`
Raw output
/master/gi
"rev": "100b0d756adda67bc70aab816fa5a1a95dcf78b6"
}
},
"lib/openzeppelin-contracts": {
"branch": {
"name": "master",

Check warning on line 10 in foundry.lock

View check run for this annotation

In Solidarity / Inclusive Language

Match Found

Please consider an alternative to `master`. Possibilities include: `primary`, `main`, `leader`, `active`, `writer`
Raw output
/master/gi
"rev": "51ab591cd7a47446293a0d5e285792f63cbeb1ea"
}
},
"lib/solady": {
"branch": {
"name": "main",
"rev": "73f13dd1483707ef6b4d16cb0543570b7e1715a8"
}
}
}
29 changes: 29 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1112,6 +1112,16 @@ const config: HardhatUserConfig = {
url: vars.get("PLASMA_MAINNET_URL", "https://rpc.plasma.to"),
accounts,
},
sophonTestnet: {
chainId: 531050104,
url: vars.get("SOPHON_TESTNET_URL", "https://rpc.testnet.sophon.xyz"),
accounts,
},
sophonMain: {
chainId: 50104,
url: vars.get("SOPHON_MAINNET_URL", "https://rpc.sophon.xyz"),
accounts,
},
},
contractSizer: {
alphaSort: true,
Expand Down Expand Up @@ -1392,6 +1402,9 @@ const config: HardhatUserConfig = {
// For Plasma testnet & mainnet
plasma: vars.get("PLASMA_API_KEY", ""),
plasmaTestnet: vars.get("PLASMA_API_KEY", ""),
// For Sophon testnet & mainnet
sophon: vars.get("SOPHON_API_KEY", ""),
sophonTestnet: vars.get("SOPHON_API_KEY", ""),
},
customChains: [
{
Expand Down Expand Up @@ -2608,6 +2621,22 @@ const config: HardhatUserConfig = {
browserURL: "https://testnet.plasmascan.to",
},
},
{
network: "sophon",
chainId: 50104,
urls: {
apiURL: "https://api.sophscan.xyz/api",
browserURL: "https://sophscan.xyz",
},
},
{
network: "sophonTestnet",
chainId: 531050104,
urls: {
apiURL: "https://api-testnet.sophscan.xyz/api",
browserURL: "https://testnet.sophscan.xyz",
},
},
],
},
};
Expand Down
8 changes: 4 additions & 4 deletions interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"dependencies": {
"@headlessui/react": "^2.2.9",
"@heroicons/react": "^2.2.0",
"next": "^16.0.0",
"next": "^16.0.1",
"next-themes": "^0.4.6",
"prismjs": "^1.30.0",
"react": "^19.2.0",
Expand All @@ -41,15 +41,15 @@
},
"devDependencies": {
"@eslint/js": "^9.38.0",
"@next/eslint-plugin-next": "^16.0.0",
"@next/eslint-plugin-next": "^16.0.1",
"@tailwindcss/postcss": "^4.1.16",
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
"@types/node": "^24.9.1",
"@types/node": "^24.9.2",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"autoprefixer": "^10.4.21",
"eslint": "^9.38.0",
"eslint-config-next": "^16.0.0",
"eslint-config-next": "^16.0.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"next-seo": "^7.0.1",
Expand Down
2 changes: 1 addition & 1 deletion lib/forge-std
Submodule forge-std updated 1 files
+1 βˆ’0 src/StdCheats.sol
2 changes: 1 addition & 1 deletion lib/solady
Submodule solady updated 88 files
+21 βˆ’24 .github/workflows/ci.yml
+4 βˆ’2 foundry.toml
+3 βˆ’1 src/accounts/ERC1271.sol
+7 βˆ’7 src/accounts/ERC4337.sol
+6 βˆ’7 src/accounts/ERC6551.sol
+3 βˆ’2 src/accounts/LibERC7579.sol
+3 βˆ’2 src/accounts/Timelock.sol
+383 βˆ’0 src/accounts/ext/ithaca/ERC7821.sol
+4 βˆ’5 src/auth/EnumerableRoles.sol
+13 βˆ’11 src/auth/TimedRoles.sol
+6 βˆ’7 src/tokens/ERC4626.sol
+3 βˆ’8 src/tokens/ERC6909.sol
+3 βˆ’2 src/utils/Base58.sol
+1 βˆ’5 src/utils/Base64.sol
+8 βˆ’7 src/utils/DateTimeLib.sol
+6 βˆ’16 src/utils/DynamicArrayLib.sol
+2 βˆ’1 src/utils/ECDSA.sol
+27 βˆ’9 src/utils/EnumerableMapLib.sol
+11 βˆ’13 src/utils/EnumerableSetLib.sol
+17 βˆ’14 src/utils/FixedPointMathLib.sol
+7 βˆ’1 src/utils/JSONParserLib.sol
+2 βˆ’1 src/utils/LibBitmap.sol
+2 βˆ’10 src/utils/LibBytes.sol
+17 βˆ’4 src/utils/LibCall.sol
+11 βˆ’13 src/utils/LibClone.sol
+1 βˆ’5 src/utils/LibSort.sol
+20 βˆ’18 src/utils/LibString.sol
+16 βˆ’15 src/utils/MerkleProofLib.sol
+1 βˆ’5 src/utils/MerkleTreeLib.sol
+8 βˆ’8 src/utils/MetadataReaderLib.sol
+2 βˆ’1 src/utils/P256.sol
+15 βˆ’20 src/utils/SafeTransferLib.sol
+2 βˆ’2 src/utils/SemVerLib.sol
+7 βˆ’5 src/utils/SignatureCheckerLib.sol
+3 βˆ’2 src/utils/UUPSUpgradeable.sol
+10 βˆ’11 src/utils/WebAuthn.sol
+8 βˆ’4 src/utils/ext/delegatexyz/DelegateCheckerLib.sol
+3 βˆ’1 src/utils/ext/ithaca/BLS.sol
+7 βˆ’11 src/utils/ext/zksync/SafeTransferLib.sol
+7 βˆ’5 src/utils/ext/zksync/SignatureCheckerLib.sol
+6 βˆ’16 src/utils/g/DynamicArrayLib.sol
+27 βˆ’9 src/utils/g/EnumerableMapLib.sol
+11 βˆ’13 src/utils/g/EnumerableSetLib.sol
+7 βˆ’1 src/utils/g/JSONParserLib.sol
+2 βˆ’1 src/utils/g/LibBitmap.sol
+2 βˆ’10 src/utils/g/LibBytes.sol
+20 βˆ’18 src/utils/g/LibString.sol
+10 βˆ’11 src/utils/g/WebAuthn.sol
+6 βˆ’3 src/utils/legacy/LibCWIA.sol
+7 βˆ’4 test/Base64.t.sol
+3 βˆ’1 test/CREATE3.t.sol
+10 βˆ’14 test/ERC1155.t.sol
+4 βˆ’3 test/ERC1271.t.sol
+4 βˆ’6 test/ERC4626.t.sol
+14 βˆ’21 test/ERC6551.t.sol
+5 βˆ’6 test/ERC721.t.sol
+9 βˆ’8 test/FixedPointMathLib.t.sol
+2 βˆ’1 test/Initializable.t.sol
+2 βˆ’9 test/JSONParserLib.t.sol
+3 βˆ’6 test/LibBytes.t.sol
+3 βˆ’2 test/LibCWIA.t.sol
+22 βˆ’18 test/LibClone.t.sol
+3 βˆ’2 test/LibERC6551.t.sol
+16 βˆ’15 test/LibERC7579.t.sol
+16 βˆ’12 test/LibString.t.sol
+10 βˆ’9 test/LibTransient.t.sol
+2 βˆ’1 test/LibZip.t.sol
+8 βˆ’4 test/Lifebuoy.t.sol
+31 βˆ’26 test/P256.t.sol
+24 βˆ’25 test/SafeTransferLib.t.sol
+17 βˆ’18 test/SignatureCheckerLib.t.sol
+3 βˆ’6 test/WebAuthn.t.sol
+1 βˆ’2 test/ext/delegatexyz/DelegateCheckerLib.t.sol
+25 βˆ’24 test/ext/ithaca/BLS.t.sol
+286 βˆ’0 test/ext/ithaca/ERC7821.t.sol
+10 βˆ’14 test/ext/zksync/ERC1155.t.sol
+5 βˆ’6 test/ext/zksync/ERC721.t.sol
+24 βˆ’25 test/ext/zksync/SafeTransferLib.t.sol
+17 βˆ’18 test/ext/zksync/SignatureCheckerLib.t.sol
+1 βˆ’5 test/utils/TestPlus.sol
+14 βˆ’23 test/utils/forge-std/Test.sol
+30 βˆ’72 test/utils/forge-std/Vm.sol
+1 βˆ’6 test/utils/mocks/MockERC4337.sol
+1 βˆ’6 test/utils/mocks/MockERC6551.sol
+2 βˆ’2 test/utils/mocks/MockEntryPoint.sol
+9 βˆ’8 test/utils/mocks/MockReentrancyGuard.sol
+9 βˆ’8 test/utils/mocks/MockReentrancyGuardTransient.sol
+58 βˆ’0 test/utils/mocks/ext/ithaca/MockERC7821.sol
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"author": "pcaversaccio (https://pcaversaccio.com), Matt Solomon (https://mattsolomon.dev)",
"license": "AGPL-3.0-only",
"packageManager": "pnpm@10.19.0",
"packageManager": "pnpm@10.20.0",
"scripts": {
"clean": "npx hardhat clean && forge clean",
"test": "forge test --out forge-artifacts",
Expand Down Expand Up @@ -221,6 +221,8 @@
"deploy:katanamain": "npx hardhat run --no-compile --network katanaMain scripts/deploy.ts",
"deploy:plasmatestnet": "npx hardhat run --no-compile --network plasmaTestnet scripts/deploy.ts",
"deploy:plasmamain": "npx hardhat run --no-compile --network plasmaMain scripts/deploy.ts",
"deploy:sophontestnet": "npx hardhat run --no-compile --network sophonTestnet scripts/deploy.ts",
"deploy:sophonmain": "npx hardhat run --no-compile --network sophonMain scripts/deploy.ts",
"prettier:check": "npx prettier -c \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
"prettier:check:interface": "pnpm -C interface prettier:check",
"prettier:fix": "npx prettier -w \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
Expand Down
Loading
Loading