Add deployment scripts and stellar.toml configuration for testnet and mainnet#47
Merged
prodbycorne merged 1 commit intoJun 27, 2026
Conversation
…mainnet Closes SmartDropLabs#26 by providing a repeatable deploy flow, Makefile targets, stellar.toml RPC config, and README quick-start docs so developers no longer need to reconstruct deployment steps manually.
6 tasks
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.
Overview
This PR adds deployment tooling so developers can build, test, and deploy SmartDrop Soroban contracts to Stellar testnet and mainnet without reconstructing the sequence from CLI docs. It introduces
scripts/deploy.sh, network configuration instellar.toml, Makefile targets, and a README Quick Start section.Related Issue
Closes #26
Changes
🚀 Deployment Script
scripts/deploy.shfarming-poolWASM viastellar contract installfactorycontract viastellar contract deployfactory.initialize(admin, pool_wasm_hash).contract-ids.jsonstellar.tomlTxBadSeqsequence errors between transactions🌐 Network Configuration
stellar.toml[testnet]RPC URL and network passphrase[mainnet]RPC URL and network passphrase🔧 Makefile
Makefilebuild— compile release WASM fromsoroban/test— run contract unit testsdeploy-testnet— deploy to testnet viascripts/deploy.shdeploy-mainnet— deploy to mainnet viascripts/deploy.sh📚 Documentation
README.md🔒 Git Configuration
.gitignore.contract-ids.jsonVerification Results
scripts/deploy.shdeploys and initializes factory end-to-end on testnetbuild,test,deploy-testnet,deploy-mainnettargets.contract-ids.jsongenerated and gitignoredstellar.tomlwith testnet + mainnet RPC configurationTest plan
make testand confirm all contract tests passmake deploy-testnetwith a funded testnet identity.contract-ids.jsonis written and gitignoredadminandpool_wasm_hashon the deployed factory to verify initializationNETWORK, missing identity, and missing WASM produce clear errors