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
  • Deploy an encrypted contract
  • Interact with an encrypted contract
  • FAQ
  • View official links
Export as PDF
  1. Appendix

Devnet

Try out the developer testnet

PreviousClients

Last updated 2 months ago

Welcome! This walkthrough is quick. It only requires a minute of actual attention, while the rest is waiting. If you run into any issues, please check if it's one of the 10 common errors resolved in the section. You can also hop in and ask questions in the #devnet channel.

If you end up deploying your own custom contract, please send the github link to on TG! Also note, this is not an incentivized testnet.

Works on Mac, Linux, and Windows via WSL (see ).

Deploy an encrypted contract

1. Install Rust

curl https://sh.rustup.rs -sSf | sh  # choose default, just press enter
. "$HOME/.cargo/env"

2. Install jq

brew install jq

3. Install sfoundryup

curl -L \
     -H "Accept: application/vnd.github.v3.raw" \
     "https://api.github.com/repos/SeismicSystems/seismic-foundry/contents/sfoundryup/install?ref=seismic" | bash
source ~/.bashrc

4. Run sfoundryup

sfoundryup  # takes between 5m to 60m, and stalling for a while at 98% normal

5. Clone repository

git clone --recurse-submodules https://github.com/SeismicSystems/try-devnet.git
cd try-devnet/packages/contract/

6. Deploy contract

bash script/deploy.sh

Interact with an encrypted contract

1. Install Bun

curl -fsSL https://bun.sh/install | bash

2. Install node dependencies

cd try-devnet/packages/cli/
bun install

3. Send transactions

bash script/transact.sh

FAQ

What if I'm on Windows?
wsl --install

Now restart your computer. After booting back up, you should be able to run the below command and follow the rest of the steps like normal

wsl
I'm stuck at 1108/1112 when running sfoundryup .
I'm getting Command failed: cargo build --bins --release.

Means your machine doesn't have cargo. If you're on Linux, run

sudo apt update && sudo apt install -y build-essential
sudo apt install cargo -y
I'm getting jq (command not found).
sudo apt-get install jq
I'm getting Address not funded. Please check if your faucet transaction went...
I'm getting Command 'brew' not found.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
I'm getting linker 'cc' not found.

You can resolve by running

sudo apt update && sudo apt install -y build-essential
sudo apt install cargo -y
I'm getting command not found: sfoundryup .
I'm getting info: aborting installation .

Means you aren't selecting an option for your Rust installation. Run the curl command again, and press Enter.

I'm getting Command: 'bun' not found.

You need to add bun to your PATH. You can either do this temporarily in your current terminal via the below command (you'll have to do it for every new window):

export PATH="/home/$(whoami)/.bun/bin:$PATH"

Or set it properly, by opening up your ~/.bashrc and adding

PATH="/home/$(whoami)/.bun/bin:$PATH"

View official links

Item
Value

Network Name

Seismic devnet

Currency Symbol

ETH

Chain ID

5124

RPC URL (HTTP)

RPC URL (WS)

Explorer

Faucet

Starter Repo

NOTE: This is a testnet with known decryption keys. Please don't put real information on it!

For Mac. See instructions for your machine . Only step that isn't OS agnostic.

We recommend using to run commands as if you were on a Linux machine. Run

Some machines take up to an hour to do this step. If it takes longer, ask a question in #devnet channel.

Means didn't work. If you're on Linux, run

Means your wallet has no testnet ETH. Please go to the , enter the address the script gave you, and wait for the green confirmation.

Means your machine doesn't have the package manager. Run

If this comes up even after you complete successfully, restart your terminal. Should be able to run it after.

here
WSL
our discord's
faucet
Homebrew
step #2
step #3
https://node-2.seismicdev.net/rpc
wss://node-2.seismicdev.net/ws
https://explorer-2.seismicdev.net/
https://faucet-2.seismicdev.net/
https://github.com/SeismicSystems/seismic-starter
our discord
@lyronc
FAQ
FAQ