IOTA tutorial 19: Masked Authenticated Messaging

  Рет қаралды 8,050

Mobilefish.com

Mobilefish.com

Күн бұрын

Пікірлер: 56
@ydx6152
@ydx6152 6 жыл бұрын
Very nice channel KZbin!! keep your work!! :) Thanks again
@SS-605
@SS-605 6 жыл бұрын
Hi, Professor I have a question. At 27:53 you mentioned that "the address is not calculated the same way as calculating the address for a normal transaction". So how it will be calculated? Because I confuse it with 19:51 where you have discussed Root and Next_Root fields and refer to the address computation you mentioned in IOTA tutorial 17 Cacluate Address Review part.
@BenRoyce
@BenRoyce 6 жыл бұрын
excellent as usual. the best youtube videos to learn IOTA
@youtubeuno7779
@youtubeuno7779 6 жыл бұрын
Amazing job. Thanks for sharing. Keep it up the excelent work!
@KumarAnirudha
@KumarAnirudha 6 жыл бұрын
Great job! Very nicely explained! :)
@JoshisShorts
@JoshisShorts 6 жыл бұрын
Great video. Thank you mobilefish :)
@tfmc6326
@tfmc6326 6 жыл бұрын
Love your work! Can you please make a simple to understand video on how to setup a fullnode in iota??
@Mobilefish
@Mobilefish 6 жыл бұрын
At this moment I am not planning to make such videos. Maybe in the future...
@trading_for_living888
@trading_for_living888 6 жыл бұрын
iota-bindings-emscripten.wasm is longer at the location you specified(time 6:25), so is there a structural change? or?
@Mobilefish
@Mobilefish 6 жыл бұрын
The library mam.client.js has changed! Unfortunately my KZbin still refers to the old library. I cannot update my KZbin video each time changes are made in the library. But I will update my tools. The file: www.mobilefish.com/services/cryptocurrency/mam.html is updated (see the source code, and read the installation instructions).
@Mobilefish
@Mobilefish 6 жыл бұрын
No need to refer iota-bindings-emscripten.wasm
@trading_for_living888
@trading_for_living888 6 жыл бұрын
no problem. it seems that they use webpack to enclose the wasm file from elsewhere
@Wellisilvano
@Wellisilvano 4 жыл бұрын
How can I generate an MHT with multiple nodes? A big message? what size of data for each leaf?
@danielecarlacci533
@danielecarlacci533 6 жыл бұрын
Thank's for your job. A question: if a snapshot deletes all MAM messages, and these will be kept only by the few permanodes, what is the difference compared to the central ledger? Because a company should find it convenient to use MAM to keep a message, rather than storing it on a personal server?
@Mobilefish
@Mobilefish 6 жыл бұрын
There is no such thing as a "central ledger"? After a snapshot: - all nodes only contains addresses containing values (=IOTAS), all other data are pruned. - all permanodes contains addresses containing values + address containing data (=messages)
@SS-605
@SS-605 6 жыл бұрын
Sir can you please tell me what is the difference between sidekey and ChannelKey. Isn't it the same?
@mohdmajidakhtar2122
@mohdmajidakhtar2122 4 жыл бұрын
Sir data reciever is not working anymore on any endpoints. Can you tell me why?
@SS-605
@SS-605 5 жыл бұрын
Hi Professor Can you please share your comments about MAM2? Can you please make some videos about it?
@Mobilefish
@Mobilefish 5 жыл бұрын
At this moment I am working on LoRa/LoRaWAN tutorials. But I am planning to make IOTA tutorials again. Unfortunately I can not say when I will begin again and what topics I will cover.
@SS-605
@SS-605 5 жыл бұрын
@@Mobilefish Thank you professor, I am really waiting for your tutorials especially if you also show some experimentation with Raspberry PI 3. Also I want to say can you please make some videos on post quantum hash based digital signatures? Thank you for all your videos.
@trading_for_living888
@trading_for_living888 6 жыл бұрын
unfortunately, I do not how to read Rust for now. Am I right to say that MAM module is actually made up of a lot of bundles and what MAN does it just to link them together and at the same time support pub/sub functionality?
@Mobilefish
@Mobilefish 6 жыл бұрын
When they updated the library I have not checked how the MAM module is now build. So I can not answer the question.
@longfield8978
@longfield8978 6 жыл бұрын
Hi Robert, thanks for video. And question again, how receiver (or subscriber to the channel with chan. Id=ABC for example in your demo) to pay iota for receiving data from tangle ?
@Mobilefish
@Mobilefish 6 жыл бұрын
The IOTA data market uses MAM. At this moment the IOTA data market is not made public yet (data.iota.org/). To answer your question: I do not know. I am also waiting for more information.
@longfield8978
@longfield8978 6 жыл бұрын
Mobilefish.com thanks for answering
@zengbinsun4580
@zengbinsun4580 6 жыл бұрын
Pretty clear, thank you.
@WissenUnterwegs
@WissenUnterwegs 6 жыл бұрын
I can't seem to find the API calls you show at 7:48 in the MAM docs
@Mobilefish
@Mobilefish 6 жыл бұрын
Not all MAM API's are documented. Investigate the code.
@WissenUnterwegs
@WissenUnterwegs 6 жыл бұрын
Ah ok thank you for your answer! :)
@jonathanwang1356
@jonathanwang1356 6 жыл бұрын
Question: if I publish a series of MAM(say 1-100 in sequence). is it possible that certain messages that published first( say 20-35) are not confirmed but later messages (say 36-45) are confirmed prior to those published first? Any rule on the sequencing? Thank you
@spacemonk4874
@spacemonk4874 6 жыл бұрын
The transactions do not need to be confirmed.
@Orientalsausage
@Orientalsausage 6 жыл бұрын
Wow. Great vid. Thanks.
@trading_for_living888
@trading_for_living888 6 жыл бұрын
sometimes at the receiving end, it is kind of lagging or not showing up. Is it because of only the confirmed transaction can be received?
@Mobilefish
@Mobilefish 6 жыл бұрын
Use the Chrome browser and open the console logging. Check if you see errors. It is possible that the default endpoint field.carriota.com might cause this problem. This endpoint is a load balancer which means behind this balancer are multiple nodes and some of these nodes don’t support some apis. Try instead this endpoint nodes.testnet.iota.org:443.
@Mobilefish
@Mobilefish 6 жыл бұрын
And no it has nothing to do with confirmed tx.
@trading_for_living888
@trading_for_living888 6 жыл бұрын
Data publishing is 15sec(most frequent option), is there anyway to boost up the frequency to like 1 sec?
@Mobilefish
@Mobilefish 6 жыл бұрын
It does not make sense to change it to 1 sec. Please note each time you publish data to the Tangle PoW must be done, 1 sec is NOT enough. That is why I have set the default to 15 sec. If you install the tool locally, you can easily change the code.
@rahulshewani8323
@rahulshewani8323 4 жыл бұрын
@@Mobilefish Hey professor,what if I need a continous stream of data ,say transmitting location of a robot to other robots,what is the maximum frequency at which I could publish that data without disrupting the POW?(Say 15secs would be a huge delay for the purpose)
@Flippy1565
@Flippy1565 6 жыл бұрын
at the half of the video i quit - this is for a normal guy to massive :D but thank you for sharing this... i know... smarter people than me will like it but i know how a sponge- construction work^^
@hdsmsmart
@hdsmsmart 6 жыл бұрын
how secure and private that MAM can provide for the user ? could it secured and privated like Monero ? Could transaction on iota could be track down identity with this ?
@Mobilefish
@Mobilefish 6 жыл бұрын
The purpose of MAM is to create a masked message data stream, for example a stream of sensor data. There is NO value transferred meaning there are NO IOTA's transferred. If your question is: Can my identity be tracked down if I create a message stream using MAM, the answer is no. But only the person who is using your message stream will "know" your identity because it needs the root (and side_key if you use the restricted mode)
@hdsmsmart
@hdsmsmart 6 жыл бұрын
Thanks you, I have one more question, does message data stream strengthen the IOTA network like transactions do ?
@Mobilefish
@Mobilefish 6 жыл бұрын
Yes. For each sensor data send, you must validate two transactions.
@Mobilefish
@Mobilefish 6 жыл бұрын
Just like a normal transaction...
@Mobilefish
@Mobilefish 6 жыл бұрын
Henrik, I have not done any research on that front, so I can not give you an answer. But you have given me some ideas for future video topics. Sniffing data packets using Wireshark...
@j.w.7664
@j.w.7664 6 жыл бұрын
Perfect video, thx
@trading_for_living888
@trading_for_living888 6 жыл бұрын
for "IOTA Masked Authenticated Messaging Demo", you state " DO NOT USE THIS TOOL IN PRODUCTION. YOU WILL LOSE YOUR IOTAS". What if I don't have any IOTA in my wallet, this MAN thing can till work right? so there is no worry to lose IOTA, am i correct. What if i want to build something for production, then what should i do to take care of security reason?
@Mobilefish
@Mobilefish 6 жыл бұрын
You do not need IOTAs to work with MAM. BUT YOU NEED TO ENTER A SEED! DO NOT USE A SEED WHICH YOU ALSO USE IN PRODUCTION! I highly recommended to copy this tool on your local webserver (follow the installation instructions mentioned in the code) Make sure when you enter the seed, it can not be "catched" by keyloggers etc, etc... PLEASE NOTE: THIS TOOL IS CREATED FOR EDUCATIONAL PURPOSE! YOU MUST INVESTIGATE THE CODE, LEARN FROM IT AND BUILD A BETTER ONE WHICH SUPPORTS YOUR NEEDS AND SECURITY REQUIREMENTS.
@trading_for_living888
@trading_for_living888 6 жыл бұрын
no problem, just to double-check. I found that you updated your website accordingly.
@trading_for_living888
@trading_for_living888 6 жыл бұрын
The yellow MAM test page produce the following error after i started publishing. mam.web.js:40742 failed to attach message: Error: Invalid Response: at Object.invalidResponse (iota.min.js:1) at i.prepareResult (iota.min.js:1) at XMLHttpRequest.n.onreadystatechange (iota.min.js:1) attach @ mam.web.js:40742 async function (async) attach @ mam.web.js:40745 publish @ mam.html:523 executeDataPublishing @ mam.html:536 setInterval (async) generate @ mam.html:543 onclick @ mam.html:189
@Mobilefish
@Mobilefish 6 жыл бұрын
Yes, you are correct! If you use the field.carriota.com/ endpoint you MAY get this error. CarIOTA field (field.carriota.com) is a loadbalancer. There are several nodes behind the loadbalancer which does the "actual work", some of these nodes does not allow command "attachToTangle" to be executed on their node. That is the error you see. As an alternative use testnet: nodes.testnet.iota.org:443 (its on the list you can choose from) You will not get these errors anymore.
@trading_for_living888
@trading_for_living888 6 жыл бұрын
cool
@mohdmajidakhtar2122
@mohdmajidakhtar2122 4 жыл бұрын
I am getting same error.. How can I resolve it? Which endpoint should I work.. Also iota.dance is not running anymore. How can I know the endpoints.?
@simonbachmann2120
@simonbachmann2120 5 жыл бұрын
Imagine you have a drone which runs on battery. How IOTA is such a good option for battery powered IOT devices if they have to perform a small amount of proof of work for every transaction? I'd rather pay a small amount of money but have longer battery life.
@kenshamir2113
@kenshamir2113 6 жыл бұрын
Great content. My channel also focusses on crypto technology and reviews.
IOTA tutorial 20: Masked Authenticated Messaging Payload
13:56
Mobilefish.com
Рет қаралды 2 М.
IOTA tutorial 7: Proof of Work, Curl and Nonce
15:09
Mobilefish.com
Рет қаралды 8 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
IOTA - 100 Billion Reasons Why
28:11
The bIOTAsphere
Рет қаралды 80 М.
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,8 МЛН
How might LLMs store facts | DL7
22:43
3Blue1Brown
Рет қаралды 954 М.
IOTA, Distributed Ledger Technology, in Protecting our Rainforests
2:41
Why Can't We Make Simple Software? - Peter van Hardenberg
41:34
Handmade Cities
Рет қаралды 186 М.
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 215 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН