nucypher / taco-web

🌮 A TypeScript client for TACo (Threshold Access Control)
https://docs.threshold.network/app-development/threshold-access-control-tac
GNU General Public License v3.0
14 stars 22 forks source link

Add a constant variable for supported chain IDs #556

Open manumonti opened 1 month ago

manumonti commented 1 month ago

The supported chains for the TACo conditions can vary over the time due to the deprecation of the different networks or because we decide to support only some testnets depending on the domain used (especially on Lynx, Tapir...).

We can add a constant variable to taco-web containing the chain ID of the supported chains so it is clear which ones are supported.

piotr-roslaniec commented 1 month ago

Since @nucypher/taco-web depends on @nucypher/contracts for contract compatibility, we may want to re-use (re-export) a list of supported networks from there.