Skip to content

Commit

Permalink
simplified networks on frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
bearni95 committed May 9, 2024
1 parent 074ab09 commit eea3c51
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/taikoon-ui/src/generated/abi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -551,8 +551,8 @@ export const taikoonTokenAbi = [
*/
export const taikoonTokenAddress = {
17000: '0xfDbaA6d6c382A2555856bFaB315D5E6F3CDA1393',
31337: '0x3Aa5ebB10DC797CAC828524e59A333d0A371443c',
167001: '0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9',
31337: '0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512',
167001: '0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512',
11155111: '0xd2f82Ac36F5Bc25D52c9FB4E3Ec23E27a6f81482',
} as const;

Expand Down
9 changes: 6 additions & 3 deletions packages/taikoon-ui/src/lib/wagmi/publicClient.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
import { createPublicClient, http } from 'viem';
import { hardhat } from 'viem/chains';

import { chainIdToChain } from '$lib/chain/chains';

const devnet = chainIdToChain(167001);

export default async function publicClient() {
const client = createPublicClient({
chain: hardhat,
transport: http('http://localhost:8545'),
chain: devnet,
transport: http('https://rpc.internal.taiko.xyz'),
});

return client;
Expand Down
3 changes: 0 additions & 3 deletions packages/taikoon-ui/src/wagmi.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ const baseConfig = {
},
transports: {
[hardhat.id]: http('http://localhost:8545'),
//[holesky.id]: http('https://1rpc.io/holesky'),
[holesky.id]: http('https://ethereum-holesky.blockpi.network/v1/rpc/public'),
//[holesky.id]: http('https://l1rpc.hekla.taiko.xyz/'),
[sepolia.id]: http('https://rpc2.sepolia.org'),
[devnet.id]: http('https://rpc.internal.taiko.xyz'),
},
} as const;
Expand Down

0 comments on commit eea3c51

Please sign in to comment.