Project Decorum - Wallet Release

project-decorum

#101

Hi @bzee, I’m not sure how you are exactly storing the wallet now, but you don’t really need to store it in a File as I get you suggest it, e.g. the email app follows the same convention as the WHM but the email inbox is a MD (with random address) referenced from the services container, i.e. if your email ID is myprofile.mypublicid there is an entry in the services container for the public ID mypublicid which key is myprofile@email (@email is a postfix we choose for convention for emails) and its value is the serialised MDataInfo. If a webpage was published by WHM on the same public ID and service name there would be another entry with emptty postifx (no postfix is assumed to be safesite service), i.e. an entry in the services container with key myprofile and its value is the reference to the webpage NFS container with all files.
Therefore, you can do the same and have an entry in the services container (with a postfix chosen for your service type) which is mapped to a MD rather than a file, obviously you’d need to avoid using the NFS emulation for doing this, as I suspect that’s what you are doing and this is why you say it’s stored in a file? I hope that helps.


#102

Thanks for your suggestion!

If I see correctly, at this moment the WHM hard coded that convention only for the email service! Not for other services like Decorum’s wallet:

So, still, for us there is no way to make sure we’re conforming to whatever the WHM is doing without using the NFS structure. This is why I would like to request @maidsafe to come up with more elaborate standards that developers can follow so all apps are ensured work together.

That is what we did, and it broke the WHM. Then we started following the available RFCs and SAFE examples’ code more closely, and ended up with the current solution. The RFCs do not mention a postfix, only that “each service name points to a Network DataIdentifier”.


MaidSafe Dev Update - December 21, 2017
#103

I’ll be entering this fray soon too (for a Solid service) so guidance on how to avoid breaking things like WHM here would help.

@bzee can you say a bit more about what precisely the WHM couldn’t cope with? Maybe it’s the WHM that needs fixing here, in which case I suggest you create an issue if you haven’t already.


#104

Our solution was to follow the RFC. To me, it is the guidance, and therefore it’s important for it to cover these use cases as they seem fairly basic.

The WHM follows the RFC. The RFC dictates that the values in a public name MD should ‘point to a Network DataIdentifier’. We initially did not put a ‘Network DataIdentifier’ (XOR) as a value, but the Decorum wallet data. That’s what broke the WHM, as that data is not a valid XOR.

The WHM works fine. The only thing that bothers me, is that it makes a single (arbitrary) exception for the email service by filtering out service names that contain @email. This is not mentioned in the RFCs!

This is why the solution of @bochaco would be unsuitable as the @decorum postfix is not recognized by the RFC nor the WHM (also causing it to crash).


#105

Hi Seneca,

I would like to contact you using telegram/email. Is that possible?

Thanks.


#106

You are correct @bzee , and that’s the issue, the WHM should filter out not only services with the email postfix but all with non-web service postfixes, i.e. filter out all services with a postfix, thus the code you shared is where the bug is. The proposal by this convention is that a postfix is conformed of @ sign followed by the name for the type of service, so you could effectively have @decorum as a postfix, we just need to fix the WHM.

I think this convention came later after that RFC was proposed and implemented, I agree it would have been a good idea to also describe it in that RFC. I do remember that we came up with this proposal when we were migrating the email app to make use of MutableData API, and that’s when we realised we would like to allow different type of services under the same service name.


#107

@Seneca, While there’s still no true chrome headless in electron as yet, we’re starting to automate some tests for the browser using spectron.

And while this isn’t baked into peruse nor safe-browser yet. You could potentially setup something similar to get your tests automated. Spectron does allow you to interact with the webpage as well as the browser UI itself, so you should be able to get most repetitive tasks automated.

Down the line it would be good for us to enable this in a more integrated fashion with the browser; although I’m not sure how that would go as yet.


#108

That clears it up, thanks for explaining!

Will the RFCs be updated, or is there another source that app developers can get these conventions from?


#109

I would say yes, they’ll need to be updated. On the other hand, it also depends if we are gonna consider them to be similar to what the IETF RFC’s are, i.e. they work not only as a way to explain proposals for changes but also as a reference and standard. At the end of the day all this need to be referenced from the dev website that we will eventually have, either as RFCs or design documentation.


#110

Wanted to dig up this thread as I’m curious how you guys are progressing!? Any other module teasers coming?


#112

Wondering the same thing


#113

It’s strange that no info for weeks…


#114

These guys deliver. This module alone is huge, there are few out in the open doing what these two are doing so be patient. It is nice to hear from them but they like comments here and there, I take that as a nod to that they’re around and busy based off of their character in the recent and less recent past.


#115

I think developer gone like project n99


#116

thats crap talk

@bzee just postet yesterday the last time and is obviously very actively following everything here

how about being a little bit patient first and do a little bit thinking/research before randomly accusing people of something

ps: but yes - just a short note that you guys are alive @Seneca and @bzee would be nice - and a quick statement on how you plan on progressing (e.g. focusing on some module now until the api is stable enough to do serious development at that other edge of the project)


#117

I was expecting @Seneca to respond soon enough. There is no reason to spread FUD like that. Nevertheless I understand we should let you know what we’re up to.

For the time being, I would like to refer Harmen’s last update:

There is not much to add to that post. Currently I’m graduating, and have less spare time for the project. I don’t consider it my job to give updates here, so this is all I will share for now.


#118

This plan still aplies…

…as well as the mentioned areas for improvement. The run-up is a bit long, that’s all. In addition I’m working on a recruitment plan. I also need a break now and then, plus I don’t feel the need to always answer every post in short order (dirvine has really spoiled us all in that regard). I know we could hire someone to do this, but then you’d just be strung along and be fed non-answers during slow times. I’d rather give rarer but more sincere updates myself, at least for the time being.

Definitely alive, still commited.

If that was the plan we never would have bothered with the module release.

Thank you @nigel and @riddim for the support.


Project Decorum - Crowdsale (Ended)
#119

Harmen,

Thanks for the update.
I agree with you no need to answer every post.
I was just wondering if you can give us a monthly or even bi-monthly update if possible
Take care
Sam


#120

It has been a month already and I agree with you. Although it’s all about the technology, the facts are that Bittrex is delisting coins and even PDC’s mother MAID will be delisted coming March. Reasons for periodic updates:

  1. Is the project is still alive. Sounds simplistic but we just won’t know when there’s complete silence!
  2. Let potential investors know this is a great project, which might create some needed volume to stay relevant on Bittrex.
  3. To know what the devs are up to! We are all here because we love the project, why not tell us more about the latest developments. Let us know something so we can collaborate as a community. It’s much more fun to share the joy of this great technology.

#121

Will we see @Seneca at the SAFE DevCon?