Any good smartcontract for “business calendar” oracles? The 2019 Stack Overflow Developer...
How to change the limits of integration
Is "plugging out" electronic devices an American expression?
Is flight data recorder erased after every flight?
Pristine Bit Checking
Why is my p-value correlated to difference between means in two sample tests?
Inversion Puzzle
Dual Citizen. Exited the US on Italian passport recently
How to answer pointed "are you quitting" questioning when I don't want them to suspect
Could JWST stay at L2 "forever"?
Does light intensity oscillate really fast since it is a wave?
Which Sci-Fi work first showed weapon of galactic-scale mass destruction?
Why Did Howard Stark Use All The Vibranium They Had On A Prototype Shield?
Is it possible for the two major parties in the UK to form a coalition with each other instead of a much smaller party?
Should I use my personal or workplace e-mail when registering to external websites for work purpose?
How to reverse every other sublist of a list?
What do hard-Brexiteers want with respect to the Irish border?
"What time...?" or "At what time...?" - what is more grammatically correct?
Falsification in Math vs Science
Why is Grand Jury testimony secret?
Geography at the pixel level
Springs with some finite mass
Confusion about non-derivable continuous functions
Is bread bad for ducks?
What is this 4-propeller plane?
Any good smartcontract for “business calendar” oracles?
The 2019 Stack Overflow Developer Survey Results Are InWhat are the most important potential attack vectors on oracles?Aren't oracles extremely data consuming?Can oracles send data to smart contracts on multiple blockchains?What is the difference from oracles and smart oracles?Can any smart contract be forked?Oracles and randomness, Creating or solving problems?How does Ethereum handle undeterministic results from oracles?What's the best realized dapps for fair betting without oracles?How to know the price of the day of ETH in USD by Oracles?Tutorial to understand technical details of Oracles in Ethereum
is anybody aware of some smart-contract that can be used as external "trustable" oracle for no-so-simple scenarios, like for example calculating the number of non-festive days passed since a given date or time-windows.
I'm thinking of some external (trusted) entity that is allowed to fill such calendar and sign when a new day has passed, ...
I'm thinking about use-cases like:
- Some smart-contract internal state change or some payment must be allowed just after 10 working days, excluding weekends.
oracles calendar
add a comment |
is anybody aware of some smart-contract that can be used as external "trustable" oracle for no-so-simple scenarios, like for example calculating the number of non-festive days passed since a given date or time-windows.
I'm thinking of some external (trusted) entity that is allowed to fill such calendar and sign when a new day has passed, ...
I'm thinking about use-cases like:
- Some smart-contract internal state change or some payment must be allowed just after 10 working days, excluding weekends.
oracles calendar
add a comment |
is anybody aware of some smart-contract that can be used as external "trustable" oracle for no-so-simple scenarios, like for example calculating the number of non-festive days passed since a given date or time-windows.
I'm thinking of some external (trusted) entity that is allowed to fill such calendar and sign when a new day has passed, ...
I'm thinking about use-cases like:
- Some smart-contract internal state change or some payment must be allowed just after 10 working days, excluding weekends.
oracles calendar
is anybody aware of some smart-contract that can be used as external "trustable" oracle for no-so-simple scenarios, like for example calculating the number of non-festive days passed since a given date or time-windows.
I'm thinking of some external (trusted) entity that is allowed to fill such calendar and sign when a new day has passed, ...
I'm thinking about use-cases like:
- Some smart-contract internal state change or some payment must be allowed just after 10 working days, excluding weekends.
oracles calendar
oracles calendar
edited 6 hours ago
earizon
asked 7 hours ago
earizonearizon
20419
20419
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Oracle sounds complicated and gas gushing approach.
I suggest this:
A special transaction parameter be generated and signed by your own server
The server calculates the days
The information is passed into the smart contract in the transaction payload, as a function parameter
The smart contract verifies that the result is honest by checking the signature of the parameter, so that it was your server that made the calculation
However, for better judgement, I kindly ask you to edit your question and add more background information about your business case.
add a comment |
Chainlink may be what you’re looking for: https://chain.link
New contributor
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "642"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fethereum.stackexchange.com%2fquestions%2f69473%2fany-good-smartcontract-for-business-calendar-oracles%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Oracle sounds complicated and gas gushing approach.
I suggest this:
A special transaction parameter be generated and signed by your own server
The server calculates the days
The information is passed into the smart contract in the transaction payload, as a function parameter
The smart contract verifies that the result is honest by checking the signature of the parameter, so that it was your server that made the calculation
However, for better judgement, I kindly ask you to edit your question and add more background information about your business case.
add a comment |
Oracle sounds complicated and gas gushing approach.
I suggest this:
A special transaction parameter be generated and signed by your own server
The server calculates the days
The information is passed into the smart contract in the transaction payload, as a function parameter
The smart contract verifies that the result is honest by checking the signature of the parameter, so that it was your server that made the calculation
However, for better judgement, I kindly ask you to edit your question and add more background information about your business case.
add a comment |
Oracle sounds complicated and gas gushing approach.
I suggest this:
A special transaction parameter be generated and signed by your own server
The server calculates the days
The information is passed into the smart contract in the transaction payload, as a function parameter
The smart contract verifies that the result is honest by checking the signature of the parameter, so that it was your server that made the calculation
However, for better judgement, I kindly ask you to edit your question and add more background information about your business case.
Oracle sounds complicated and gas gushing approach.
I suggest this:
A special transaction parameter be generated and signed by your own server
The server calculates the days
The information is passed into the smart contract in the transaction payload, as a function parameter
The smart contract verifies that the result is honest by checking the signature of the parameter, so that it was your server that made the calculation
However, for better judgement, I kindly ask you to edit your question and add more background information about your business case.
answered 7 hours ago
Mikko OhtamaaMikko Ohtamaa
7,20231958
7,20231958
add a comment |
add a comment |
Chainlink may be what you’re looking for: https://chain.link
New contributor
add a comment |
Chainlink may be what you’re looking for: https://chain.link
New contributor
add a comment |
Chainlink may be what you’re looking for: https://chain.link
New contributor
Chainlink may be what you’re looking for: https://chain.link
New contributor
New contributor
answered 3 hours ago
GreenSockMonkeyGreenSockMonkey
111
111
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Ethereum Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fethereum.stackexchange.com%2fquestions%2f69473%2fany-good-smartcontract-for-business-calendar-oracles%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown