Pages:
Author

Topic: AT and CLTV - Truly disruptive technology! (Read 6434 times)

legendary
Activity: 2282
Merit: 1072
https://crowetic.com | https://qortal.org
April 05, 2016, 09:18:51 PM
#36
I think @vbcs was taking a bit of time of to "charge his batteries" but I think that he is keen to continue work soon.


I've messaged vbcs

whenever he gets back I've got the funds for him Smiley


vbcs has successfully received his crowdfund payment of 3.8 million BURST Smiley Thanks again guys!
legendary
Activity: 2282
Merit: 1072
https://crowetic.com | https://qortal.org
I think @vbcs was taking a bit of time of to "charge his batteries" but I think that he is keen to continue work soon.


I've messaged vbcs

whenever he gets back I've got the funds for him Smiley
sr. member
Activity: 687
Merit: 269
This sounds really good. A p2p exchange with a massive liquidity could truly disrupt the ecosystem.
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
I think @vbcs was taking a bit of time of to "charge his batteries" but I think that he is keen to continue work soon.
sr. member
Activity: 302
Merit: 250
how are things going? Any news?

btw: the crowdfund got fully funded Smiley
legendary
Activity: 2282
Merit: 1072
https://crowetic.com | https://qortal.org
February 17, 2016, 02:19:43 PM
#31
It should be noted that assuming the CF achieves its target on time then any further funds sent to that AT will effectively become donations (minus the small AT processing fee of course).


True, and should it be fulfilled in time, I will likely start another for general AT and other related development for BURST.

Here's where the AT is thus far, with my 500k donation...




I will not take up any more space in this thread, but I encourage everyone to donate to this, it isn't just a donation to help BURST, it is a donation to this project! Thank you!
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
February 16, 2016, 10:31:03 PM
#30
It should be noted that assuming the CF achieves its target on time then any further funds sent to that AT will effectively become donations (minus the small AT processing fee of course).
legendary
Activity: 2282
Merit: 1072
https://crowetic.com | https://qortal.org
February 16, 2016, 02:36:58 PM
#29
I have created the CF for vbcs, and will be the first to donate 500k BURST to it once my tests succeed. Just wanted to make sure my 500k would get there. But as far as I remember, you can either send via the AT interface built into the new GUI wallet, which sends directly to the CF, or you can send to the BURST address associated with the account itself that started the CF, this is correct, isn't it CIYAM?

But anyway, here it is!




figured I would just post now after completed tests...






Funding works as expected! Let's get to donating! Show vbcs how much we do appreciate what he has done and would likely continue to do for BURST and QORA, and crypto as a whole!

*I was incorrect about the sending directly to creator part though, you send to the AT address, derp. I knew that...)

If you would like to directly donate without having to use the AT, simply send to BURST-Q65F-6VNE-6YNS-7JKMQ


(I will accept BTC donations as well, just PM me)
legendary
Activity: 2282
Merit: 1072
https://crowetic.com | https://qortal.org
February 12, 2016, 06:54:27 PM
#28
Hey @crowetic - please don't worry about a CF for CIYAM at this stage (but thanks for the consideration).

I have brought up the idea with @vbcs of merging the code-base between Burst and Qora and hope you will be happy to discuss this with him (this would not change the Burst blockchain history nor its "proof" algorithm but simply bring the two projects much closer together).

A big advantage to Burst would be to having pretty much the same code as its cousin and having identical AT code (making the work for @vbcs much easier as this progresses which is going to be important if you want to see big changes happening).

In this scenario the majority of code would be the from the Qora project as @vbcs is of the opinion that it is better quality code and that it has the more development support between the two projects.


Sounds fantastic to me, I'll contact vbcs directly about this myself, he hasn't been in the BURST slack lately but hopefully I can bring him back!


I'm working on the wallet now to start the CF for him to do this, but I have to leave my office in about 10 min, so I will finish it up when I get home, and I will be first to drop 500k+ BURST into it for him!


As for the other CF, just say the word man, and I'll get working on it. But I'll keep it on pause for time being Smiley Thanks@ bringing it up to vbcs! Much appreciated! Yea, I would very much like to keep the two coins as close as possible, in fact, I would love to implement some sort of massive community out of the two, in which we can be more unified, I'm going to start working on a plan in this direction, as I think it would be very useful. Smiley

I'll post the BURST CF link here along with the BURST thread upon completion later this evening. Thanks again for everything bossman! Keep up the ground-breaking development work! We do appreciate it!
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
February 12, 2016, 11:05:51 AM
#27
Hey @crowetic - please don't worry about a CF for CIYAM at this stage (but thanks for the consideration).

I have brought up the idea with @vbcs of merging the code-base between Burst and Qora and hope you will be happy to discuss this with him (this would not change the Burst blockchain history nor its "proof" algorithm but simply bring the two projects much closer together).

A big advantage to Burst would be to having pretty much the same code as its cousin and having identical AT code (making the work for @vbcs much easier as this progresses which is going to be important if you want to see big changes happening).

In this scenario the majority of code would be the from the Qora project as @vbcs is of the opinion that it is better quality code and that it has the more development support between the two projects.
legendary
Activity: 2282
Merit: 1072
https://crowetic.com | https://qortal.org
February 12, 2016, 03:22:18 AM
#26
I will be starting a BURST AT Crowdfund for this project's implementation into BURST wallet via vbcs and his brilliance.

This will be posted here as well as the BURST thread. Hoping to have this accomplished tomorrow if not early next week.



Then, I'll take CIYAM's suggestions in the BURST thread as well, and get some other promo started and rewrite some documentation (with some assistance of mostly links in my direction for informational purposes, and possibly some developer insight. Smiley)

Thank you again for everything CIYAM, once I get a few of the things going here, I would like to also start a secondary CF for you, as well as one for the BURST implementation of any technology you develop. Keeping a close eye here, let me know any information you can, and I'll begin work on this ASAP.

legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
February 10, 2016, 05:36:42 AM
#25
The whole point of mentioning this is because decentralized exchange was always possible just nobody wrote the nice UI for it yet.

I think that with the new ACCT AT implementation we'll end up with a very nice UI and if it's not too hard to extend the Qora/Burst wallet to be able to work with Bitcoin (doing the ACCT CLTV stuff) then you would have a standard UI that would handle both the wallet and trading (which would be extremely convenient).
legendary
Activity: 2412
Merit: 1044
February 03, 2016, 06:04:18 PM
#24
anyways, just keep up the good work... cool stuff, I support all the devs who are actually working and building Smiley
legendary
Activity: 2412
Merit: 1044
February 03, 2016, 06:03:24 PM
#23
Hey I've noticed you are talking about decentralized coin trading. You can do this using BitHalo, BlackHalo or Bitbay using double deposit escrow smart contracts.

Basically both parties make deposits and trade 1/2 the value of the contract over and over again until target is reached.

Example:
Both parties deposit $100 in Blackcoin using Halo
Bob sends $50 - $50 - $50 etc... until target
Alice sends $50 - $50 -$50 etc... until target

Its the proposal for my decentralized exchange "NightTrader" where the collateral will be in Blackcoin

I like AT also, i just wanted to mention this.

The whole point of mentioning this is because decentralized exchange was always possible just nobody wrote the nice UI for it yet.

You can also do an exchange thats not fully decentralized using green addresses.

Basically you just have every user set up a 2 of 2 account with the exchange and then they approve each TX. This is good because the exchange cant take your full balance but it involves trust because the exchange can pose as the counterparty and take individual transactions. Note that you can use sighash single for your change address which gives the exchange a blank check.

Lastly there is the lightning network, similar to AT still depending on locktimes but no blockchain bloat. More decentralized ways of lightning is daisy chain the accounts for example:
Bob/Alice  Alice/John John/Jane Jane/Joe etc...
Then you are only routing IOUS, the exchange only needs to pair users, from there users use the famous transaction replacement techniques and locktimes for micropayment channels, they only route each others debt without need for a centralized "Mt Box" but you can also have the exchange be a "Mt Box" but the protocol is considerably more complex

The point being DDE is the only way that all coins can currently do decentralized exchange until they all start using locktimes.
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
January 25, 2016, 11:46:06 AM
#22
The CIYAM Trade package is nearly finished - in order to test it I created an application with the Trade package and used a CIYAM script to act as the wallet (I plan to add the functionality to the CIYAM's Wallet package next).

Although when the Wallet package is used the UI will be improved there are still a number of steps that involve copying and pasting information - so here is what it looks like currently from the console's perspective (the Trade application UI is described so is not illustrated as you can assume it).

Code:
Generating a spendable amount of RHS for "user1"...
Generating a spendable amount of LHS for "user2"...

Login as "user1" and create a Trading Pair (with Maximum Amount as at least 25) and then Logout.

Now login as "user2" and create a tx from the offer in the All Open Offers list with the following details:

Sending Amount: 25
Refund Address: mtW4pzRHXwNwkHa2mdy2EokKy5GZ4aMWtu
Receiving Address: mkoJtKoxHmdL8aXJvPudmUgZKC1xXHb9KT
Secret Hash: 2bb80d537b1da3e38bd30361aa855686bde0eacd7162fef6a25fe97bf527a25b

Now login as "user1" and edit the Trade Transaction in the My Trade Transactions list with the following:

Refund Address: mids4AKKn42KmcJTvaynUzmnhWnmfgwRMw
Receiving Address: mgF67ucKz7CddjuJwDvDUgC5HiJBRDGNBx

Now login as "user2" and from the tx click on the Waiting tx and copy and paste the Sending Address:

USER2_P2SH=2N1dPcqdkNyfNqysHDqWRq8hqSs6sT91LTP

Now "user2" will send LHS to their P2SH address.

Now login as "user1" and from the tx click on the Waiting tx and copy and paste the Sending Address:

USER1_P2SH=2NFtwQWeiQzMgeidPCrZZhATv6ULXqA8WaB

Now "user1" will send RHS to their P2SH address...

[
    {
        "involvesWatchonly" : true,
        "account" : "user2 (user1's p2sh)",
        "address" : "2NFtwQWeiQzMgeidPCrZZhATv6ULXqA8WaB",
        "category" : "receive",
        "amount" : 25.00000000,
        "vout" : 1,
        "confirmations" : 4,
        "blockhash" : "55647bfcc1ea60124e3e358a046a1e6494babb666d656aec3a9ad7ea3b179e71",
        "blockindex" : 1,
        "blocktime" : 1453733457,
        "txid" : "1b0effc3dbb318d988c5f8f3525c1e79fec7f327aebbc2028274361139042870",
        "walletconflicts" : [
        ],
        "time" : 1453733457,
        "timereceived" : 1453733475
    }
]

Now enter the following from the transaction information above:
TXID=1b0effc3dbb318d988c5f8f3525c1e79fec7f327aebbc2028274361139042870
VOUT=1

Now login as "user2" and from the tx click the Receive Checked button and paste the Secret Reveal Script:
SCRIPT=76a8202bb80d537b1da3e38bd30361aa855686bde0eacd7162fef6a25fe97bf527a25b87637576a91439f079037b44caa047b19f66f9446ad29ca1835888ac6704d0dea656b17576a9142
236ea542963ca5022db4332cd63aa2ed895af6888ac68

0100000001702804391136748202c2bbae27f3c7fe791e5c52f3f8c588d918b3dbc3ff0e1b01000000d44730440220456e9d366d89034c7321a900f17e60506cb9e6fb3c280587301609fda6af65
8502206d785719bc42de81ce05ac4b461fc9d4aab5286d4ec3ef8d0589ab3ed1076d7501210334ae38e2f6331bfc4832893edd540377bcfc08b1a63730339b91cf8a6e0b6636067365637265744c
6176a8202bb80d537b1da3e38bd30361aa855686bde0eacd7162fef6a25fe97bf527a25b87637576a91439f079037b44caa047b19f66f9446ad29ca1835888ac6704d0dea656b17576a9142236ea
542963ca5022db4332cd63aa2ed895af6888ac68000000000100f90295000000001976a91439f079037b44caa047b19f66f9446ad29ca1835888ac00000000

Now "user2" will redeem RHS from the "user1" P2SH address tx (exposing their secret).

Balance of RHS for "user2" is:
25.00000000

Now login as "user1" and from the tx click the Receive Checked button and paste the new Check Address:
ADDR=mkoJtKoxHmdL8aXJvPudmUgZKC1xXHb9KT

[
    {
        "involvesWatchonly" : true,
        "account" : "user1 (user2's reveal)",
        "address" : "mkoJtKoxHmdL8aXJvPudmUgZKC1xXHb9KT",
        "category" : "receive",
        "amount" : 25.00000000,
        "vout" : 0,
        "confirmations" : 1,
        "blockhash" : "5ea97dcb1e76ca90ef0b71aae2208488df5d8344248be2713fbb8f1bae8a1667",
        "blockindex" : 1,
        "blocktime" : 1453733502,
        "txid" : "d374d12b0cee799e7d3b233332b87ae41f18ffae9c1a5dc49f7436df4f216fcf",
        "walletconflicts" : [
        ],
        "time" : 1453733502,
        "timereceived" : 1453733536
    }
]

Now copy and paste the secret reveal txid:
TXID=d374d12b0cee799e7d3b233332b87ae41f18ffae9c1a5dc49f7436df4f216fcf

{
    "txid" : "d374d12b0cee799e7d3b233332b87ae41f18ffae9c1a5dc49f7436df4f216fcf",
    "version" : 1,
    "locktime" : 0,
    "vin" : [
        {
            "txid" : "1b0effc3dbb318d988c5f8f3525c1e79fec7f327aebbc2028274361139042870",
            "vout" : 1,
            "scriptSig" : {
                "asm" : "30440220456e9d366d89034c7321a900f17e60506cb9e6fb3c280587301609fda6af658502206d785719bc42de81ce05ac4b461fc9d4aab5286d4ec3ef8d0589ab3
ed1076d7501 0334ae38e2f6331bfc4832893edd540377bcfc08b1a63730339b91cf8a6e0b6636 736563726574 76a8202bb80d537b1da3e38bd30361aa855686bde0eacd7162fef6a25fe97bf5
27a25b87637576a91439f079037b44caa047b19f66f9446ad29ca1835888ac6704d0dea656b17576a9142236ea542963ca5022db4332cd63aa2ed895af6888ac68",
                "hex" : "4730440220456e9d366d89034c7321a900f17e60506cb9e6fb3c280587301609fda6af658502206d785719bc42de81ce05ac4b461fc9d4aab5286d4ec3ef8d0589a
b3ed1076d7501210334ae38e2f6331bfc4832893edd540377bcfc08b1a63730339b91cf8a6e0b6636067365637265744c6176a8202bb80d537b1da3e38bd30361aa855686bde0eacd7162fef6a25
fe97bf527a25b87637576a91439f079037b44caa047b19f66f9446ad29ca1835888ac6704d0dea656b17576a9142236ea542963ca5022db4332cd63aa2ed895af6888ac68"
            },
            "sequence" : 0
        }
    ],
    "vout" : [
        {
            "value" : 25.00000000,
            "n" : 0,
            "scriptPubKey" : {
                "asm" : "OP_DUP OP_HASH160 39f079037b44caa047b19f66f9446ad29ca18358 OP_EQUALVERIFY OP_CHECKSIG",
                "hex" : "76a91439f079037b44caa047b19f66f9446ad29ca1835888ac",
                "reqSigs" : 1,
                "type" : "pubkeyhash",
                "addresses" : [
                    "mkoJtKoxHmdL8aXJvPudmUgZKC1xXHb9KT"
                ]
            }
        }
    ]
}

Now copy and paste the revealed secret:
HEX_SCRT=736563726574

[
    {
        "txid" : "e6af2d2c7e6cda9ea14c166a57c83112376a39b24524b5d2b1e607d740663b71",
        "vout" : 0,
        "address" : "2N1dPcqdkNyfNqysHDqWRq8hqSs6sT91LTP",
        "account" : "user1 (user2's p2sh)",
        "scriptPubKey" : "a9145bf232454e73c9cafa022f52d819bbf59c63df1087",
        "amount" : 25.00000000,
        "confirmations" : 9,
        "spendable" : false
    }
]

Now copy and paste the P2SH txid and vout:
TXID=e6af2d2c7e6cda9ea14c166a57c83112376a39b24524b5d2b1e607d740663b71
VOUT=0

Now click the Secret Checked button and paste the Secret Reveal Script:
SCRIPT=76a8202bb80d537b1da3e38bd30361aa855686bde0eacd7162fef6a25fe97bf527a25b87637576a91407f8009f5b6b12a5ae10e0ae539ea06ce232cfbf88ac67047387a756b17576a9148
e6eac4b9e5944a76f2305a736ed2a7d65742f7688ac68

0100000001713b6640d707e6b1d2b52445b2396a371231c8576a164ca19eda6c7e2c2dafe600000000d4473044022027523c5d0aaf22798d0503c67c073bf4a78522d88d8128720091289845ac0f
1d022078d69e74bea88f7d727a4a04650179136ca24872477f052f58d17f825ce1b0ad01210220d666741f2e8be672556ca8f0b7a7352516422c7b7b3f0681d39adf4cabd953067365637265744c
6176a8202bb80d537b1da3e38bd30361aa855686bde0eacd7162fef6a25fe97bf527a25b87637576a91407f8009f5b6b12a5ae10e0ae539ea06ce232cfbf88ac67047387a756b17576a9148e6eac
4b9e5944a76f2305a736ed2a7d65742f7688ac68000000000100f90295000000001976a91407f8009f5b6b12a5ae10e0ae539ea06ce232cfbf88ac00000000

Now "user1" will redeem LHS from the "user2" P2SH address tx.

Balance of LHS for "user1" is:
25.00000000

Clearly with the right stuff added into the Wallet package the need for dumping raw txs will disappear so it will be much cleaner but there is no real way of getting around the copying and pasting of pieces of information.

For those that use Qora or Burst the AT implementation will actually be much nicer.
Vin
legendary
Activity: 1166
Merit: 1015
January 24, 2016, 05:32:31 PM
#21
Yes, I also think that you guys are doing an awesome job!

Thank you!

Vin
legendary
Activity: 2282
Merit: 1072
https://crowetic.com | https://qortal.org
January 22, 2016, 10:51:11 AM
#20
You guys are truly amazing. I hope to one day be half as good as you with development. Keep up the awesome job. Smiley
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
January 18, 2016, 09:46:39 AM
#19
I thought the secret could be handled by the exchange software itself ... so this problem could be solved, once the exchange itself is decentral?!

It would not be a good idea to have the exchange software actually *know* your secret (it should only know the hash) just in case you decide not to reveal your secret (the idea of the ACCT protocol allows for this so you wouldn't want to potentially take that power away from the initiator).
full member
Activity: 137
Merit: 100
AT - Automated Transactions - CIYAM Developer
January 17, 2016, 05:12:09 AM
#18
Great job Ian. I will code the equivalent AT script and GUI for the AT enabled coins ( qora, burst ).

 
Quote
I thought the secret could be handled by the exchange software itself ... so this problem could be solved, once the exchange itself is decentral?!
The time issue is bad for day trading ... but i guess it is acceptable considering the benefits of beeing decentral.

Thanks again for your work and efford!


For sure we don't expect it to be a replacement for normal day trading via exchanges, but you could think it more this way: "Shapeshift meets localbitcoin" Cheesy
sr. member
Activity: 257
Merit: 255
January 16, 2016, 01:57:37 PM
#17
Although I think decentralised crypto trading is an important technical achievement the question is whether people are really going to use it.

As time stamps in Bitcoin (and its clones) are not very accurate (two hours variance is allowed) then at a minimum you would want the automatic refund to be at least more than two hours.

Once the P2SH address has been worked out and funds sent to it then the party that is going to reveal the secret isn't going to do so until they see at least one confirmation (and you'd probably be best advised to wait for more than one confirmation in case of a possible re-org) so I can't see a single trade happening much faster than around half an hour (if we are talking about Bitcoin).

My guess is that having to wait half an hour to do a single trade is going to be simply too unattractive to the average Joe who can trust a (unfortunately likely to eventually get hacked and go bankrupt) website with their coins in order to do near instant trading.

Also no matter how much the UI is simplified it will at least require a secret to be provided by one party and then entered by the other which is going to be an extra step for at least the second party (assuming the secret was able to be automatically generated for the first party).

So as much as people are screaming out that they need a decentralised exchange I would have to say that I am not very optimistic that they will actually use what CLTV ACCT will provide.

I thought the secret could be handled by the exchange software itself ... so this problem could be solved, once the exchange itself is decentral?!
The time issue is bad for day trading ... but i guess it is acceptable considering the benefits of beeing decentral.

Thanks again for your work and efford!
Pages:
Jump to: