clangenb

Results 27 comments of clangenb

There is an extensive discussion on how to change the metadata, especially for (offline-) light clients, and there is an ongoing proposal on polkadot on how to implement this. I...

We could test it in our tungstenite-sgx port. Edit: haha, I see you are one step ahead of me. :)

I finally re-implemented our rsa crypto with the webcrypto api, so we don't need any polyfills at all. I would recommend such an approach if it is feasible in your...

I can only repeat what I mentioned above. If the crypto polyfill is needed because of a 3rd party dependency, I recommend looking for another dependency, as most maintained libraries...

I am not an JS expert, but I would assume that this is a bug in either browserify or randomfill and that this should work in general.

Something like that should work: ``` // example asset: asset = 'assets/your_doc.pdf' Future _pdfFromAsset(String asset) async { File file; try { var dir = await getApplicationDocumentsDirectory(); file = File("${dir.path}/file.pdf"); var...

I would love to see it because return values from custom RPC's are actually a serialized json, not a scale encoded value.