Development Toolkit

Use sfoundry to write and test smart contract code locally before deployment


Mappings to foundry

Seismic's development toolkit closely mirrors foundry (it's a fork!). The mapping is as follows:

// foundry tool -> seismic version of foundry tool
forge -> sforge
anvil -> sanvil
cast -> scast

You should use the righthand version of all tools when developing for Seismic to get expected behavior. Our documentation assumes familiarity with foundry.


Quick actions

Substitute sforge for forge to execute against Seismic's superset of the EVM. More on this in the next section.

# Initializes a project called `Counter`
sforge init Counter

sanvil

Last updated