WalletConnect / walletconnect-monorepo

WalletConnect Monorepo
Apache License 2.0
1.29k stars 645 forks source link

Add Alephium #5283

Closed nop33 closed 2 weeks ago

nop33 commented 3 weeks ago

Adding a new chain to the Explorer To get a new chain added to the Explorer, you will need to submit the following:

  1. JSON-RPC spec for Wallets (only if one doesn't already exist). For more information, please review the Ethereum JSON-RPC API docs. GitHub Link:
  2. Write a CASA namespace spec if not already available for this namespace. GitHub Link: https://github.com/ChainAgnostic/namespaces/tree/main/alephium
  3. namespaces: alephium
  4. chains: Alephium's chain id follows this format alephium + ":" + group + "_" + network_id where group can be 1, 2, 3 or 4 which represent individual group, or -1 which represent all groups. The value of network_id could be mainnet, testnet or devnet. See CAIP2 for more info. Here are a few examples of chain ids:

      # Alephium mainnet, group 0
      alephium:0_mainnet
    
      # Alephium testnet, any group
      alephium:-1_testnet
  5. RPC endpoints
  6. SLIP-0044 coin type: 1234

References To ensure timely processing of your request, please provide the following references:

Additional context Add any other context here.


Please note:

Registering a chain with the Explorer does not impact or improve the ability for wallets and dapps to support your chain. It is simply a way for users to discover wallets and dapps that support your chain by:

It is still up to wallets and dapps to provide concrete support for your chain once it is listed as part of the Explorer.

linear[bot] commented 3 weeks ago

CR-506 Add Alephium

nop33 commented 2 weeks ago

Hi @Cali93! Thank you for looking into this issue!

When browsing the Chains List I see that only the 2 examples that we gave above are included:

image

This is not an exhaustive list, as described by the issue description as well as CAIP2:

image

That means the full list is:

alephium:0_mainnet
alephium:1_mainnet
alephium:2_mainnet
alephium:3_mainnet
alephium:-1_mainnet
alephium:0_testnet
alephium:1_testnet
alephium:2_testnet
alephium:3_testnet
alephium:-1_testnet
alephium:universal

The list extends with devnet as an option, but I believe you are not interested in it:

alephium:0_devnet
alephium:1_devnet
alephium:2_devnet
alephium:3_devnet
alephium:-1_devnet