blockchain-oracle | party self-hosted ethereum blockchain oracle | Blockchain library
kandi X-RAY | blockchain-oracle Summary
kandi X-RAY | blockchain-oracle Summary
Implementation of a multi-party self-hosted ethereum blockchain oracle. This project is a part of my master thesis on Trustable Blockchain Oracles.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of blockchain-oracle
blockchain-oracle Key Features
blockchain-oracle Examples and Code Snippets
Community Discussions
Trending Discussions on blockchain-oracle
QUESTION
I'm trying to write some tests for truffle, but I've realized that when running truffle test
, before the test file is executed, truffle performs the compilation and migration of the contracts. For this reason, I need my oracle to be launched just after the migration because when launched it is waiting for events coming from a specific contract address.
Is there any way of launching the oracle programmatically and keeping it alive during the test? The command to launch it is simple, just something like node oracle.js --network=test
I guess my code is not needed for the question, but anyway, if you need to know any approach I'm following on the project feel free to ask about.
Thanks in advance.
...ANSWER
Answered 2018-Dec-19 at 20:19You should be able to launch the oracle from any .js
test file that requires the oracle to be running. You could likely accomplish this using a npm
package such as forever
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install blockchain-oracle
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page