Skip to content
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

Implement a Loom Truffle provider that auto-maps accounts #10

Open
enlight opened this issue Oct 28, 2019 · 0 comments
Open

Implement a Loom Truffle provider that auto-maps accounts #10

enlight opened this issue Oct 28, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@enlight
Copy link
Contributor

enlight commented Oct 28, 2019

To simplify testing and deployment on Loom we should implement another version of Loom Truffle provider that primarily operates using Ethereum accounts, rather than Loom accounts. It should be possible to create the provider using a mnemonic, and the provider will auto-map Ethereum & Loom accounts generated from that mnemonic (unless a mapping already exists for the Ethereum account, in which case it'll use the existing mapping).

In terms of implementation there's going to be a new provider class that will have a constructor that accepts a Truffle Provider instance (which will be created using the @truffle/hdwallet-provider package), the new provider will handle the account mapping and will delegate everything else to the HDWallet provider.

@enlight enlight added the enhancement New feature or request label Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant