Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

βž• Add Gravity Alpha Main Network Deployment #129

Merged
merged 5 commits into from
Aug 18, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
♻️ Amend
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
  • Loading branch information
pcaversaccio committed Aug 17, 2024
commit 1fc7ff3fec7a4eb0641234381c67582a86d60bef
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ Factory smart contract to make easier and safer usage of the [`CREATE`](https://
- [Test Coverage](#test-coverage)
- [ABI (Application Binary Interface)](#abi-application-binary-interface)
- [New Deployment(s)](#new-deployments)
- [`ethers.js`](#ethersjs)
- [`cast`](#cast)
- [`ethers.js`](#ethersjs)
- [`cast`](#cast)
- [Contract Verification](#contract-verification)
- [`CreateX` Deployments](#createx-deployments)
- [EVM-Based Production Networks](#evm-based-production-networks)
- [Ethereum Test Networks](#ethereum-test-networks)
- [Additional EVM-Based Test Networks](#additional-evm-based-test-networks)
- [EVM-Based Production Networks](#evm-based-production-networks)
- [Ethereum Test Networks](#ethereum-test-networks)
- [Additional EVM-Based Test Networks](#additional-evm-based-test-networks)
- [Integration With External Tooling](#integration-with-external-tooling)
- [Community-Maintained Dune Dashboards](#community-maintained-dune-dashboards)
- [πŸ™πŸΌ Acknowledgement](#-acknowledgement)
Expand Down Expand Up @@ -2263,7 +2263,6 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
- [Rootstock Testnet](https://rootstock-testnet.blockscout.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Chiliz Testnet (Spicy)](https://testnet.chiliscan.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Taraxa Testnet](https://testnet.explorer.taraxa.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Gravity Alpha Testnet Sepolia](https://explorer-sepolia.gravity.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)

## Integration With External Tooling

Expand Down
7 changes: 0 additions & 7 deletions deployments/deployments.json
Original file line number Diff line number Diff line change
Expand Up @@ -630,12 +630,5 @@
"urls": [
"https://testnet.explorer.taraxa.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
]
},
{
"name": "Gravity Alpha Testnet Sepolia",
"chainId": 13505,
"urls": [
"https://explorer-sepolia.gravity.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
]
}
]
24 changes: 12 additions & 12 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -605,19 +605,19 @@ const config: HardhatUserConfig = {
url: vars.get("TARAXA_MAINNET_URL", "https://rpc.mainnet.taraxa.io"),
accounts,
},
gravityAlphaMainnet: {
chainId: 1625,
url: vars.get("GRAVITY_ALPHA_MAINNET_URL", "https://rpc.gravity.xyz"),
accounts,
},
gravityAlphaTestnetSepolia: {
gravityAlphaTestnet: {
chainId: 13505,
url: vars.get(
"GRAVITY_ALPHA_TESTNET_SEPOLIA_URL",
"GRAVITY_ALPHA_TESTNET_URL",
"https://rpc-sepolia.gravity.xyz",
),
accounts,
},
gravityAlphaMain: {
chainId: 1625,
url: vars.get("GRAVITY_ALPHA_MAINNET_URL", "https://rpc.gravity.xyz"),
accounts,
},
},
contractSizer: {
alphaSort: true,
Expand Down Expand Up @@ -779,9 +779,9 @@ const config: HardhatUserConfig = {
// For Chiliz testnet & mainnet
chiliz: vars.get("CHILIZ_API_KEY", ""),
chilizTestnet: vars.get("CHILIZ_API_KEY", ""),
// For Gravity Alpha testnet & mainnet - no api key required
gravityAlphaMainnet: "",
gravityAlphaTestnetSepolia: "",
// For Gravity Alpha testnet & mainnet
gravityAlpha: vars.get("GRAVITY_ALPHA_API_KEY", ""),
gravityAlphaTestnet: vars.get("GRAVITY_ALPHA_API_KEY", ""),
},
customChains: [
{
Expand Down Expand Up @@ -1343,15 +1343,15 @@ const config: HardhatUserConfig = {
},
},
{
network: "gravityAlphaMainnet",
network: "gravityAlpha",
chainId: 1625,
urls: {
apiURL: "https://explorer.gravity.xyz/api",
browserURL: "https://explorer.gravity.xyz",
},
},
{
network: "gravityAlphaTestnetSepolia",
network: "gravityAlphaTestnet",
chainId: 13505,
urls: {
apiURL: "https://explorer-sepolia.gravity.xyz/api",
Expand Down
4 changes: 2 additions & 2 deletions interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@
"prismjs": "^1.29.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sharp": "^0.33.4"
"sharp": "^0.33.5"
},
"devDependencies": {
"@eslint/js": "^9.9.0",
"@next/eslint-plugin-next": "^14.2.5",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/node": "^22.3.0",
"@types/node": "^22.4.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.20",
Expand Down
2 changes: 1 addition & 1 deletion lib/solady
Submodule solady updated 6 files
+604 βˆ’597 .gas-snapshot
+3 βˆ’0 .gitignore
+1 βˆ’1 package.json
+131 βˆ’2 src/utils/ECDSA.sol
+6 βˆ’4 src/utils/P256.sol
+222 βˆ’0 test/ECDSA.t.sol
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@
"deploy:chilizmain": "npx hardhat run --no-compile --network chilizMain scripts/deploy.ts",
"deploy:taraxatestnet": "npx hardhat run --no-compile --network taraxaTestnet scripts/deploy.ts",
"deploy:taraxamain": "npx hardhat run --no-compile --network taraxaMain scripts/deploy.ts",
"deploy:gravityAlphaTestnetSepolia": "npx hardhat run --no-compile --network gravityAlphaTestnetSepolia scripts/deploy.ts",
"deploy:gravityAlphaMainnet": "npx hardhat run --no-compile --network gravityAlphaMainnet scripts/deploy.ts",
"deploy:gravityalphatestnet": "npx hardhat run --no-compile --network gravityAlphaTestnet scripts/deploy.ts",
"deploy:gravityalphamain": "npx hardhat run --no-compile --network gravityAlphaMain scripts/deploy.ts",
"prettier:check": "npx prettier -c \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
"prettier:check:interface": "cd interface && pnpm prettier:check",
"prettier:fix": "npx prettier -w \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
Expand Down Expand Up @@ -163,7 +163,7 @@
"hardhat-contract-sizer": "^2.10.0",
"hardhat-gas-reporter": "^2.2.1",
"prettier": "^3.3.3",
"prettier-plugin-solidity": "^1.3.1",
"prettier-plugin-solidity": "^1.4.0",
"solhint": "^5.0.3",
"ts-node": "^10.9.2",
"typechain": "^8.3.2",
Expand Down
Loading
Loading