py-tokenlists
py-tokenlists copied to clipboard
Support new schema for tokenMap dict on install
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.
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 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