Skip to content

feat: soroban-cli local sandbox and testnet deployment scripting (#2) - #12

Merged
ayshadogo merged 1 commit into
Dfunder:mainfrom
BigBen-7:issue-2-soroban-cli-deployment
Jul 21, 2026
Merged

feat: soroban-cli local sandbox and testnet deployment scripting (#2)#12
ayshadogo merged 1 commit into
Dfunder:mainfrom
BigBen-7:issue-2-soroban-cli-deployment

Conversation

@BigBen-7

Copy link
Copy Markdown

Summary

Implements local soroban-cli sandbox setup and scripted testnet deployment as specified in issue #2.

Changes

  • Makefile - make build, make test, make deploy-testnet, make clean targets
  • scripts/deploy.sh - Deploys campaign and factory contracts to Testnet using funded admin keypair from .env, outputs deployed contract IDs, and writes/updates deployments/testnet.json
  • .env.example - Template for ADMIN_KEY and optional RPC/passphrase overrides
  • deployments/ - Directory for deployment records (tracks campaign and factory IDs)
  • .cargo/config.toml - Already existed with wasm32-unknown-unknown target

Notes

  • Script is idempotent: re-running overwrites the deployment record rather than failing
  • jq required for JSON deployment record updates

Closes #2

…funder#2)

- Add Makefile with build, test, deploy-testnet, clean targets
- Add scripts/deploy.sh for testnet deployment with idempotent record writing
- Add .env.example for admin keypair configuration
- Add deployments/ directory for deployment records
- Reuse existing .cargo/config.toml wasm32 target config

Closes Dfunder#2

@ayshadogo ayshadogo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thank you for your contribution

@ayshadogo
ayshadogo merged commit fb4b720 into Dfunder:main Jul 21, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

soroban-cli local sandbox and testnet deployment scripting

2 participants