Foundry is a modular toolkit written in rust for deploying Ethereum contracts.

It can be used with SYBL to deploy contracts to most EVM compatible chains.

These arguments allow for forge to use a SYBL account:

  • —unlocked: Allow forge to use the account provided by SYBL
  • —from: The address of the SYBL account to use
  • —rpc-url: The SYBL RPC url with your API Key
export SYBL_API_KEY='<From SYBL dashboard>'
export SYBL_RPC_URL='https://rpc.sybl.dev/v1/eth/rpc?api_key=$SYBL_API_KEY&chain_id=5'

forge build
forge create src/Counter.sol:Counter --rpc-url $SYBL_RPC_URL --unlocked --from '<Your SYBL account address>'