py-tokenlists icon indicating copy to clipboard operation
py-tokenlists copied to clipboard

Support new schema for tokenMap dict on install

Open bitwise-constructs opened this issue 10 months ago • 3 comments

Overview

tokens.1inch.eth updated its json schema to store the tokens list as a Dict[address, info] from a List[info], removing address from the dict value.

Specification

Should be backwards compatible with the List[info] format.

bitwise-constructs avatar Jan 28 '25 13:01 bitwise-constructs

This might be the same issue, but couldn't install https://raw.githubusercontent.com/Uniswap/default-token-list/refs/heads/main/src/tokens/sepolia.json because it is a list ˙◠˙

antazoey avatar May 01 '25 13:05 antazoey

This might be the same issue, but couldn't install https://raw.githubusercontent.com/Uniswap/default-token-list/refs/heads/main/src/tokens/sepolia.json because it is a list ˙◠˙

this one particularly wasn't meant to be installed directly, but is built into a compliant list before it's published via https://tokenlists.org/token-list?url=https://ipfs.io/ipns/tokens.uniswap.org

fubuloubu avatar May 01 '25 17:05 fubuloubu