YaleOpenLab / openx

A platform of platforms for next generation funding models powered by cryptocurrencies
https://www.openx.solar
GNU General Public License v3.0
8 stars 4 forks source link

Autogenerate backend platform parameters #236

Closed Varunram closed 5 years ago

Varunram commented 5 years ago

frontend issue: https://github.com/YaleOpenLab/openx-frontend/issues/12

It would be a cool idea to generate backend code for a new custom platform based on params that a user passes. An example for opensolar is mainnet = true, chain=stellar and escrow=true. If a person wants al legacy system on bitcoin testnet for example, they would set mainnet=false, chain=bitcoin, legacy=true, escrow=false. Since openx contracts would be well audited, it is safer for people wanting to do custom platforms to use openx instead of rolling their own platform. Custom parameters can be added in - either to openx or to their platform instance (which must be open source due to GPLv3). Would be a cool and extremely useful feature to have.

Varunram commented 5 years ago

create-openx-app created at https://github.com/YaleOpenLab/create-openx-app