Stefaan Ponnet

Results 22 comments of Stefaan Ponnet

You are passing your schema as a string ( http://php.net/manual/en/function.json-encode.php - which return a string ) while the schema in the unit tests are passed as an object ( http://php.net/manual/en/function.json-decode.php...

Yup, if you change your code : ``` $schema = json_encode(["type" => "object"]); ``` to ``` $schema = json_decode(json_encode(["type" => "object"])); ``` The validation returns the expected output: ``` Jsv4...

p.s. ``` $schema = ["type" => "object"]; print_r($schema); ``` ``` Array ( [type] => object ) ``` While ``` $schema = (Object)["type" => "object"]; print_r($schema); ``` ``` stdClass Object (...

If the only thing you are doing is `cat` or `add` files - then this is a much smaller alternative : https://www.npmjs.com/package/ipfs-mini

Currently I'm decorating the raw IPFS data with - the function call arguments - `avatarUrl` ( which points to an S3 URL ) gets fetched, stored on IPFS and the...

I created an epic with a single story for each type we have now. #2 If you want to take a stab at making the schema's for the input formats...

createAccount done. Allows mashup of user data ex. https://peeps.netlify.com/ :) ![image](https://user-images.githubusercontent.com/596726/44555036-95036b00-a733-11e8-84cf-6e8ea99b8020.png)

https://github.com/sponnet/peepin/commit/4984819a705a042d1d993c24324a0adb3b66c452

sample ``` { "type": "tip", "content": "Great job Bevan!", "parentID": "QmQfeQuPE3sxeCSrmHMLXxUZysRkA7YsodLYkPkrYXw9CU", "shareID": null, "untrustedAddress": "0x788d7dcc3c5a23ab08b343e25d76e0cd3174761c", "untrustedTimestamp": 1521156236 } ``` Tip is another data format that needs a JSON schema -...