Skip to content

AWS Resources

November 24, 2023 by nextjoshaustin

Hello everyone, this is my first post!

aws = cool
 
// 1. Import modules.
import { createPublicClient } from 'viem'
import { createPublicClient, http } from 'viem'
import { mainnet } from 'viem/chains'
 
// 2. Set up your client with desired chain & transport.
const client = createPublicClient({
  chain: mainnet,
  transport: http(),
})