Skip to content

Add ability to deploy contracts to TestNet/MainNet from backend #2

Description

@MetaB0y

Recently we moved smart contracts to a separate repo and started to publish packages to GitHub npm registry.

Now it would be great to make it possible to deploy contracts from the back end.

Why do we need it now?

  1. It would be more convenient to deploy from a web interface, you can do it from any device and don't need to care about the environment.
  2. It should automatically add deployed contract to the list (see Add contracts storage list #1 ), therefore making it one step only.

Why would we need it later?
Because we will need to provide an interface to create a farm/vault for our end users. We probably cannot do it from the frontend (not sure yet, need to think more) because of wallets/authentication requirements.

Additional consideration:
Possibly it will need a mechanism to automatically create wallets and fund them from the Algorand faucet because of 10 apps per wallet limitation. Hopefully, this limitation will be lifted/worked around soon so maybe we will not need to think about it.

This is a lot of work and maybe will not be absolutely necessary but it is something to keep in mind and discuss now.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions