settings.dart 670 B

1234567891011121314151617181920212223242526272829303132
  1. const network_ss58_map = {
  2. 'acala': 42,
  3. 'laminar': 42,
  4. 'kusama': 2,
  5. 'substrate': 42,
  6. 'polkadot': 0,
  7. };
  8. const SigningMethodsEVM = [
  9. "eth_sendTransaction",
  10. "eth_signTransaction",
  11. "eth_sign",
  12. "eth_signTypedData",
  13. "eth_signTypedData_v1",
  14. "eth_signTypedData_v2",
  15. "eth_signTypedData_v3",
  16. "eth_signTypedData_v4",
  17. "personal_sign",
  18. "wallet_addEthereumChain",
  19. "wallet_switchEthereumChain",
  20. "wallet_getPermissions",
  21. "wallet_requestPermissions",
  22. "wallet_registerOnboarding",
  23. "wallet_watchAsset",
  24. "wallet_scanQRCode",
  25. // wallet auth methods
  26. // "eth_chainId",
  27. "eth_requestAccounts",
  28. "eth_accounts",
  29. "metamask_getProviderState",
  30. ];