CryptoSync by CS Team - Sync your portfolio with perfection

Project Name: CryptoSync

Project Track: Integration

Team Name: CS Team

Team Member(s): 3 - @hivemind + 2

DevPost Project Link: CryptoSync | Devpost

Project Goal:
CryptoSync aims to empower retail crypto investors by providing an automated, decentralized solution for portfolio rebalancing based on predefined strategies integrating Sunswap Dex for Rebalancing. By automating rebalancing decisions and execution, CryptoSync helps investors maintain balanced portfolios, reduce time consumption, and minimize emotional decision-making in the volatile crypto market.

Project Value:

  1. Decentralized Automation: By integrating with the TRON blockchain, CryptoSync provides a trustless, automated rebalancing solution that doesn’t require users to give up custody of their assets.
  2. Accessibility: Brings advanced portfolio management strategies to retail investors who may lack the expertise or time for manual rebalancing.
  3. Cost-Efficiency: Automated rebalancing on-chain can potentially reduce transaction costs compared to frequent manual adjustments.
  4. Market Responsiveness: Utilizes real-time price feeds to ensure timely rebalancing, taking advantage of market movements.
  5. Customization: Allows users to set their own allocation targets, rebalancing thresholds, and risk management parameters (take-profit and stop-loss).

Project Info:

Here’s the Miro Board link to get an overview of the Basic Architecture of the project
CryptoSync Basic Architecture

Here’s also attached the Document for Understanding the Strategy that we’re implementing
Rebalancing Strategy.pdf (39.0 KB)

Project Website: https://crypto-sync-seven.vercel.app/

Project Demo: https://youtu.be/zok9NclVzLU

Project Pitchdeck:
CryptoSync PitchDeck.pdf (590.9 KB)

Project Test Instructions: The test instructions are provided below.

Project Details:
CryptoSync is an innovative, automated portfolio rebalancing platform implemented on the TRON blockchain. It empowers users to manage their crypto portfolios efficiently and securely, leveraging the power of smart contracts and decentralized finance.

Core Functionality

CryptoSync allows users to:

1. Deposit Tokens: Users can deposit multiple tokens into their personal pool, setting specific proportions for each asset. This forms the foundation of their customized portfolio.
2. Set Rebalancing Thresholds: Users define the acceptable range of deviation for each asset. When an asset’s proportion moves beyond this range, it triggers an automatic rebalancing event. Swap functionality will driven by Sunswap Dex.
3. Define Take-Profit and Stop-Loss Conditions: For each asset in the portfolio, users can set individual take-profit and stop-loss levels. This feature enables automated risk management and profit securing.
4. Adjust Parameters Dynamically: Users have the flexibility to change their threshold, take-profit, and stop-loss parameters at any time. This allows for adaptive strategies as market conditions or personal goals change.
5. Emergency Withdraw: In volatile market conditions or unforeseen circumstances, users can quickly withdraw all their assets from the pool, ensuring they always maintain control over their funds.

Key Features

1. Automated Rebalancing:

  • The heart of CryptoSync, this feature maintains user-defined asset allocations by automatically rebalancing when thresholds are exceeded.
  • Utilizes smart contract logic to execute trades, ensuring transparency and eliminating the need for manual intervention.

2. Price Feed Oracle Integration:

  • Utilizes off-chain services to aggregate price data, ensuring accurate and timely rebalancing decisions.

3. Smart Contract-based Logic:

  • Implements rebalancing strategies directly on the TRON blockchain, ensuring transparency and security.

4. User-friendly Dashboard:

  • Provides an intuitive interface for users to set up and monitor their portfolios.
  • Offers real-time visualizations of portfolio composition and performance.
  • Enables easy management of all parameters, including thresholds, take-profit levels, and stop-loss orders.

5. Enhanced Security:

  • Implements a robust security model where only the user has access to their assets within the Pool Contract.
  • No external party, including the CryptoSync team, can change parameters or withdraw funds from a user’s Pool Contract.
  • All smart contracts undergo rigorous security audits to ensure the safety of user funds.

Smart Contract links: TRONSCAN | TRON BlockChain Explorer | æłąćœșćŒșć—é“Ÿæ”è§ˆć™š

Test Instructions :

Follow the steps below to test our application. Please note that the refinement process is ongoing, and there may be some changes in the interface.

Prerequisites:

  1. Ensure you are using a laptop for testing purposes.
  2. Obtain Tokens from the Faucet Tab
  3. Our application supports both light and dark modes. For testing purposes, we will use dark mode.

Start with testing part


Visit our site: https://crypto-sync-seven.vercel.app/

  • Connect your wallet and Click on the Faucet button

  • It’ll be redirected to the Faucet page, where you can easily claim the test tokens to test our app.

  • Just make sure you’re connected to the TRON NILE TESTNET through your app

  • Once you acquired the SYNCX, SYNCY and SYNCZ tokens, than you can proceed with creating pool.

  • Fill up all the details for the Deploying your pool as shown in the image below.

  • After Setting up the parameters click on Create Pool button

  • You’ll be prompted on your wallet for approving the tokens, Approve the tokens and then sign the transaction

  • After Deploying the pool, You’ll see your pool by clicking on the Dashboard button.

  • In the below image, you can see all the pools that you have created

  • After Clicking on any Pool, You’ll be redirected to the Pool Dashboard as per the below image

  • On this page, you’ll see all the activity, details and Pool performance

  • You’ll also see the transaction history

  • By clicking on any activity, you can see Before and After status of the pool

  • You can trace the details from the Rebalance Action Details

  • You can also edit the Pool parameters by clicking on Modify Pool button

By following the above steps, you can successfully test the core features of the CryptoSync platform.

Project Milestones:

10th - 17th Sept. :

  • Create and Finalize rebalancing strategies and smart contract architecture.

18th - 25th Sept:

  • Create and Test the smart contracts on the TRON Blockchain
  • Develop frontend interface and integrate with smart contracts.

26th Sept - 2nd Oct :

  • Test all rebalancing scenarios and ensure functional accuracy.
  • Integrate price feeds and oracles.

3rd - 8th Oct:

  • Complete integration and thorough testing.
  • Prepare project documentation and user guides.

Future Goals:

While CryptoSync’s initial implementation focuses on providing a robust automated rebalancing solution on the TRON blockchain, we have ambitious plans for future development. These goals aim to expand the platform’s capabilities, improve user experience, and increase adoption within the crypto ecosystem.

1. Advanced Rebalancing Strategies and DeFi Integration

  • Implement more sophisticated rebalancing algorithms, including:
    • Periodic rebalancing
    • Threshold rebalancing with dynamic bands
    • Volatility-based rebalancing
  • Allow users to choose from multiple strategy templates or create custom strategies
  • Add Indicators and Finance Instruments (e.g. RSI, Bollinger bands, etc) to refine the strategies
  • Implement automated yield harvesting and reinvestment strategies

2. Multi-chain Support

  • Expand beyond TRON to support other popular blockchains (e.g., Ethereum, Binance Smart Chain)
  • Implement cross-chain rebalancing for truly diversified portfolios
  • Develop bridge mechanisms for seamless asset transfer between supported chains

3. Mobile App and Educational Platform

  • Launch iOS and Android mobile apps for on-the-go portfolio management
  • Implement push notifications for important portfolio events and rebalancing actions
  • Develop an educational section within the platform to help users understand portfolio management concepts
  • Offer simulation tools for users to test different strategies without risking real assets
28 Likes

Welcome and all the best for Season 7! :star2:
Excited to see what you create at the end.

2 Likes

Welcome to Hackathon Season 7, I took my time to read everything from start - bottom, offering an automated, decentralized portfolio rebalancing solution on the TRON Blockchain is really promising.
Since you’re emphasizing on security, which audit firm will you engage for reviewing your smart contracts? This will impact user trust significantly.

3 Likes

Welcome to the Hackathon of season 7, I read everything that you write in your project. Please tell me what security measures are you taking to protect your retail investors from the risks of the automated rebalancing, thank you

4 Likes

Welcome to Hackathon Season 7!

Automating portfolio rebalancing will help many retail investors navigate the complexities of the crypto market. How will you ensure the security and reliability of the price feed Oracle integration, especially during high volatility?

2 Likes

Thanks for your question! :dizzy:

We haven’t finalized an audit firm yet because we’re currently focused on thoroughly testing our smart contracts on the testnet. Once we’ve completed our internal testing and are confident in the security and functionality of our platform, we’ll engage a reputable auditor.
We’ll definitely keep the community informed when we make that decision.
Security is our top priority, and we appreciate your interest and support!

3 Likes

Thank you for your question and for taking the time to review our project. Protecting retail investors is our top priority, and we’ve implemented several security measures to safeguard users from the risks associated with automated rebalancing:

  1. Emergency Exit Button: Users will have access to an emergency exit feature that allows them to immediately withdraw their funds from the smart contracts at any time. This provides full control over assets, especially during unexpected market events.

  2. Smart Contract Security: We are rigorously testing our smart contracts on the TRON testnet to ensure they function securely and as intended. Before launching on the mainnet, we’ll engage a reputable auditing firm to conduct a comprehensive security audit to identify and fix any potential vulnerabilities.

  3. User-Controlled Parameters: Users set their own rebalancing thresholds, take-profit, and stop-loss conditions. This customization lets investors to take risk according to their risk tolerance and investment goals.

  4. Transparent and Decentralized Operations: All transactions and rebalancing activities are executed via transparent smart contracts on the TRON blockchain. This decentralization eliminates the need for intermediaries, reducing the risk of centralized failures or misuse of funds.

  5. Self-Custody of Assets: Users maintain ownership and control of their assets within the smart contracts. Funds are not held by any centralized entity, enhancing security and trust.

  6. Reliable Price Feeds: By integrating with trusted price oracles, we ensure that all automated decisions are based on accurate and up-to-date market data, minimizing the risk of erroneous trades due to faulty information.

If you have any more questions or need further clarification, please feel free to ask. Your feedback is greatly appreciated!

2 Likes

Thank you for your question.
To ensure the security and reliability of our price feed Oracle integration during periods of high volatility, we are integrating with decentralized oracle providers that aggregate data from multiple reliable sources. This approach minimizes the risk of single points of failure or manipulation.

1 Like


Welcome to the hackathon, trying to understand about your project, please to a newbies, explain how simple what the benefits when they using your project?

I checked your pdf, and I’m seeing those examples in eth and btc, was thinking if examples in trx will be helpful too.

Sir, you said

[quote=“Hivemind, post:1, topic:27127”]
Emergency Withdraw: In volatile market conditions or unforeseen circumstances, users can quickly withdraw all their assets from the pool, ensuring they always maintain control over their funds.
[/quote] how secure will this be.

2 Likes

Oh wow, this approach ensures that any potential vulnerabilities are addressed early on, which can make the formal audit process more efficient and effective, and it’s quite commendable that you’re prioritizing thorough internal testing before engaging an external auditor.
Will the testnet be open to the community or selected testers to gather feedback on functionality and security? If so, what’s the timeline for this phase, and will there be any incentives for testers?

2 Likes

Thank you for your replying to me, I am happy that you put user safety first as you fix the emergency exit button, but please tell me how fast can someone activate the emergency exit button, thank you

2 Likes

You’re welcome! Activating the emergency exit button is as simple as depositing your tokens. It’s quick and easy, just like making a deposit. You’ll just have to sign a transaction and It’ll withdraw the tokens from the smart contract.

2 Likes

Thank you for your interest in CryptoSync.
For newbies, It’s like having a personal assistant who keeps an eye on your crypto, makes sure it’s balanced just the way you like it, and even helps you lock in profits or cut losses automatically and They can adjust the parameters according to the risk that they’re willing to take.
We chose ETH and BTC for our initial examples as they’re widely recognized cryptocurrencies, making it easier for a broad audience to grasp the concept of portfolio rebalancing and risk management. However, your suggestion to include TRX examples is valuable, and we appreciate the feedback. We’ll certainly consider adding TRON-specific scenarios to our documentation to better illustrate how CryptoSync can be utilized within the TRON ecosystem.

Regarding the security of our emergency withdrawal feature, the smart contract which holds the assets of a particular user, then that user only will hold the ownership and right to change parameters and withdraw the funds, No one else have access the withdraw or any other functions.
While we strive to provide robust security, we always encourage users to follow best practices for personal account security as well. Our goal is to balance user control with strong safeguards, allowing for quick access to funds when needed while maintaining a high level of protection against unauthorized access or potential vulnerabilities.
If you have any other questions, feel free to ask!

2 Likes

Thank you sir for your clarification. I will check for the update when trx will be added. When it ready I will also check and test too.

2 Likes

Thank you for your thoughts on our project! We’re planning that our App will be open on testnet for the community to test. We will announce the timeline and incentives for the community members shortly, till then stay tuned for it.

1 Like

Oh wow, this will help identify potential issues and gather valuable feedback, it’s really great to hear that you plan to open the app on the testnet for community testing. But, will users be provided with testnet tokens to simulate real transactions and interactions within the platform? If so, how will these tokens be distributed to testers?

2 Likes

Thank you for your replying to me, if you are asking me I will say it is a good assurance to knowing that to activate the emergency exit is a very straight forward process, please tell me this emergency exit will it be tested in the testnet, thank you

2 Likes

Yes, Emergency Exit will be tested on testnet, Thank you

3 Likes

Absolutely! We’ll provide instructions to claim the test tokens from faucet on testnet to simulate and test our platform, User can follow the steps and get the tokens. We’re excited to see how you’ll interact with the platform and value your feedback!

2 Likes

Welcome to hackaTron S7. By offering an automated and decentralized solution for portfolio rebalancing, your project is set to address a critical challenge that is faced by retail crypto investors for sure. But to help in better understanding how you’ve planned to achieve this, I will like to know what specific strategies you will use to offer best support for this portfolio rebalancing. And, how will these be determined or tailored for individual users?

2 Likes