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
Dynamic models, controllers, routes, and code itself for currencies #646
Comments
What do you think about shell script for automated adding new currencies.
I know current files will need changes but this script can save alot of time when adding new currencies. |
Hi @tzman89 Adding new currencies is based on three steps:
That's all. We are going away from peatio/peatio way of duplicating tons of lines of code. We recently refactored the whole project to be able to fetch currencies from database, not ActiveYAMLBase. |
I see, thanks for explanation I wasn't sure how currencies in db thing works but now it's much clear. So as I understand controllers for other currencies should be the same if the currency is based on any of the current ones,we can use key from currencies.yml to determine new currency controller. I'm following your work here and you did a great job with this, you got it to almost perfect platform. |
No description provided.
The text was updated successfully, but these errors were encountered: