Any good smartcontract for “business calendar” oracles? The 2019 Stack Overflow Developer...
Why didn't the Event Horizon Telescope team mention Sagittarius A*?
Do these rules for Critical Successes and Critical Failures seem Fair?
Does a dangling wire really electrocute me if I'm standing in water?
A poker game description that does not feel gimmicky
Where to refill my bottle in India?
Can someone be penalized for an "unlawful" act if no penalty is specified?
Are there incongruent pythagorean triangles with the same perimeter and same area?
Is three citations per paragraph excessive for undergraduate research paper?
What is the meaning of the verb "bear" in this context?
Is there any way to tell whether the shot is going to hit you or not?
Landlord wants to switch my lease to a "Land contract" to "get back at the city"
How to manage monthly salary
Which Sci-Fi work first showed weapon of galactic-scale mass destruction?
What do the Banks children have against barley water?
What is the motivation for a law requiring 2 parties to consent for recording a conversation
Geography at the pixel level
Button changing it's text & action. Good or terrible?
Lightning Grid - Columns and Rows?
Why is the maximum length of OpenWrt’s root password 8 characters?
What does Linus Torvalds mean when he says that Git "never ever" tracks a file?
For what reasons would an animal species NOT cross a *horizontal* land bridge?
Origin of "cooter" meaning "vagina"
Shouldn't "much" here be used instead of "more"?
Is a "Democratic" Oligarchy-Style System Possible?
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 yesterday
earizon
asked yesterday
earizonearizon
204110
204110
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 yesterday
Mikko OhtamaaMikko Ohtamaa
7,21231958
7,21231958
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 yesterday
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