OmniLayer / omniwallet

Omni Protocol Hybrid Web-Wallet
https://www.omniwallet.org
GNU Affero General Public License v3.0
327 stars 187 forks source link

DB - Update Omni api to get Crowdsale information from database #859

Open achamely opened 10 years ago

achamely commented 10 years ago

Issue to track getting active crowdsale information from database for use on display pages

Nevtep commented 10 years ago

@achamely a lot of functionality on the Assets details page #795 would benefit from having the proper model in the database since right now it's crossing information from various Mastercore RPC calls, I can surely take on this one before going further with the details page, can we schedule a time to sync on this?

achamely commented 10 years ago

Sure can, we spoke on this some morning already. if you have any questions after reviewing the db stuff let me know

Nevtep commented 10 years ago

This is de current API that gets data from Master Core

https://github.com/Nevtep/omniwallet/blob/assets-details/api/properties_service.py#L108

There should be 1 API call to get an "Asset" information (either Fixed Issuance Property or Crowdsale) to reduce the calls needed by the #795 Assets Details Page

As far as I know the current DBschema does not support this, we should have an "Assets" table, that could even have Mastercoin and Bitcoin as assets for better display at the Assets Details Page #795