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

Add utility library #10

Open
y-pakorn opened this issue Sep 13, 2021 · 1 comment · May be fixed by #9
Open

Add utility library #10

y-pakorn opened this issue Sep 13, 2021 · 1 comment · May be fixed by #9
Labels
enhancement New feature or request

Comments

@y-pakorn
Copy link
Owner

y-pakorn commented Sep 13, 2021

Ideas, Feedbacks, and/or help on pr are always appreciated.

  • Support makerdao's multicall. (https://github.com/makerdao/multicall)
  • Add multicall ability to existing ERC20 contract.
  • Add basic chain information as enum and extensions.
  • Support UniswapV2 (or Uniswap clone such as PancakeSwap) basic interaction and utility such as route calculation. (Based on Uniswap SDK)
  • Support automatic JS package import through Dart code by dart:html. (No need for usual index.html editing)
    Seems like flutter web doesn't support isolate yet so we can't mark the entry point of the script to be running first, normal DOM script appending doesn't load the script as well. This is impossible for now.
    Possible now using AMDJS package
  • Add Ethereum unit conversion ability using decimal package.

In consideration

  • Support ERC1155 and ERC721. Because the different contract has different implementation and metadata, maybe as a base class for to be extended on.
@y-pakorn y-pakorn added the enhancement New feature or request label Sep 13, 2021
@y-pakorn y-pakorn changed the title Add utility library. Add utility library Sep 14, 2021
@y-pakorn
Copy link
Owner Author

Automatic JS package injection is possible now using AMDJS package, available for usage in pre-release.

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

Successfully merging a pull request may close this issue.

1 participant