Smart Contracts! Anything Like That For Decred As Well?

Discussion in 'Project Ideas' started by root, Mar 16, 2016.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. ClokworkGremlin

    ClokworkGremlin Sr. Member

    Jan 10, 2016
    535
    381
    Male
    Whatever I want.
    I looked into them. Bunch of 5-star and 1-star ratings on the Android app store, and everything that wasn't a 5-star rating was claiming that all the 5-star ratings were shills and the owner was an anarchist using the project to fund shady dealings in California.
     
  2. root

    root Member

    Feb 3, 2016
    381
    76
    Please pay attention to the thread heading :
    Smart Contracts ! Anything Like That For Decred As Well ?
     
  3. ClokworkGremlin

    ClokworkGremlin Sr. Member

    Jan 10, 2016
    535
    381
    Male
    Whatever I want.
    Well in that case.

    Not really. The developers aren't really comfortable with anything but the transactions themselves going on the Decred blockchain, in an effort to minimize data consumption. If you want to work with smart contracts, your best bet is a smartcoin designed to be programmable, like Ethereum or Lisk.
     
  4. ceejep

    ceejep Sr. Member
    Developer

    Dec 14, 2015
    192
    220
    Decred already has a lot of infrastructure to implement basic scripts and contracts. It has all the original Bitcoin OP codes re-enabled and many new OP codes. These are all available on mainnet if you use P2SH. New OP codes can be easily soft forked in by incrementing the version number for scripts.

    https://github.com/decred/dcrd/blob/master/txscript/opcode.go

    There will be more additions to the VM eventually. Right now we need the new database in so the daemon can handle the higher throughput required.
     
    ClokworkGremlin likes this.
  5. davecgh

    davecgh Hero Member
    Developer Organizer

    Dec 31, 2015
    642
    788
    Male
    United States
    No @ceejep is referring to my database work from upstream btcsuite. I've already ported the database2 package to Decred via https://github.com/decred/dcrd/pull/91.

    However, as the PR says, there is still a lot of work to be done in regards to moving the new features that Decred added into the upper layers.
     
    raedah likes this.
  6. drunkenmugsy

    drunkenmugsy Sr. Member
    Advocate (Reddit)

    Dec 28, 2015
    405
    218
    Male
    #8 drunkenmugsy, Mar 17, 2016
    Last edited: Mar 17, 2016
    I like what they are doing here with cryptocoin. They are making it possible to do transactions with regulation. This is where crypto gets interesting.

    As for the reputation system I watched a lecture recently about how just inserting a hash of a photo or group of photos allows for authentication between two parties. The original photo can be hosted anywhere. You pull down the photo from where ever, even multiple places on the net. Hash it and as long the chain hash matches you know you are looking at the same photo. If the person you are transacting with matches the photo then you have authenticated them. This could be done over skype or other electronic means or in person. All that was required in the blockchain was a hash of a photo(s) that has been authenticated at some earlier point.
     
  7. ClokworkGremlin

    ClokworkGremlin Sr. Member

    Jan 10, 2016
    535
    381
    Male
    Whatever I want.
    Isn't that basically how public-key signatures work?
     
  8. drunkenmugsy

    drunkenmugsy Sr. Member
    Advocate (Reddit)

    Dec 28, 2015
    405
    218
    Male
    Yes but the idea here was you wash up naked and 'keyless' on a populated beach what do you do? 1.Get some shorts, maybe flip flops too. 2.You could go to a bank and with nothing through this chain of ID you had built have access to any funds you had anywhere in this type of system.
     
  9. root

    root Member

    Feb 3, 2016
    381
    76

Share This Page