Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SmartDeploy Dapp v2.0 #11

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open

Conversation

asanson1404
Copy link
Contributor

@asanson1404 asanson1404 commented Mar 21, 2024

What is new?

  • Possibility to display only the binaries and contract instances of a specific user
  • Display more binaries and contracts information (number of instances of a binary, associated binary or hash and expiration date of a contract instance)
  • Possibility now to subscribe to automatic bump when deploying a binary
  • Display dynamically the user's public key through Freighter

What to do in the future?

  • Make the users pay the SmartDeploy DAO when they subscribe to automatic bump (stellar asset contracts)
  • Add a button to import an already deployed contract (claim a contract)
  • Add a button to redeploy a contract
  • Add a button to subscribe to automatic bump if not already done

Import information
The dapp works in peer with the SmartDeploy API (hosting on shuttle). The API have to be running when the Dapp will be launched. Do not forget to reset Postgres DB before launching the Dapp and SmartDeploy on mainnet.
Do not forget to add the SmartDeploy contract address on mainnet in contract_id.txt

Refetch the events data every 10 seconds.
Create a .env file for API endpoints urls
feat: Refetch Freigther's info every 1.5 seconds
feat: Add My Contracts section on Deployed Tab
Data are hard coded because of a bindings bug

feat: Add My Contracts section on Published Tab
Data are hard coded because of a bindings bug
This shouldn't fix the erroneous "expired state" error, but it does!
chore: reorganize the reading of the API data
We don't use anymore the Mercury expiration tracking feature (not convenient).
@asanson1404 asanson1404 requested a review from chadoh as a code owner March 21, 2024 09:12
Include packages/ in tsconfig to allow typescript in smartdeploy client
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