Any good smartcontract for “business calendar” oracles?
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 9 hours ago
earizon
asked 10 hours ago
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 10 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 6 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