Any good smartcontract for “business calendar” oracles?












1















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.










share|improve this question





























    1















    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.










    share|improve this question



























      1












      1








      1








      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.










      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 9 at 19:45







      earizon

















      asked Apr 9 at 19:10









      earizonearizon

      204110




      204110






















          2 Answers
          2






          active

          oldest

          votes


















          2














          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.






          share|improve this answer































            2














            Chainlink may be what you’re looking for: https://chain.link






            share|improve this answer








            New contributor




            GreenSockMonkey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.





















              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
              });


              }
              });














              draft saved

              draft discarded


















              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









              2














              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.






              share|improve this answer




























                2














                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.






                share|improve this answer


























                  2












                  2








                  2







                  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.






                  share|improve this answer













                  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.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Apr 9 at 19:32









                  Mikko OhtamaaMikko Ohtamaa

                  7,24231958




                  7,24231958























                      2














                      Chainlink may be what you’re looking for: https://chain.link






                      share|improve this answer








                      New contributor




                      GreenSockMonkey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                      Check out our Code of Conduct.

























                        2














                        Chainlink may be what you’re looking for: https://chain.link






                        share|improve this answer








                        New contributor




                        GreenSockMonkey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.























                          2












                          2








                          2







                          Chainlink may be what you’re looking for: https://chain.link






                          share|improve this answer








                          New contributor




                          GreenSockMonkey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.










                          Chainlink may be what you’re looking for: https://chain.link







                          share|improve this answer








                          New contributor




                          GreenSockMonkey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          share|improve this answer



                          share|improve this answer






                          New contributor




                          GreenSockMonkey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          answered Apr 9 at 23:00









                          GreenSockMonkeyGreenSockMonkey

                          211




                          211




                          New contributor




                          GreenSockMonkey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.





                          New contributor





                          GreenSockMonkey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






                          GreenSockMonkey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






























                              draft saved

                              draft discarded




















































                              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.




                              draft saved


                              draft discarded














                              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





















































                              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







                              Popular posts from this blog

                              Plaza Victoria

                              Puebla de Zaragoza

                              Musa