Pages:
Author

Topic: NXT cross chain transaction 3M to 5M bounty - page 2. (Read 6934 times)

legendary
Activity: 1470
Merit: 1004
We also need to discuss how automatic we want to have CCT.

If we want everything (including creating BTC transactions), we somehow need to create them without the users direct intervention. Storing some private keys in the NXT blockchain is not an option.

Yes, agreed,  I would say make it fully automatic

That would be the most convenient option, I know. But how to create a blank transaction without the private key of the user AND without revealing the secret necessary to perform the corresponding transaction on the other blockchain.

We have time to discuss this until AT and AE are up and running.

Yeah, that's the 3Mil Nxt question right there.   Wink
legendary
Activity: 1176
Merit: 1134
sr. member
Activity: 364
Merit: 250
☕ NXT-4BTE-8Y4K-CDS2-6TB82
We also need to discuss how automatic we want to have CCT.

If we want everything (including creating BTC transactions), we somehow need to create them without the users direct intervention. Storing some private keys in the NXT blockchain is not an option.

Yes, agreed,  I would say make it fully automatic

That would be the most convenient option, I know. But how to create a blank transaction without the private key of the user AND without revealing the secret necessary to perform the corresponding transaction on the other blockchain.

We have time to discuss this until AT and AE are up and running.
legendary
Activity: 1470
Merit: 1004
We also need to discuss how automatic we want to have CCT.

If we want everything (including creating BTC transactions), we somehow need to create them without the users direct intervention. Storing some private keys in the NXT blockchain is not an option.

Yes, agreed,  I would say make it fully automatic
sr. member
Activity: 364
Merit: 250
☕ NXT-4BTE-8Y4K-CDS2-6TB82
We also need to discuss how automatic we want to have CCT.

If we want everything (including creating BTC transactions), we somehow need to create them without the users direct intervention. Storing some private keys in the NXT blockchain is not an option.
newbie
Activity: 30
Merit: 0
any other detail??
full member
Activity: 350
Merit: 100

That is really interesting, especially for AT: https://bitcointalksearch.org/topic/nxt-automated-transactions-at-progress-and-discussion-463731
I sent CIYAM Open a PM on that. Thank you very much for that.

For CCT, as it builds upon AT and AE, we need should not need to bother with that as the 'dirty' work is done a layer underneath of us.

Chuck, there are two more posts similar to that one that I think are also relevant -- I am hunting them down.

I'm glad you forwarded that to CIYAM, because that's definitely beyond my pay grade. Smiley
sr. member
Activity: 364
Merit: 250
☕ NXT-4BTE-8Y4K-CDS2-6TB82

That is really interesting, especially for AT: https://bitcointalksearch.org/topic/nxt-automated-transactions-at-progress-and-discussion-463731
I sent CIYAM Open a PM on that. Thank you very much for that.

For CCT, as it builds upon AT and AE, we need should not need to bother with that as the 'dirty' work is done a layer underneath of us.
sr. member
Activity: 364
Merit: 250
☕ NXT-4BTE-8Y4K-CDS2-6TB82
I need to leave now for an hour or so. So, I will leave with more material to discuss:

Introductory:
https://bitcointalksearch.org/topic/m.5462784

More detailed:
https://en.bitcoin.it/wiki/Atomic_cross-chain_trading


The basic idea goes as follows (publish = submit to the network):

1) Alice and Bob exchange unready transactions.

-> If Alice publishes a transaction, Alice will reveal a secret that Bob needs to publish his transaction

3) Alice publishes her transaction.
4) Bob can publish as well now.

This sounds like an autonomous contract to me. Whence a contract is established, as long as the parties in the contract do what they are supposed to do the contract will be executed in the order. I guess AT can play a role in it.

Sounds reasonable to me. Fees for executing the contract (we will pay per op) needs to be evenly split between the parties in order to prevent one party loosing more than the other one.
full member
Activity: 350
Merit: 100
full member
Activity: 221
Merit: 100
I need to leave now for an hour or so. So, I will leave with more material to discuss:

Introductory:
https://bitcointalksearch.org/topic/m.5462784

More detailed:
https://en.bitcoin.it/wiki/Atomic_cross-chain_trading


The basic idea goes as follows (publish = submit to the network):

1) Alice and Bob exchange unready transactions.

-> If Alice publishes a transaction, Alice will reveal a secret that Bob needs to publish his transaction

3) Alice publishes her transaction.
4) Bob can publish as well now.

This sounds like an autonomous contract to me. Whence a contract is established, as long as the parties in the contract do what they are supposed to do the contract will be executed in the order. I guess AT can play a role in it.
legendary
Activity: 1470
Merit: 1004
Unless I hear otherwise, I will assume that Mr 47...88 wants NXT to be able to trade crypto to crypto within NXT.
Atomic crosschain is by definition NXT blockchain <-> BTC blockchain (or other pair).
It is not NXT blockchain <-> NXT AE <-> BTC blockchain.
If the first is impossible, please give the proof.

But wouldn't it be better for NXT that everythig goes through AE as hub...?


It might be better for Nxt holders, but this is about doing a first, xchain tx.

Maybe, we need to clarify something:

There is no such thing as a crosschain transaction. This is crosschain trading.

Yes, good to clarify that.  Would this be a good time to explore Nxt parallel block chain for this application?
sr. member
Activity: 364
Merit: 250
☕ NXT-4BTE-8Y4K-CDS2-6TB82
I need to leave now for an three hour or so. So, I will leave with more material to discuss:

Introductory:
https://bitcointalksearch.org/topic/m.5462784

More detailed:
https://en.bitcoin.it/wiki/Atomic_cross-chain_trading


The basic idea goes as follows (publish = submit to the network):

1) Alice and Bob exchange unready transactions.

-> If Alice publishes a transaction, Alice will reveal a secret that Bob needs to publish his transaction

3) Alice publishes her transaction.
4) Bob can publish as well now.
sr. member
Activity: 364
Merit: 250
☕ NXT-4BTE-8Y4K-CDS2-6TB82
Unless I hear otherwise, I will assume that Mr 47...88 wants NXT to be able to trade crypto to crypto within NXT.
Atomic crosschain is by definition NXT blockchain <-> BTC blockchain (or other pair).
It is not NXT blockchain <-> NXT AE <-> BTC blockchain.
If the first is impossible, please give the proof.

But wouldn't it be better for NXT that everythig goes through AE as hub...?


It might be better for Nxt holders, but this is about doing a first, xchain tx.

Maybe, we need to clarify something:

There is no such thing as a crosschain transaction. This is crosschain trading.
legendary
Activity: 1470
Merit: 1004
Unless I hear otherwise, I will assume that Mr 47...88 wants NXT to be able to trade crypto to crypto within NXT.
Atomic crosschain is by definition NXT blockchain <-> BTC blockchain (or other pair).
It is not NXT blockchain <-> NXT AE <-> BTC blockchain.
If the first is impossible, please give the proof.

But wouldn't it be better for NXT that everythig goes through AE as hub...?


It might be better for Nxt holders, but this is about doing a first, xchain tx.
sr. member
Activity: 364
Merit: 250
☕ NXT-4BTE-8Y4K-CDS2-6TB82
Unless I hear otherwise, I will assume that Mr 47...88 wants NXT to be able to trade crypto to crypto within NXT.
Atomic crosschain is by definition NXT blockchain <-> BTC blockchain (or other pair).
It is not NXT blockchain <-> NXT AE <-> BTC blockchain.
If the first is impossible, please give the proof.

But wouldn't it be better for NXT that everythig goes through AE as hub...?

That might be true for the pricing issue. That is the data-structures and API calls for placing/cancelling orders could be re-used:

http://wiki.nxtcrypto.org/wiki/Nxt_API#Asset_exchange_operations

One thing that needs more consideration is the asset one could trade in case of CCT.

We would need two different types of assets: onchain-assets and offchain-assets.

Furthermore, offchain-assets need to be bound to certain code in NXT that allows trading with the specified asset. I.e., if a node wants to create a bitcoin transaction, code for creating such transaction is necessary. So is for every additional cryptocurrency as transaction formats and API of the regarding networks can differ.

All AE API calls would need to act according to the specified asset type. Is there a flaw in my logic?
sr. member
Activity: 364
Merit: 250
☕ NXT-4BTE-8Y4K-CDS2-6TB82
Unless I hear otherwise, I will assume that Mr 47...88 wants NXT to be able to trade crypto to crypto within NXT.
Atomic crosschain is by definition NXT blockchain <-> BTC blockchain (or other pair).
It is not NXT blockchain <-> NXT AE <-> BTC blockchain.
If the first is impossible, please give the proof.

Alright, I would focus on this very use case first as 'NXT blockchain <-> NXT AE <-> BTC blockchain' might be very complex both in implementation and understanding. So would make this delicate feature very error-prone.

Let's if we can find a way to do the pair 'NXT <-> BTC' first. Generalization should be easy when considering BTC as a replaceable asset.
sr. member
Activity: 364
Merit: 250
☕ NXT-4BTE-8Y4K-CDS2-6TB82

Hea guys - I'd like to be on board with this too. I am getting my client finished, and then there will be a dedicated thing for this.

Current status on the AE client is that I have moved the server requests to POST and also included the latest three new api calls. The one thing that is making trouble is using https and POST - this means that I can't use web-wallets yet. But it occurred to me that that is a rather special case, and for using the AE you rather wnat to run YOUR nxt on your local node, so this can wait.

I have also created a proper QAbstractTableModel for display in table widgets. This was tough, but I have one now, and I can just replicate it for all OB tables. Will be a bit of work, but not serious.

So - AE client will be available soon!

James - sorry that I haven't had time to run dogecoind yet - but I'll catch up..

best,
l8orre


Welcome. Smiley Great. I see there is much support for CCT.

Post your ideas regarding CCT here.
member
Activity: 95
Merit: 10
Unless I hear otherwise, I will assume that Mr 47...88 wants NXT to be able to trade crypto to crypto within NXT.
Atomic crosschain is by definition NXT blockchain <-> BTC blockchain (or other pair).
It is not NXT blockchain <-> NXT AE <-> BTC blockchain.
If the first is impossible, please give the proof.

But wouldn't it be better for NXT that everythig goes through AE as hub...?

legendary
Activity: 924
Merit: 1000
Hey, guys!! I have posted here 'cause it's the current thread:

Mt. Barker Computers and Electronics in Western Australia is now accepting Nxt 'over the counter' for purchases.

We are 'indiamikezulu' (indiamikezulu dot com dot au), a hobby business devoted really to across-the-board cryptocurrency development in Australia rather than any particular crypto -- but we recognised the excellence of Nxt early on, hold coin, and are developing it 'on the ground.'

Actually, MBCE (my business partner's day job) is probably the only place in Australia that accepts more than two cryptos -- we're taking four.

Mark Blair (04 399 58791)

Well, that was quick! I'm amazed at how many Aussies are jumping on board the cyber train. You guys put us stodgy Canucks to shame  Grin
Pages:
Jump to: