tgrospic / rnode-client-js

Web example https://tgrospic.github.io/rnode-client-js
MIT License
19 stars 19 forks source link

handle eth provider as effect (per ocap discipline) #15

Open dckc opened 4 years ago

dckc commented 4 years ago

As we have discussed, this should be handled as an effect, aka an explicit rather than ambient authority, much like fetch in #6:

https://github.com/tgrospic/rnode-client-js/blob/e4d97ee436a9a35ed2fe7b6c3307d03e4e2e9612/src/eth/eth-wrapper.js#L7

for reference: OCap Discipline