-
Hey there. I am a n00b trying to understand Jellyfish and I stumbled upon a problem I am unable to solve. What I'd like to implement is a function for https://blockping.defichain-masternode-monitor.com (and probably https://www.defichain-masternode-monitor.com) where the user can have a look at currently waiting transactions. My idea was to implement that by accessing mempool from the local wallet via jellyfish. I was able to manage to perform requests to the local wallet that by running Jellyfish as a node.js script. That's very easy, good work! However, I can't use Jellyfish via browser because the DeFiChain node's RPC does not include CORS (Cross Origin Resouce Sharing, https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) HTTP headers. I may be just too dumb, but how should I ever be able to use jellyfish from the browser when nodes do not deliver these HTTP headers? Thank you in advance, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Struggeling with the same problem. I want to create a web app using jellyfish.
What application do I have to run for using localhost:8554. Is there a jellyfish server application I have to start? |
Beta Was this translation helpful? Give feedback.
-
Hey, this issue comment might help: #232 (comment)
Other another note, a few things about jellyfish that might help understand where the ecosystem is heading
I have to admit, everything is not well documented at the moment, and things aren't clear. We are working on just that now, we are also going to consolidate all sparse projects into one with helpful samples #580 |
Beta Was this translation helpful? Give feedback.
-
Hey sorry for the very late reply, I included 2 very very basic examples of the use of ocean API namely accessing DEX & Masternode data. https://github.com/DeFiCh/jellyfish/tree/main/examples Over the weeks/months depending on my resources, I aim to complete a series of articles detailing how to:
Ocean API is very comprehensive but sadly lacking the documentation to support the use, which will also be worked on very soon. |
Beta Was this translation helpful? Give feedback.
Hey, this issue comment might help: #232 (comment)
Other another note, a few things about jellyfish that might help understand where the ecosystem is heading
Jellyfish
itself is a project that features the entire implementation of the blockchain code from C++ to JavaScript without the consensus to power light implementationjellyfish-api-core
andjellyfish-api-jsonrpc
which y'all are trying to conne…