Pages:
Author

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

hero member
Activity: 750
Merit: 500
www.coinschedule.com
I ran into some difficulties with getting all parts of InstantDEX happy, so rather than try to code it up before it was ready, I wanted something easy to code. There was some discussion in the slack about publishing HTML in the cloud and it seemed like a nice one day task. So, now we have a "publish" API that lets you publish HTML files in the DHT cloud. With or without encryption (+ PIN) and with MofN up to 255.

to publish index.html that included some javascript and a jpg file with:

curl -k --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "SuperNET", "params": ["{\"requestType\":\"publish\",\"files\":[[\"image.jpg\",\"image/png\"],[\"supernet.js\",\"application/javascript\"],[\"index.html\",\"text/html\"]]}"]  }' -H 'content-type: text/plain;' https://127.0.0.1:7777/

after that the web page is accessible via: http://127.0.0.1:7776/071337104547011275
without needing any plugins.

There are no protections built in yet and only files of 30kb are handled (unless MofN is used, then it is even less) so it is more a proof of concept, but theoretically a two way link can be made between browser and "server" via Telepathy and it would then be possible to have an interactive website in the cloud without anybody knowing the IP address of the publisher. though this will take a lot more than a day to do.

still I thought that was pretty cool!

James

P.S. Thanks to bassguitarman who got a Mac QT wallet of BTCD + SuperNET working! Seems to have worked first shot cross platform. We now have 125+ in slack and I believe one of the largest active crypto communities. 10000 messages goes by in a few days, that is the limit for the free mode of slack

this is pretty cool!
legendary
Activity: 1176
Merit: 1134
I ran into some difficulties with getting all parts of InstantDEX happy, so rather than try to code it up before it was ready, I wanted something easy to code. There was some discussion in the slack about publishing HTML in the cloud and it seemed like a nice one day task. So, now we have a "publish" API that lets you publish HTML files in the DHT cloud. With or without encryption (+ PIN) and with MofN up to 255.

to publish index.html that included some javascript and a jpg file with:

curl -k --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "SuperNET", "params": ["{\"requestType\":\"publish\",\"files\":[[\"image.jpg\",\"image/png\"],[\"supernet.js\",\"application/javascript\"],[\"index.html\",\"text/html\"]]}"]  }' -H 'content-type: text/plain;' https://127.0.0.1:7777/

after that the web page is accessible via: http://127.0.0.1:7776/071337104547011275
without needing any plugins.

There are no protections built in yet and only files of 30kb are handled (unless MofN is used, then it is even less) so it is more a proof of concept, but theoretically a two way link can be made between browser and "server" via Telepathy and it would then be possible to have an interactive website in the cloud without anybody knowing the IP address of the publisher. though this will take a lot more than a day to do.

still I thought that was pretty cool!

James

P.S. Thanks to bassguitarman who got a Mac QT wallet of BTCD + SuperNET working! Seems to have worked first shot cross platform. We now have 125+ in slack and I believe one of the largest active crypto communities. 10000 messages goes by in a few days, that is the limit for the free mode of slack
sr. member
Activity: 299
Merit: 250
That is such a joke


EDIT:  Sorry, I don't want anyone here to take my comment the wrong way.  I don't mean to say that jl777 doesn't deserve to be honored.  It's just that to me, coinssource has lost a lot of credibility based on some of the things they have published.  I take everything they say or do with a grain of salt.

James rat4 and drak at the bottom of the list?  lol. 
sr. member
Activity: 391
Merit: 250
That is such a joke


EDIT:  Sorry, I don't want anyone here to take my comment the wrong way.  I don't mean to say that jl777 doesn't deserve to be honored.  It's just that to me, coinssource has lost a lot of credibility based on some of the things they have published.  I take everything they say or do with a grain of salt.
sr. member
Activity: 534
Merit: 250
The Protocol for the Audience Economy


Tweet
https://twitter.com/ev0k3d/status/533287528582094850

Nomination Thread
https://bitcointalksearch.org/topic/m.9542207

I am happy someone like you is on our list. Hope to see more great work jl777.

respect +1

legendary
Activity: 1176
Merit: 1134
screenshots of v0 GUI: http://imgur.com/a/bljE4#11

Looks great. The coinomat especially is pretty interesting. Will it cost no fees to convert at all?
unfortunately, the banks charge fees and there is really no way around this to convert to fiat

James
legendary
Activity: 1237
Merit: 1010
screenshots of v0 GUI: http://imgur.com/a/bljE4#11

Looks great. The coinomat especially is pretty interesting. Will it cost no fees to convert at all?
legendary
Activity: 1176
Merit: 1134
I decided to implement HTML for the cloud today:


static char *publish[] = { (char *)publish_func, "publish", "V", "files", "L", "M", "N", "backup", "password", "pin", 0  };
the syntax is ./BitcoinDarkd SuperNET '{"requestType":"publish","files":[["index.html","text/html"]]}'

the files array has to be in the right order
any file that is referred by another file, must appear first
all html MIME types are supported as long as they fit into the space allowed, which is 1kb for the metadata
the metadata is mostly a list of key locations for the file fragments (* N) and currently this means about 32kb is max size
when it is more debugged, I can boost this to 1mb by nesting it one level and that should be enough
if the second item in the array is missing, it defaults to "text/html"
you can refer to files in your HTML normally and it will search the html folder or the mappings from the files array

I can put standard HTML files, like jquery-2.1.1.min.js in the html folder so there is no need to store that in the cloud
external http:// accesses should work

after a publish command, you will get a 64bit key and to display this http://127.0.0.1:7776/ should display the HTML included nested file references

if you did a publish with a "password" field defined, then you need to add a ? to the URL or it wont decrypt
if you had both a "password" and "pin" field, then you need to have  http://127.0.0.1:7776/?&

I have the simple case of saving and displaying a simple index.html working, will be debugging automated file -> URL64 mappings

James
legendary
Activity: 1526
Merit: 1002
Bulletproof VPS/VPN/Email @ BadAss.Sx
I'm using Safari & Firefox....both are saying: Loading...
sr. member
Activity: 255
Merit: 251
Nope, it is just saying: Loading...

Hi, what browser are you using? This is an ssl problem. I have been really busy the past couple of days on other projects including SuperNET, I have not had time to fix this.

It is working fine for me in Firefox and my phone browser. If you are using chrome, you should be able to view the listings with https://freemarketlite.com/all_listings, which returns a JSON string of all current listings.

I will fix this as soon as possible.

Matthew
legendary
Activity: 1526
Merit: 1002
Bulletproof VPS/VPN/Email @ BadAss.Sx
Nope, it is just saying: Loading...
hero member
Activity: 690
Merit: 501
legendary
Activity: 1526
Merit: 1002
Bulletproof VPS/VPN/Email @ BadAss.Sx
I think FreeMarket is starting to get some more sellers:

https://freemarketlite.com/

Keeps on loading bro...
hero member
Activity: 690
Merit: 501
I think FreeMarket is starting to get some more sellers:

https://freemarketlite.com/
legendary
Activity: 1176
Merit: 1134
screenshots of v0 GUI: http://imgur.com/a/bljE4#11

Looks great! Good job! Wink I love NXT, though just curious
are there any plans for the future to create a stand-alone client for SuperNET?

We are making a platform with a reference SuperNET GUI using the SuperNET graphics. But it will be really easy to customize it, and we will have both BTCD and NXT variants.

James

P.S. even though I am doing the curve25519 calcs from scratch, I am using the NXT blockchain's public keys to establish contact and signing validation between nodes, so this requires to have at least a somewhat recent NXT blockchain, even though it is not used for a all the SuperNET API functions.
hero member
Activity: 621
Merit: 507
Radix-The Decentralized Finance Protocol
screenshots of v0 GUI: http://imgur.com/a/bljE4#11

Looks great! Good job! Wink I love NXT, though just curious
are there any plans for the future to create a stand-alone client for SuperNET?
legendary
Activity: 1176
Merit: 1134
legendary
Activity: 1526
Merit: 1002
Bulletproof VPS/VPN/Email @ BadAss.Sx
Moolah just took over Mintpal to rip their customers imo. Sick business.
sr. member
Activity: 299
Merit: 250
Havent been trading much recently, I didnt realize mintpal was totally dead. I removed support for them

James

The fact that you didn't even know mintpal was totally defunct shows how hard you are working James.  LOL
legendary
Activity: 1176
Merit: 1134
Havent been trading much recently, I didnt realize mintpal was totally dead. I removed support for them

James
Pages:
Jump to: