Skip to content

Get USD prices from 1inch smart contract #18

Description

@gskril

Would be awesome if I didn't need to add a CoinGecko API key to get USD prices. I think the 1inch spot price aggregator solves this perfectly, at least as a fallback for supported chains.

I've used it in a local EVM accounting project before - implementation is pretty straightforward https://github.com/gskril/evm-portfolio/blob/main/server/src/price.ts

Might try to open a PR at some point but dropping the reference here in case somebody else wants to take in the meantime!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions