feat: add Soroban CLI network config and deploy pipeline#27
Merged
ayshadogo merged 1 commit intoDfunder:mainfrom Mar 6, 2026
Merged
feat: add Soroban CLI network config and deploy pipeline#27ayshadogo merged 1 commit intoDfunder:mainfrom
ayshadogo merged 1 commit intoDfunder:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add Soroban CLI Network Configuration and Deployment Pipeline
Summary
This PR introduces support for configuring and deploying Soroban smart contracts
within the Contract Fox workspace. It sets up default network profiles, adds a
convenience deploy script, updates documentation, and provides environment
variable templates.
Key Changes
.soroban/config/config.tomlwithtestnetandmainnetentries.scripts/deploy.shbuilds and deploys all contractsto a chosen network; automatically adds missing network profiles.
docs/DEPLOY.mddetailing network setup, script usage, andcontract invocation examples.
.env.exampleupdated withSOROBAN_RPC_URLandSOROBAN_NETWORK_PASSPHRASEentries..gitignoreupdated to ignore.env;README.mdlinks todeployment docs and explains Soroban network configuration.
Motivation
Developers need a reliable, reproducible way to deploy contracts to Soroban
public networks. Prior to this work, setup was manual and scattered across
documentation. The added script and configuration centralize these operations and
make onboarding easier.
Testing
deploy.shfor syntax and logic (POSIX compliant).deploy-testnet/deploy-mainnet..env.exampleand confirmed.gitignoreblocks.env.Usage
The script prints the contract IDs returned by the Soroban CLI, satisfying the
acceptance criteria.
Notes
cargo install soroban-cli).deploy.sh.Closes: #5