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

[feat] erc20 balance support #60

Open
mortimr opened this issue May 15, 2019 · 0 comments

Comments

@mortimr
Copy link
Member

commented May 15, 2019

Description

Add a configuration arguments that is an object like this:

{
  "erc20": [
    address_one,
    address_two
]
}

To add erc20 contracts in the store. Adding an ERC20 contract will automatically fetch its symbol and name, and create a new balance and allowance value for each address, and of course the abi is provided by ethvtx. Adds a custom alias erc20://symbol that can't be added manually.

Add famous ERC20 helpers (DAI, MKR, SNT ...).

Add an erc20 flag when adding a contract spec, making it possible to add custom ABIs, and still have the balance support (checks will be performed on the abi to ensure it is erc20 compliant)

And of course the contract instances will be available, so people can use them to make transactions, allowances etc ...

Purpose

Asset diversification is growing on dapps, and the need to support a dynamic range of assets and their balances is bigger. Being able to cache the calls and make them in a smart manner thanks to ethvtx would be a pretty useful feature !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.