Seismic Book
  • Welcome
  • introduction
    • Why
    • What
    • How
  • onboarding
    • Installation
    • Quickstart
    • Tutorial
      • Setting Up Your Walnut App Project
        • Verify devtool installation
        • Create project structure and monorepo workspace
        • Initialize the contracts subdirectory
        • Initialize the CLI subdirectory
      • Writing, testing and deploying the contract
        • Chapter 1: Making the Kernel
        • Chapter 2: Making the Shell and revealing the Kernel
        • Chapter 3: Reset Mechanism, Rounds, and a more conditional Kernel Reveal
        • Chapter 4: Testing your Walnut contract
        • Deploying your contract
      • Interacting with the contract via a CLI
        • Quick primer: seismic-viem
        • Chapter 1: Defining the constants and utilities
        • Chapter 2: Writing the core app
        • Chapter 3: Bringing it all together
      • Understanding the Walnut contract
  • core
    • Basics
      • suint / sint
      • saddress
      • sbool
    • Collections
    • Clients
  • Appendix
    • Devnet
Powered by GitBook

Contact us

  • Telegram
  • Twitter
  • Email
On this page
  • sforge, sanvil, and ssolc
  • VSCode extension
Export as PDF
  1. onboarding

Installation

Setting up your local machine to develop with Seismic

PreviousHowNextQuickstart

Last updated 1 month ago

sforge, sanvil, and ssolc

We currently support devices with x84_64/arm64 architectures running MacOS, Ubuntu or Windows.

The local development suite uses sforge as the testing framework, sanvil as the local node, and ssolc as the compiler.

  1. Install [ / / / ] on your machine if you don't already have them. Default installations for all work well.

# install rust and cargo
curl https://sh.rustup.rs -sSf | sh
  1. Download and execute the sfoundryup installation script.

curl -L \
     -H "Accept: application/vnd.github.v3.raw" \
     "https://api.github.com/repos/SeismicSystems/seismic-foundry/contents/sfoundryup/install?ref=seismic" | bash
source ~/.zshenv  # or ~/.bashrc or ~/.zshrc
  1. Install sforge, sanvil, ssolc. Expect this to take between 5-20 minutes depending on your machine.

sfoundryup
source ~/.zshenv  # or ~/.bashrc or ~/.zshrc
  1. Remove old build artifacts in existing projects.

sforge clean  # run in your project's contract directory

VSCode extension

We also recommend adding syntax highlighting via the extension from the VSCode marketplace. If you have the solidity extension, you'll have to disable it while writing Seismic code.

rust
cargo
brew
jq
seismic