Seismic's typescript client. This repository contains:
- seismic-viem, a set of extensions for viem
- seismic-react, a set of React hooks compatible with wagmi
View the docs here
Install nvm
Using brew:
brew install nvm
Make sure to follow the instructions to will source nvm
in your shell profile
Install npm
with node 23.3.0
using nvm
:
nvm install 23.3.0
nvm use 23.3.0
Install the latest bun. Using curl:
curl -fsSL https://bun.sh/install | bash
Create a .env
file in the repo root. These variables are only used for running tests. This file should have:
SRETH_ROOT
: the path to your localseismic-reth
directorySFOUNDRY_ROOT
: the path to your localseismic-foundry
directory
Optionally, you may set these variables to specify where reth
will store its state:
RETH_DATA_DIR
: absolute path for all reth files & subdirectoriesRETH_STATIC_FILES
: absolute path to store static files
See .env.example
for more information