You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deploy the Umbra and StealthKeyRegistry contracts to 0xFb2dc580Eed955B528407b4d36FfaFe3da685401 and 0x31fe56609C65Cd0C510E7125f051D440424D38f3, respectively
@apbendi feel free to add any details you want here about adding a network entry in the hardhat config, etc.
Add new prepare:* and deploy:* scripts to the package.json (or refactor so network name is an env var to remove this step?)
Deploy
If necessary, update getEthSweepGasInfo in Umbra.ts
In frontend/src/components/models.ts:
Add an object to the supportedChains array, and make sure chainId is specified as a hex string
Update the SupportedChainIds type with the new chainId as a string
Add the address of the multicall contract in frontend/src/utils/constants.ts we should always be able to use the existing Multicall3 address
If supporting a testnet that should be excluded in the network dropdown, make sure to exclude it in the chainOptions computed property in frontend/src/layouts/NetworkDropdown.vue
In frontend/src/pages/FAQ.vue, update the "What networks is Umbra deployed on and what are the contract addresses?" question
In umbra-js/src/classes/Umbra.ts:
Add a new entry to the subgraphs object with the subgraph URL
Add a new entry to the chainConfigs object with the required parameters
Determine if it's feasible to fetch announcements from logs without a subgraph, and if not, add the required check to the beginning of fetchAllAnnouncementFromLogs
Add the new Infura URL to the infuraUrl method
In umbra-js/test/Umbra.test.ts, add a test within the it('initializes correctly when passing a default chainId') test
Ensure transaction history can be fetched by address (for advanced mode)
Ensure the transaction history API endpoint is supported on Etherscan, and if so:
Add a *SCAN_API_KEY env var to frontend/.env.example, if needed
Add a *SCAN_API_KEY env var to umbra-js/.env.example, if needed
In umbra-js/src/classes/TxHistoryProvider.ts
Add a new case in the constructor to read in the API key
Add a new case in getBaseUrl() to return the Etherscan API URL
Add a test to umbra-js/test/utils.test.ts called it('looks up transaction history in <networkName>')
If the network uses different gas metering than L1, make sure to account for that when sweeping ETH from a stealth address
Ask Etherscan to label the contracts on the new network
TODO add steps on how to specify the minimum send amount, based on the approach we decide on
TODO @apbendi to add steps on what we need to do on the relayer side if we only want to support the native token vs. what to do if we also want to support other tokens
TODO what changes, if any, do we need to make for ENS/CNS support with the new network?
The text was updated successfully, but these errors were encountered:
Umbra
andStealthKeyRegistry
contracts to0xFb2dc580Eed955B528407b4d36FfaFe3da685401
and0x31fe56609C65Cd0C510E7125f051D440424D38f3
, respectivelyconfig
folderprepare:*
anddeploy:*
scripts to thepackage.json
(or refactor so network name is an env var to remove this step?)getEthSweepGasInfo
inUmbra.ts
frontend/src/components/models.ts
:supportedChains
array, and make surechainId
is specified as a hex stringSupportedChainIds
type with the newchainId
as a stringAdd the address of the multicall contract inwe should always be able to use the existing Multicall3 addressfrontend/src/utils/constants.ts
chainOptions
computed property infrontend/src/layouts/NetworkDropdown.vue
frontend/src/pages/FAQ.vue
, update the "What networks is Umbra deployed on and what are the contract addresses?" questionumbra-js/src/classes/Umbra.ts
:subgraphs
object with the subgraph URLchainConfigs
object with the required parametersfetchAllAnnouncementFromLogs
infuraUrl
methodumbra-js/test/Umbra.test.ts
, add a test within theit('initializes correctly when passing a default chainId')
test*SCAN_API_KEY
env var tofrontend/.env.example
, if needed*SCAN_API_KEY
env var toumbra-js/.env.example
, if neededumbra-js/src/classes/TxHistoryProvider.ts
case
in the constructor to read in the API keycase
ingetBaseUrl()
to return the Etherscan API URLumbra-js/test/utils.test.ts
calledit('looks up transaction history in <networkName>')
The text was updated successfully, but these errors were encountered: