--- tags: Product --- # EVM Chain support (Networks) - Internal Processes ### 1. Prep contracts and subgraphs New chains just need to support the molochv21 and minions so these factory contracts should be deployed. https://github.com/HausDAO/Molochv2.1 https://github.com/HausDAO/MinionSummoner Subgraphs will need to be created and usually hosted somewhere. We update often so a pipeline for deploying updates should be indentified. https://github.com/HausDAO/daohaus-supergraph https://github.com/HausDAO/daohaus-stats boost graph - wrapnzap/transmutation ### 2. PR into `develop` branch with updated chains.js https://github.com/HausDAO/pokemol-web/blob/app/src/utils/chain.js Add details for the chain- example: ```javascript= '0x4a': { name: 'IDChain', short_name: 'idchain', chain: 'IDChain', network: 'idchain', network_id: 74, chain_id: '0x4a', providers: ['walletconnect'], rpc_url: 'https://idchain.one/rpc/', metadata_api_url: 'https://data.daohaus.club', abi_api_url: 'https://explorer.idchain.one/api?module=contract&action=getabi&address=', subgraph_url: 'https://graph.idchain.one/subgraphs/name/idchain/daohaus-supergraph/graphql', stats_graph_url: 'https://graph.idchain.one/subgraphs/name/idchain/daohaus-stats/graphql', boosts_graph_url: '', minion_factory_addr: '0x90253955D4066eE27C183B4644089a5A04A888F1', moloch_factory_addr: '0x99B4525D6d6F6c3161D0abd6A58B482f46ad5Cd0', dai_contract: '0xE1A400f340bf4eeDbc4Bbb553f1BFf7Ec4656E3e', weth_contract: '0x2b309226500ADc5956a422950A2AD6E6333Bb315', }, ``` The 'weth' contract address should be for the erc20 wrapped version of the native gas token for the chain. ### 3. Dapp updates - chains.js - summoning.js dao preset updates - exploreContent.js - add network for explore drop down - boost.js and minion.js - add network for applicable boosts/minions - web3modal.js - add network - - tokenExplorer.js - fetchNativeBalance ### 4. API updates - db table network fields - hvac graph urls - graph-helpers.js - hvac rpc urls - web3-helpers.js - hvac price-dump.js - hvac vault-job.js - hvac - serverless.yaml - job - hvac - vault-helpers.js - getTokenList - messenger graph urls - helpers.js - graph-queries.js -