-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi-Chain Support #1820
Comments
LINK also needs this: https://www.link-blockchain.org/ |
The ETC Cooperative would like to revisit this and get a set of patches merged such that any Ethereum-based network will be able to use MetaMask. The first being ETC of course; but with the aim of having this be trivially configurable. ETC Cooperative itself will manage this and pay for developer's time. However, before nailing down the plan I'd like to first confirm a few questions:
|
ETC being first of course. 🙄 |
I dont really know why having a menu full of networks is a bad thing.. it already has a menu full of networks, but the second option to make eip155 an optional param for custom rpcs is probably the easiest to implement. |
I meant no disrespect to other networks of course and hope to see every Ethereum-based network supported. If the ETC Cooperative were to commission this of course we'd include ETC in the first pull requests. There's also the practical aspect that we'd want to get everything working correctly/proven in the wild with one network before moving onto others for a few reasons:
We'd likely help with later PRs for ELLA and ESN as well since those two cooperate with various ETC-related teams on other projects. Expanse, Ubiq, and all other Ethereums should have a trivially easy time getting their PRs done once all the work is complete. Anyways, back to implementations: For the menu I was actually wondering if it can be a two-step selection where you have an overarching menu structure like so (select outer-bullet point, then inner):
|
Ok, sorry for getting defensive, id be willing to provide some resources to
get this done, perhaps even give an Expanse Grant to whoever wants to do
it. :) ClassicMask has already done alot of the work already for adding
network ids and stuff. Its really up to the MetaMask guys/ Ive reached out
before wanting to help and though they were very nice and respectful, they
seemed a little apprehensive of the idea. :/ Maybe our teams can get
together and just make a completely new product that is similar.
…On 30 May 2018 at 12:07, Anthony ***@***.***> wrote:
ETC being first of course. 🙄
I meant no disrespect to other networks of course and hope to see every
Ethereum-based network supported.
If the ETC Cooperative were to commission this of course we'd include ETC
in the first pull requests. There's also the practical aspect that we'd
want to get everything working correctly/proven in the wild with one
network before moving onto others for a few reasons:
- It saves on rework if we encounter bugs we didn't see during testing
- As the MetaMask team previously mentioned, they want to make sure
they trust the node operators. This is something only they can determine.
We'd likely help with later PRs for ELLA and ETSC as well since those two
cooperate with various ETC-related teams on other projects. Expanse, Ubiq,
and all other Ethereums should have a trivially easy time getting their PRs
done once all the work is complete.
Anyways, back to implementations:
For the menu I was actually wondering if it can be a two-step selection
where you have an overarching menu structure like so (select outer-bullet
point, then inner):
- Ethereum
- Mainnet
- Testnet 1
- Testnet 2
- ETC
- Mainnet
- Testnet 1
- Expanse
- Mainnet
- Testnet 1
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1820 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADYQsfndfJ7dJzdSgQHR7kBFjcasSX3qks5t3sPBgaJpZM4Oi4yg>
.
|
If you want ETC support, the way forward is the same as described in the parent post. All other proposals hinge on:
This would be a simple enough PR to submit, we don't need to debate network menus before this has been added. |
@danfinlay Got it. We'll get this change submitted. |
Please see ethereum/go-ethereum#15002 (comment) currently, @turbobit can manage this issue (chainID != networkID cases) by hack/workaround |
from https://github.com/ethereum/EIPs/blob/master/EIPS/eip-155.md (networkID column added)
[1] https://github.com/expanse-org/go-expanse/blob/master/eth/config.go#L42 |
no other web wallets even support EIP155 disabled blockchians. |
See also
|
Can we address this? Is EIP-155 really needed if every blockchain implements it? @danfinlay |
See also PR #5552 |
Refs #5134 as well |
Hey @danfinlay and @kumavis! I am just trying to figure out where everything is sitting on this. It looks like abortive attempts were made in 2017 and 2018 to get ETC (and other chains) working with MetaMask which we can maybe complete now without too much pain? Everything which @pyskell said there in May 2018 remains the case. The ETC Cooperative can drive this, find volunteers or fund developers to make the PRs, etc. |
Anyway - I am happy to jump on this horse and start riding again. I just want to confirm where we are, and that you guys are OK with this work picking up again. Aside - We are talking to EG at Infura too, about what it might take to get Infura ETC support. That would be easiest of all, but may or may not be possible. |
Is there an API proposal for this existing that external devs could start making pull requests against? E.g. I could imagine a new api overload of request() with a new client only wallet_requestChainId method, so that each DApp can decide which ChainId to operate on. ethereum
.request({ method: 'wallet_requestChainId', params: [1] })
.then((chainId) => {
console.log(`hexadecimal string: ${chainId}`);
console.log(`decimal number: ${parseInt(chainId, 16)}`);
})
.catch((error) => {
console.error(`Error requesting chainId: ${error.code}: ${error.message}`);
}); That could then be resolved using the offical EIP-155 https://chainid.network/chains.json, or the file could also be cached as part of the metamask distribution. Is this along the lines of the initial thinking? Or is there something more concrete/different in the making? |
I would seriosuly welcome this, I am building a Peering Exchange on mellanox and Intel Tech and anything that can automate Metmask at API level is a real benefit. Especially when handling highly encrypted traffic at 800 gbps plus per 2u. This would allow me to build a central hub for automating all smart contracts based on a more flexible architecture and design. |
I think, with the addition of |
Thank you for that Brad, we shall close! Anyone who's been waiting for this can read the EIP 3086 here or read the docs here. |
Hurrah :-) Thank you, MetaMask crew! |
Four years and some change in the making. Im glad to see the air around "forks" clear up. |
MetaMask wants to support a plurality of chains in the future, but we don't want to just add a huge menu of providers, so how do we want to allow MetaMask usage with other chains?
Related to
#1476
#1555
The text was updated successfully, but these errors were encountered: