feat: Add debugging process document between StarkLotto and Debug_Starklotto#6
Merged
kimcascante merged 4 commits intoFutureMindsTeam:mainfrom Sep 12, 2025
Conversation
…rklotto - scarb file is configured correctly
kimcascante
approved these changes
Sep 11, 2025
xJeffx23
approved these changes
Sep 12, 2025
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.
🔧 Debugging Process between StarkLotto and Debug_Starklotto
📌 Description
This document explains the process for synchronizing and debugging contracts between the main StarkLotto project and the debugging project Debug_Starklotto. The process allows both projects to see and interact with the same deployed contracts on the same network.
🎯 Motivation and Context
To facilitate the development and debugging of smart contracts on Starknet, we need a standardized process that allows:
🛠️ How to Test the Change (if applicable)
Describe the steps to test your changes:
🔹 Step 1: Deploy in StarkLotto
🔹 Step 2: Copy deployedContracts.ts file
🔹 Step 3: Start the site and debug
yarn start # or yarn dev🔹 Step 4: Verify synchronization
🖼️ Screenshots (if applicable)
If applicable, add screenshots or videos of test results.
🔍 Type of Change
✅ Checklist Before Merging
📌 Additional Notes
Synchronized Contract Structure
The
deployedContracts.tsfile contains information for the following contracts:Important Considerations
Deployment Network: Ensure that both projects are configured for the same network (devnet/testnet/mainnet)
Contract Versions: Contracts must be in the same version in both projects to avoid incompatibilities
Network Configuration: Verify that the network configuration in
scaffold.config.tsis consistentRecommended Workflow
Available Debugging Tools
This process ensures an efficient and secure workflow for the development and debugging of smart contracts on Starknet.