1
Create the project
viem signs EVM transactions. The Solana guide also needs @solana/web3.js and bs58.2
Add your keys
.env
3
Create the client and a signer
This file creates the BRDG client and a helper that signs one EVM step on Base.This is the only place a private key is used. Run any guide with
src/evm.ts
npx tsx src/<file>.ts.import type { QuoteResponse, BuildStep, Transfer } from '@kernlog/brdg-sdk'.