@openzeppelin/contracts-ui-builder-adapter-evm
Version:
EVM Adapter for Contracts UI Builder
52 lines (49 loc) • 1.29 kB
text/typescript
/**
* Configuration for the EVM adapter
*
* This file defines the dependencies required by the EVM adapter
* when generating exported projects. It follows the AdapterConfig
* interface to provide a structured approach to dependency management.
*/
import type { AdapterConfig } from '@openzeppelin/contracts-ui-builder-types';
export const evmAdapterConfig: AdapterConfig = {
/**
* Dependencies required by the EVM adapter
* These will be included in exported projects that use this adapter
*/
dependencies: {
// Runtime dependencies
runtime: {
// Core EVM libraries
// Wallet connection libraries
wagmi: '^2.15.0',
'@wagmi/core': '^2.20.3',
viem: '^2.28.0',
'@tanstack/react-query': '^5.0.0',
// Utility library
// lodash: '^4.17.21',
},
// Development dependencies
dev: {
// '@types/lodash': '^4.17.16',
'@types/lodash': '^4.17.5',
},
},
overrides: {
'use-sync-external-store': '^1.2.0',
valtio: '^1.13.2',
},
uiKits: {
rainbowkit: {
dependencies: {
runtime: {
'@rainbow-me/rainbowkit': '^2.2.8',
},
},
overrides: {
'@paulmillr/qr': 'npm:qr@^0.5.0',
'@walletconnect/modal': '^2.7.1',
},
},
},
};