The DERO Project SC Competition deadline is March 10 2019. Please make sure to have your final smart contract submitted by then. Update: SC contest has been extended until 5th April.
T&C: All contest submissions must be fully functional with valid outputs. All smart contract submissions are subject to an audit to verify validity. Any software with malacious intent is disqualified.
HodlWorthily: an HODL contract where you decide a block number when you can withdraw your coins. You can still withdraw before that but you will lose a portion of your coins: these coins will go to the address of a foundation (UNICEF for example). Even if you wait for end of the HODL period, you still pay 1% to the foundation.
SCID = 4b964f9340578aa720a92abadf12db5a09e80ad616f96f946dee8ad84d778245
LuckyTry: try to guess a number between 0 and 999 an win all the jackpot!
SCID = dee15d113dc697541209144721fcc3598460116c90de54ab47de590804262fbb
Roulette: classical “roulette” game with precise number between 1 and 36 OR odd/even.
SCID = c4c0703720440423eab78be7268cae598feb34c4fcd6833c0495228be52e07cf
Safe: you can send your coins to the SC with a password --> if somebody found your seed, he still needs to know the password.
SCID = 5b15defe8af8c367aa669a3dfeb3349b3c6cb6eb37eccacefddc26dc7d43a008
Scratch: a scratch game with 10 cases to scratch --> will start again when 10 cases have been scratched.
SCID = 213590d375625a1b68d25d1749de5d47d06ca98247ab780d58ff3bc2b0fd4c31
Dero Logo: not a real SC, just the DERO logo in ASCII (not wonderful…) in the Daemon
SCID = d532823b90e5644c642ac5d40d9ece01477263eae2631402fa33042c30d68e24
My Smart Contract Submissions in order #1 and #2. Any feedback is greatly appreciated! Thanks for all the help from the community, great effort by everyone for sure.
timebox_payment.bas
File: timebox_payment.bas
SCID: 5d4549c4ea7da704152e4019804d5d91daf59b00c1342830959c44fddec272cd
Description: This will accomplish the use case for sending “time”-based or “block”-based transactions in which a party can send to another, and can be Withdrawn within that allotted time or block count. However, if the 2nd party does not withdraw the sent balance, then the originating party can then re-withdraw the balance back (with slight fee based on sc_giveback for processing) at any time.
ValidateBalance.bas
File: ValidateBalance.bas
SCID: d37f1c1b48c9bc180bfe635662352a2fc18ee3c054648294c1b757ef867541dd
Description: Use Validate Balance to allow for you (the owner) to deposit/withdraw DERO from and 3rd parties (others) to view TXIDs and Balance totals via RPC call. This SC is intended to be utilized in the form of a public wallet so to speak, this way there is no question or FUD related to TXIDs or Balance remaining in a given address.
IsAddressValid.bas
File: IsAddressValid.bas
SCID: 4288f8e8248cbe2aa5a46a4824d0a38b3fa0033bde51a09eaa94e0575f89d62e
Description: A simple re-use of the built-in IS_ADDRESS_VALID() method which returns whether or not an address is valid
NOTE: The one on-chain at this SCID is returning 0/1 UInt64, I have a commented out version that will just return String values whether or not valid etc. just for fun.
Will update with more things soon hopefully, feel free to follow GitHub for updated commits etc! <3
DEROMultisig: Multisig Implementation SmartContract
Contract is designed to enable multisig controll over the same funds, with multiple parties requred to approve outgoing transactions
Here is a last minute entry! This is a security themed smart contract: Website Validation. It is used to help detect DNS hijacking, and provide an additional layer of assurance to users of websites which sometimes change their domain names. The smart contract and description / usage instructions are located here:
EXPLORE - endless galaxies and discover different planets and players COLONIZE - free slots and expand your empire ENCHANT - your planets to excellence and start redeeming real DERO rewards TRADE - your planet collection with others
All DERO sent to this contract are going to the shared pool and
All EXCELENT card are eligable to redeem percentage (y%) from this pool (each x blocks)