Skip to content

Commit e38c850

Browse files
committed
Add explorer URL and address environment variables
- Add EXPLORER_URL with Sepolia Etherscan default - Add ORGANIZATION_REGISTRY_ADDRESS and PROCESS_REGISTRY_ADDRESS - Configure environment variables in Vite build process
1 parent c8dac68 commit e38c850

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/ui/vite.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ const viteconfig = defineConfig(({ mode }) => {
1313
define: {
1414
'import.meta.env.API_URL': JSON.stringify(process.env.API_URL || 'https://sequencer1.davinci.vote'),
1515
'import.meta.env.RPC_URL': JSON.stringify(process.env.RPC_URL || ''),
16+
'import.meta.env.EXPLORER_URL': JSON.stringify(process.env.EXPLORER_URL || 'https://sepolia.etherscan.io'),
17+
'import.meta.env.ORGANIZATION_REGISTRY_ADDRESS': JSON.stringify(process.env.ORGANIZATION_REGISTRY_ADDRESS || ''),
18+
'import.meta.env.PROCESS_REGISTRY_ADDRESS': JSON.stringify(process.env.PROCESS_REGISTRY_ADDRESS || ''),
1619
},
1720
resolve: {
1821
alias: {

0 commit comments

Comments
 (0)