lastmjs / query-ethereum

MIT License
0 stars 0 forks source link

Consider custom queries #8

Open lastmjs opened 4 years ago

lastmjs commented 4 years ago

It might be nice to have some custom queries for use-case specific stuff. For example, providing similar functionality to what eth gas station does, just as a custom query. Perhaps this library could evolve into something like web3.js or ethers.js, it'll just be entirely exposed through GraphQL. There can be queries that are executed locally and remotely. The local queries will do stuff that can only be done on the client, like signing transactions, generating keys, etc. The remote queries can do stuff like check gas prices, submit transactions, etc...hmmm...this would all be really cool