Skip to content

Feat/mainnet v2 deployment integration#376

Merged
Mosas2000 merged 22 commits into
mainfrom
feat/mainnet-v2-deployment-integration
May 12, 2026
Merged

Feat/mainnet v2 deployment integration#376
Mosas2000 merged 22 commits into
mainfrom
feat/mainnet-v2-deployment-integration

Conversation

@Mosas2000

Copy link
Copy Markdown
Owner

Files Updated:
contracts.js

  • Contract configuration
    .env.production
  • Production environment
    .env.example
  • Environment documentation
    package.json
  • Package metadata
    README.md - Deployment information
    Files Created:
    DEPLOYMENT_V2.md - Comprehensive deployment docs
    MIGRATION_GUIDE.md
  • Migration instructions
    CHANGELOG.md
  • Config changelog
    DEPLOYMENT_NOTES.txt - Quick notes
    CONTRACT_ADDRESS.txt - Address reference

Mosas2000 added 22 commits May 12, 2026 17:12
…composability

Major Changes:
- Add complete tipstream-v3.clar contract (~1,300 lines)
- Implement streaming payments (create-stream, claim-stream, cancel-stream)
- Implement escrow system with multiple condition types (time-locked, milestone, multisig)
- Implement composability traits for contract integration
- Add V3 mainnet deployment configuration
- Add V2 mainnet deployment reference

Cleanup:
- Remove unused documentation files (100+ markdown files)
- Remove unused scripts (token-management.sh, validate-metrics.sh, setup-hooks.sh, validate-csp.test.cjs)
- Remove unused batch tipping utilities and tests
- Streamline repository for production focus

Contract Features:
- All V2 features maintained (core tipping, profiles, blocking, batch tips, token tips, admin controls)
- 35+ new error codes (err-115 through err-135)
- 15+ new data maps for streams, escrow, and registered contracts
- Rate-per-block streaming payment calculations
- Multi-condition escrow release mechanisms
- Contract registration system for composability

Breaking Changes: None (V3 is a new contract, V2 remains unchanged)
- Update CONTRACT_ADDRESS to SP1W6XQZ6XVYGTVW32SJW2ZG48ZJBW9BATRD19N60
- Points to newly deployed tipstream V2 contract on mainnet
- Contract deployed at block 7940053
- Add CONTRACT_VERSION constant (v2.0.0)
- Add CONTRACT_DEPLOYMENT_BLOCK for reference
- Improves contract tracking and debugging capabilities
- Add TRAITS_CONTRACT_ADDRESS and TRAITS_CONTRACT_NAME
- Required for SIP-010 token tipping functionality
- Deployed alongside main contract
- Add FULL_CONTRACT_ID for complete contract reference
- Add FULL_TRAITS_CONTRACT_ID for traits contract
- Simplifies contract calls and references throughout app
- Add VITE_CONTRACT_ADDRESS environment variable
- Add VITE_CONTRACT_NAME environment variable
- Ensures production builds use correct mainnet contract
- Document VITE_CONTRACT_ADDRESS and VITE_CONTRACT_NAME variables
- Add comments explaining override capability
- Improves developer experience for local testing
- Add CONTRACT_EXPLORER_URL for easy contract verification
- Add DEPLOYMENT_TX_URL for deployment transaction reference
- Improves transparency and debugging capabilities
- Add validateContractDeployment() for runtime verification
- Returns complete contract metadata object
- Useful for debugging and health checks
- Update contract address to SP1W6XQZ6XVYGTVW32SJW2ZG48ZJBW9BATRD19N60
- Add contract version (v2.0.0) and deployment block
- Update explorer and transaction links
- Add traits contract reference
- Document deployment summary and costs
- List both deployed contracts with transaction links
- Include V2 features and deployment process
- Add migration notes and post-deployment checklist
- Update version to 2.0.0 to match contract version
- Add contract deployment metadata
- Add description and repository information
- Rename package to tipstream-frontend
- Document contract address changes
- Provide user and developer migration steps
- Include data migration strategies
- Add rollback procedures
- Document all V2 configuration changes
- List added constants and helpers
- Include migration notes
- Track configuration evolution
- Confirm successful deployment
- Document verification steps
- Outline next actions
- Quick reference for contract address
- Useful for scripts and automation
- Mark successful V2 deployment
- Contract live on mainnet
- Frontend configuration complete
- All configuration updated
- Documentation complete
- Ready for Vercel deployment
- Contract address updated across all files
- Environment variables configured
- Helper functions added
- Centralized all contract constants
- Added validation helpers
- Improved maintainability
- Contract deployed successfully (block 7940053)
- Frontend fully configured for new contract
- Documentation and migration guides added
- Ready for production release

Closes #V2-DEPLOYMENT
- Document V2 deployment details and timeline
- List contract improvements (security, token tipping, categories)
- Highlight frontend enhancements and new features
- Add developer experience improvements
- Link to deployment and migration documentation
@Mosas2000 Mosas2000 merged commit 53a834d into main May 12, 2026
3 of 8 checks passed
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.

1 participant