server works with backend via redis, serves chainInfo, more

This commit is contained in:
Tim Olson
2023-10-04 03:42:21 -04:00
parent e36f7812eb
commit c05c9b9c16
12 changed files with 404 additions and 209 deletions

View File

@@ -6,8 +6,10 @@ import {ethers} from "ethers";
import {erc20Abi} from "./abi.js";
import {getProvider} from "./blockchain.js";
const std_arbitrum_tokens = {}
const tokens = {
42161: {}
42161: std_arbitrum_tokens,
1338: std_arbitrum_tokens,
}
export async function lookupToken(chainId, address) {