Skip to content

Commit b5e048a

Browse files
committed
chore: remove SNOWSCAN_API_KEY from environment configuration
1 parent 71be91d commit b5e048a

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

packages/smart-contract/.env.template

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,3 @@ MNEMONIC=
1212

1313
## Arbiscan API key to verify contracts
1414
ARBISCAN_API_KEY=
15-
16-
## Snowscan API key to verify contracts - Etherscan like for Avalanche
17-
SNOWSCAN_API_KEY=

packages/smart-contract/config/env.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ const envSchema = z.object({
2727

2828
// Arbiscan API key
2929
ARBISCAN_API_KEY: z.string().optional().or(z.literal('')),
30-
31-
// Snowscan API key
32-
SNOWSCAN_API_KEY: z.string().optional().or(z.literal('')),
3330
});
3431

3532
export const env = envSchema.parse(process.env);

packages/smart-contract/hardhat.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const config: HardhatUserConfig = {
5656
etherscan: {
5757
apiKey: {
5858
bellecour: 'nothing', // a non-empty string is needed by the plugin.
59-
avalancheFuji: env.SNOWSCAN_API_KEY || '', // a non-empty string is needed by the plugin.
59+
avalancheFuji: 'nothing', // a non-empty string is needed by the plugin.
6060
arbitrumSepolia: env.ARBISCAN_API_KEY || '',
6161
},
6262
customChains: [
@@ -87,6 +87,9 @@ const config: HardhatUserConfig = {
8787
},
8888
],
8989
},
90+
sourcify: {
91+
enabled: true,
92+
},
9093
// Create2 deployments: it use crateX factory to deploy the contract
9194
ignition: {
9295
strategyConfig: {

0 commit comments

Comments
 (0)