Bitswift Tablet Giveaway
This source code was used to determine the winner of the Bitswift Tablet Giveaway.
The SHA-256 HASH of the included final.tar file, "0c42b13496380876da25e83f66b9d79e38ffc57ac3586bb9cc77416b86728afc" was injected into the Bitswift Blockchain within transaction ID: 4:4241eba0807c8bdcfd6ff9e48704e02b683590416cec65712a744704d4533c50
The app was later run using the included secretforRandom which determined a random winner.
To run the application extract the contents of the tar file onto your system running a local Ardor server setup as an Archival node.
Edit the configuration.json file to meet your particular application requirements.
An sample of the configuration.json file is below:
{ "contractName": "BitswiftGiveAway",
"secretForRandom": "4eca220d667c151c66f3abf0d1f9b7829e4627558dacaec56e0a07f4b3e5cf32",
"useLowSecurityRandom": false, "isVerifier": true, "verifyAccount": "15925665273593510758",
"messageForPick" : "MicrosoftSurfaceTablet",
"heightStart": 2027000, "heightStop": 2132393,
"transactionChain": 4,
"stateRootDirectory": "state", "reloadAndRescan" : false,
"api": { "password": "xxx", "host": "localhost", "port": "40004" },
"protocol": "http", "host": "localhost", "port": "27876" }
rootrootomno/LICENSE0000644000000000000000000000122714163443246011542 0ustar rootrootCopyright (C) 2021 by tre
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. omno/documents/0000755000000000000000000000000014163443246012534 5ustar rootrootomno/documents/UserAccount.txt0000644000000000000000000000132714163443246015533 0ustar rootrootShortform of operations.