Mircea Nistor
Mircea Nistor
It uses ethers.js internally, so it's not possible to eliminate it. But, it should work with a web3.js provider since ethers has wrappers for them. I don't have an example....
What did you try so far and didn't work?
This is what I meant by wrapping: https://docs.ethers.io/v5/api/providers/other/#Web3Provider
The only samples of this in action are in the registry test suite: https://github.com/uport-project/ethr-did-registry/blob/bd6f1b78797baccb3b9ab1019fd61cf9890aa304/test/registry.test.ts#L587 Do you want to implement that kind of functionality here?
It makes sense to have the functionality expressed by this library. I don't have bandwidth to make this happen at the moment but would be happy to support you if...
This is being fixed in #102
The ContentProvider sounds like a good idea to try. Firebase does the init that way and I remember they had a few problems in the beginning. A successful completion of...
what do you mean by `lower bouncycastle API` ?
would that be enough to use this in react native without too much setup?
I agree that raw bytes would fit the bill in terms of efficiency, but would be a tiny bit harder to implement. I guess the string solution is "close enough"...