Feat/mainnet v2 deployment integration#376
Merged
Merged
Conversation
…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
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.
Files Updated:
contracts.js
.env.production
.env.example
package.json
README.md - Deployment information
Files Created:
DEPLOYMENT_V2.md - Comprehensive deployment docs
MIGRATION_GUIDE.md
CHANGELOG.md
DEPLOYMENT_NOTES.txt - Quick notes
CONTRACT_ADDRESS.txt - Address reference