export const APP_URI_MAINNET = "https://app.frankencoin.com";
export const PONDER_URI_MAINNET = "https://mainnet.ponder.frankencoin.com";
// >>>>>> SELECTED URI HERE <<<<<<
export const APP_URI_SELECTED = APP_URI_MAINNET;
export const PONDER_URI_SELECTED = PONDER_URI_MAINNET;
// >>>>>> SELECTED URI HERE <<<<<<
Environment:
node version 20
yarn v1.22.19
Next.js 14.1.4
Commands:
yarn install --frozen-lockfile
yarn build
yarn run start
Open
Environment:
node version 20
yarn v1.22.19
Next.js 14.1.4
Commands:
yarn install --frozen-lockfile
yarn run dev
Open http://localhost:3000 with your browser to see the result.
e.g. custom testnet chain
Memory stored private blockchain for development.
RPC: https://ethereum3.3dotshub.com
Blocktime: 10sec
Drop an address if you need ETH on this network.
[ethereum3.id]: {
frankenCoin: "0x4800b6c288e4B2BBa7b2314328DB485F5FfB0414",
bridge: zeroAddress,
xchf: zeroAddress,
equity: "0xD47DE3328848cf8fd4079673cA40510536323e59",
mintingHub: "0x60614BE7fD2F92bf96caa61d434a4e04Af6228c3",
wFPS: zeroAddress,
mockWbtc: "0x1b01c6b10ca8AeD4F1e0d39319aa27183BBC1578",
mockLseth: "0xd54Fb4EE40ca7F0FeF1cd87AC81dE3F247776209",
mockBoss: "0x7f6c45725F521e7B5b0e3357A8Ed4152c0BBd01E",
},
// if ethereum3 private testnet
if ((WAGMI_CHAIN.id as number) === 1337) {
for (let erc of fetchedERC20Infos) {
let price = { usd: 1 };
const calc = (value: number) => {
const ref: number = 1718033809979;
return value * (1 + ((Date.now() - 1718033809979) / (3600 * 24)) * 0.005 + Math.random() * 0.01);
};
if (erc.address === ADDRESS[WAGMI_CHAIN.id].frankenCoin) price = { usd: calc(1.12) };
if (erc.address === ADDRESS[WAGMI_CHAIN.id].mockWbtc) price = { usd: calc(69000) };
if (erc.address === ADDRESS[WAGMI_CHAIN.id].mockLseth) price = { usd: calc(3800) };
if (erc.address === ADDRESS[WAGMI_CHAIN.id].mockBoss) price = { usd: calc(11.54) };
transports: {
[mainnet.id]: http("https://eth-mainnet.g.alchemy.com/v2/DQBbcLnV8lboEfoEpe8Z_io7u5UJfSVd"),
[ethereum3.id]: http("https://ethereum3.3dotshub.com"),
},
public/coin/
folder.public/coin/xchf.svg