Pages:
Author

Topic: [ANN] SuperNET NXT asset 12071612744977229797, SUPERNET KMD assetchain in summer - page 63. (Read 736823 times)

legendary
Activity: 1176
Merit: 1134
still waiting for GUI release, but the Tui is used for testing and is fully connected to the InstantDEX API

I got the ordermatching working, along with order expiration, so it is theoretically functional now. Of course it needs to be tested first

James
legendary
Activity: 1176
Merit: 1134
Here is debug Tui by cryptosleuth:

hero member
Activity: 910
Merit: 1000
For anyone who's missed it:

Win free SuperNET by performing social actions (Tweet, follow, etc.)
http://promoplugs.com/Campaign.aspx?CID=139
3 Days left to Enter!
legendary
Activity: 1176
Merit: 1134
finally got the order matching to pass all the checks and do an order. it is quite a few checks that need to be passed
also have multiple orderbooks autocreated so soon we can get a combined orderbook from many sources

James
legendary
Activity: 1176
Merit: 1134
This is a text based GUI for InstantDEX API that we will use for testing:

https://i.imgur.com/rdbR52W.jpg

https://i.imgur.com/NkjOZ5N.png

nothing fancy, but will allow for realtime order entry and trading. So we are going full speed ahead with the InstantDEX testing and hope to have the low level rock solid for when the graphical user interface is ready

James


nice, everything is starting to fall in place now Smiley)

not long until a nice looking gui is on the way i guess? if possible maybe something like https://beta.bittrex.com/ ; it is down right now, but looks really good and alot of extra information!
it would require someone that knows code to verify, but it was very small changes to reactivate InstantDEX as it has been 90% complete since summer.
just so many things happening...

anyway i am the turtle. zoom zoom

James
legendary
Activity: 1176
Merit: 1134
This is a text based GUI for InstantDEX API that we will use for testing:

https://i.imgur.com/rdbR52W.jpg

https://i.imgur.com/NkjOZ5N.png

nothing fancy, but will allow for realtime order entry and trading. So we are going full speed ahead with the InstantDEX testing and hope to have the low level rock solid for when the graphical user interface is ready

James


nice, everything is starting to fall in place now Smiley)

not long until a nice looking gui is on the way i guess? if possible maybe something like https://beta.bittrex.com/ ; it is down right now, but looks really good and alot of extra information!
GUI is based on yunbi.com/markets/nxtbtc, we are removing the centralized stuff. I wanted a GUI that is familiar to users.

The v1 GUI is in very active testing now, but that is just the first part of the iceberg as the InstantDEX is developed independent and then it gets merged in. Along with all the other projects, so it is confusing to those that want to buy the rumor and sell the news as there is always things happening

James
legendary
Activity: 2464
Merit: 1145
This is a text based GUI for InstantDEX API that we will use for testing:

https://i.imgur.com/rdbR52W.jpg

https://i.imgur.com/NkjOZ5N.png

nothing fancy, but will allow for realtime order entry and trading. So we are going full speed ahead with the InstantDEX testing and hope to have the low level rock solid for when the graphical user interface is ready

James


nice, everything is starting to fall in place now Smiley)

not long until a nice looking gui is on the way i guess? if possible maybe something like https://beta.bittrex.com/ ; it is down right now, but looks really good and alot of extra information!
legendary
Activity: 1526
Merit: 1002
Bulletproof VPS/VPN/Email @ BadAss.Sx
Turkish for me, but it looks nice Smiley
legendary
Activity: 1176
Merit: 1134
This is a text based GUI for InstantDEX API that we will use for testing:

https://i.imgur.com/rdbR52W.jpg

https://i.imgur.com/NkjOZ5N.png

nothing fancy, but will allow for realtime order entry and trading. So we are going full speed ahead with the InstantDEX testing and hope to have the low level rock solid for when the graphical user interface is ready

James
hero member
Activity: 910
Merit: 1000
Let's get the word out!
SuperNET's set up a Twitter/FB Action Campaign at
http://promoplugs.com/Campaign.aspx?CID=139

Takes seconds to complete all the actions, and you could win free SuperNET!
I'll add actions pertaining to the recent developments as soon as they're released!
newbie
Activity: 56
Merit: 0
This is front page crypto news! History in the making!  Shocked
legendary
Activity: 1764
Merit: 1031
This is a huge development for SuperNET, Nxt and crypto as a whole. If we can move a decent proportion of trading onto InstantDEX it will be beneficial for everyone. Very exciting times.
legendary
Activity: 1176
Merit: 1134
fixed fees coded and spot tested.

now InstantDEX (and therefore SuperNET) has a monetized decentralized service coming soon. just need to get the GUI yunbi.com/markets/nxtbtc to be ported

still many things to get done, but i am pretty sure I will be able to keep up with the GUI side, so another few days and I should get InstantDEX into maintenance mode too (along with ramchains and MGW that are already there)

then it will be onto Tradebots and deploying automated market makers for the 1% spreads on the supported markets

James
legendary
Activity: 1176
Merit: 1134
I am putting in a fee of 0.1% (1 / 1024) for InstantDEX trades. There are no fees for making or canceling bids/asks, but I am really concerned that if InstantDEX trading is becoming very popular it will saturate the NXT blockchain.

at 64 trades per block, we fill up the current blocks. So for spam protection and to preserve the blockchain space we need some sort of fee.

However, I dont want the fee to be too high that it discourages trading. Initially, for trading crypto the MGW has to be used, but for asset <-> asset trading, this can be done directly without any MGW involved (unless you are trading against mgw BTC)

Due to the lack of blockchain space, I am now advising to keep the txfee at 1 NXT. Assuming we fill up the blocks, this is ~250K NXT in fees per day (gladly paid by traders). Now at this pace, NXT forging is paying ~10% per year! I think with that sort of return, the value of NXT will become quite a bit larger.

James

P.S. for those trying to estimate the amount of fees InstantDEX will earn I would imagine it would be a multiple of the 4NXT worth of fees per trade. While most trades will be < 1000 NXT, there will be some larger trades for 1 to 10 BTC


*********
I am also considering a flat fee of ~5NXT. This further discourages small trades and will be a much better deal for the larger trades and it is easier to keep track of without ending up with a zillion different assets
legendary
Activity: 1176
Merit: 1134
i'm looking for a quick walkthrough on how to withdraw UNITY from bter once i can ..


is it preferable to use the UNITY client or doesnt matter. i'd prefer to use something stable so i'm not fussed about any need to update.
UNITY itself is the SuperNET asset and you dont directly use it, so it is best to just have it in a NXT address that you control. All dividends will automatically be sent to whatever address the SuperNET asset is in. UNITY is just the trading symbol for the SuperNET asset.

you can get a NXT wallet installed from nxt.org
then you will be all ready to withdraw into it. The SuperNET v1 wallet is about to go into a wider coverage beta release, but the NXT portion is compatible, so just make sure you dont lose the passphrase! The passphrase is your wallet and it will work for the NXT standard wallet and with SuperNET wallet

James
legendary
Activity: 1204
Merit: 1000
to your stations, man the pineapples!!!
i'm looking for a quick walkthrough on how to withdraw UNITY from bter once i can ..


is it preferable to use the UNITY client or doesnt matter. i'd prefer to use something stable so i'm not fussed about any need to update.
legendary
Activity: 1176
Merit: 1134
The way InstantDEX API works is you ask for an orderbook, it shows all the orders from everyone. If you see an order you want to match, it will have the exact syntax needed for a "makeoffer" API. So copy it and submit it as an API call.

This will in turn generate a processutx API to send to the remote node

Which receives it and send back a respondtx API along with the signedtx bytes that can be pushed to the network.

Node A
curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "SuperNET", "params": ["{\"requestType\":\"makeoffer\",\"baseid\":\"11060861818140490423\",\"baseamount\":\"101111100\",\"relid\":\"17554243582654188572\",\"relamount\":\"617900\",\"other\":\"8279528579993996036\",\"subscribe\":\"1\"}"]  }' -H 'content-type: text/plain;' http://127.0.0.1:7777/

send.([{"requestType":"processutx","NXT":"12240549928875772593","utx":"0211665557020a00ec7f665fccae39025531b1cb3c48e584916dba00a7034edc60f9e4111f86145 d048b3c6e60cbe672000000000000000000e1f50500000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000000000000000000 000001000000158e05004253a05e77c0de7201b7faf17b381380997f27000000000000016000008 07b22617373657441223a223131303630383631383138313430343930343233222c227174794122 3a223130313131222c22617373657442223a2231373535343234333538323635343138383537322 22c2271747942223a22363137393030227d","sig":"a447c703c03cbf851c15ec3564e3b4c681af187fd42146bb824a57c3e904c116","full":"d724a350527244c127cc4a69d58fb9a69fb38d0e5b31e327260eadc4fe582765","timestamp":1424572325},{"token":"phfmcvvc65ag4edesl43pith02t6r4c4c3e4s0t7gofh3p7patamcn8k1k774l02mbloiquivhhhbhh nkolce88962m7s1bo4v7e6hn2bgcgbbmqbo21tinhddujjtisl0vp1ut1ll7jt7j2vvpslcnihe45qk 86"}]) to NXT.8279528579993996036

Node B
send ({"requestType":"respondtx","NXT":"8279528579993996036","signedtx":"0211575557020a00ac24ff73f21425e9e68936141f8861ac206f72e1cfd18a6a84747c211eb9800 0b1ca129e4e2bdfa9000000000000000000e1f50500000000d724a350527244c127cc4a69d58fb9 a69fb38d0e5b31e327260eadc4fe58276553c7a314591e36e85f9fa704a3dc79b595b868aa9bd0f aef2413a6d33b93e90399b9f4667dac6e484c792231e187bca63488c4f76149c2a8eb733b073f29 bd4a01000000158e05004253a05e77c0de72011c8cc83488339df3ac6d090000000000013000008 07b22617373657441223a223131303630383631383138313430343930343233222c227174794122 3a223130313131227d","timestamp":1424572310}) to 12240549928875772593

Node A
RESPONDTX.(0211575557020a00ac24ff73f21425e9e68936141f8861ac206f72e1cfd18a6a84747c211eb9800 0b1ca129e4e2bdfa9000000000000000000e1f50500000000d724a350527244c127cc4a69d58fb9 a69fb38d0e5b31e327260eadc4fe58276553c7a314591e36e85f9fa704a3dc79b595b868aa9bd0f aef2413a6d33b93e90399b9f4667dac6e484c792231e187bca63488c4f76149c2a8eb733b073f29 bd4a01000000158e05004253a05e77c0de72011c8cc83488339df3ac6d090000000000013000008 07b22617373657441223a223131303630383631383138313430343930343233222c227174794122 3a223130313131227d) from (8279528579993996036)

TRADECOMPLETE.({"result":"tradecompleted","txid":"9945291270561970098","signedtx":"0211675e57020a00ec7f665fccae39025531b1cb3c48e584916dba00a7034edc60f9e4111f86145 d048b3c6e60cbe672000000000000000000e1f50500000000000000000000000000000000000000 000000000000000000000000000000000024e4a6b506cff53e92236a228408d1bfc6850367eae34 3d1aecc5d84409c810d878a5b7e68314df84e0e7227c38a6f4eee674e8ffb93c58df636b124b3c8 8eec010000002b8e050034aa683cca0d112701b7faf17b381380997f27000000000000013100008 07b22617373657442223a223137353534323433353832363534313838353732222c227174794222 3a22363137393030227d","othertxid":"4233802116116130288"})

Now this is without anything fancy and requires fill or kill exact match and still a lot of error handling to put around it, but the basic atomic exchange is working again. depending on how long the NXT takes to generate the tx, the exchange happens very quickly. In fact I saw one trade happen immediately as I pressed enter, but usually there is a few second pause for the NXT to generate the tx.

Also the trade is completed offchain and then pushed to the network and with both sides verifying the signatures and details, it is a matter of time before it will get confirmed(*). but until it is, it cant be re-traded.

You can see the matched transactions on the NXT mainnet: 9945291270561970098 and 4233802116116130288

James

(*) there is a small chance for some funny business by the block generator so if you are trading with that node, some precautions are needed. But this is a detail and just requires a bit of fine tuning to the basic mechanism, along with adding a small fee for matching trades.
legendary
Activity: 1176
Merit: 1134
finally found the bug for the make offer. much easier to debug freshly written code, remembering all the details from code last summer is taking a bit of time.

but I think I am close to getting a negotiated trade.

Then it is adding things like error checks, bullet proofing and things that wont really be externally visible. The first priority is to get the API to where the GUI can be tested in a full cycle usage

James
legendary
Activity: 1176
Merit: 1134
Long time lurker here. Waiting for Bter to open up alt coin withdrawals. Having Supernet on Bter was my first foray of dealing with NXT at all. What's the quickest way to get them secure and off Bter once it opens up? I've signed up on secureae- Do I use my nxt id/pub key to send them to? It might be self explanatory once I try to withdraw them from Bter but just want a quick low down (I could research myself in more detail but I want them off ASAP). I imagine I'm not the only non-NXT investor with questions. Thanks
any NXT account will work. So it could be a secureae account or one you make local, mynxt.info also has webwallets.

James
newbie
Activity: 13
Merit: 0
NXT withdrawals still not working at bter Angry
Pages:
Jump to: