eaec1c3f chore: migrated to wagmi Steve 2025-08-31

bhvr-forge ⚒️🦫

cover

A full-stack TypeScript and Solidity monorepo starter with shared types, using Bun, Hono, Vite, React, and Forge. Based of the existing bhvr stack.

[!WARNING] This repo is still under testing, please report any bugs you might have!

Quickstart

First make sure you have Foundry installed on your machine. If you do not follow these instructions and then run the command below to verify it's installed.

forge --version

Start a new bhvr-forge project with the CLI command below

bun create bhvr-forge@latest

bhvr-forge by default uses the local Anvil testnet that comes with Foundry. Start up the testnet in a separate terminal with the following command:

anvil

Then inside your project move into the contracts package and deploy it locally.

cd contracts
bun run deploy:local

This will compile the contracts, export types, and deploy to the Anvil testnet.

Now move back into the root of the project and run the dev command to start up the whole app.

cd ../
bun run dev

You should be able to call the contract counter state as well as the API in the server, with type sharing across the entire repo!

Docs

Please visit the official docs site for more info.

Questions

Feel free to contact me!