IOTA tutorial 2: Trit and Tryte

Поделиться
HTML-код
  • Опубликовано: 2 ноя 2024

Комментарии • 29

  • @Mobilefish
    @Mobilefish  7 лет назад +9

    The tryte alphabet contains an error. Tryte value: 0, -1, 0 is assigned character X and NOT Z.

  • @commentor93
    @commentor93 3 года назад

    Thank you for adressing such an important topic in such a great and easily accessible way.
    I only have one question: Why do you compare the complexity of an IOTA seed with the complexity of a Bitcoin Random Number? How are those two comparable in their relevance or role?

    • @Mobilefish
      @Mobilefish  3 года назад

      I just want to show that an IOTA seed has much more combinations compared to a Bitcoin seed. Just as a fun fact.

  •  7 лет назад +3

    What was main reason to use iota alphabet? Two safe bytes? 2 digit decimal numbers will use only one byte instead of two...

  • @SS-605
    @SS-605 5 лет назад

    Hi, sir, I want to ask why IOTA is using Balance Trinary Balance System? Why not bits and bytes? I have tried to find out at some blogs and I find that most of the IoT devices are using the trinary system which is more energy efficient as compared to the binary system so that's why IOTA is using it.

  • @dextrian
    @dextrian 7 лет назад

    thank God someone explain that finally !!! thank you sir!!!

  • @esonika
    @esonika 7 лет назад +1

    This was very enlightening thank you

  • @BenRoyce
    @BenRoyce 6 лет назад +1

    excellent, excellent intro

  • @ragdan8814
    @ragdan8814 7 лет назад +4

    Awesome series, keep it on! Could you add a IOTA donation address to the description?

  • @StillUp2Date
    @StillUp2Date 7 лет назад

    Thank you for the video. Good explanation.

  • @MarkS-kl1ee
    @MarkS-kl1ee 7 лет назад +1

    Helped a lot. Thanks!

  • @Mobilefish
    @Mobilefish  6 лет назад +1

    Converting ASCII to Tryte is done differently on IOTA.
    How it is actually done, see:
    github.com/iotaledger/iota.lib.js/blob/master/lib/utils/asciiToTrytes.js
    Example 1: Convert 'a' to trytes.
    1. 'a' has a decimal value of 97.
    2. 97 can be represented as 16 + 3 * 27. To make it simpler:
    a. First value: 97 modulo 27 is 16. This is now our first value
    b. Second value: (97 - 16) / 27 is 3. This is our second value.
    3. Our two values are now 16 and 3. To get the tryte value now we simply
    insert it as indices into '9ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    a. The first tryte value is '9ABCDEFGHIJKLMNOPQRSTUVWXYZ'[16] === "P"
    b. The second tryte value is '9ABCDEFGHIJKLMNOPQRSTUVWXYZ'[3] === "C"
    Letter "a" => Tryte: "PC"
    Example 2: Convert 'IOTA' to trytes.
    IOTA = (ASCII) 73,79,84,65
    ASCII number 27
    73%27 = 19
    73-19 / 27 = 2
    The first tryte value is '9ABCDEFGHIJKLMNOPQRSTUVWXYZ'[19] === "S"
    The second tryte value is '9ABCDEFGHIJKLMNOPQRSTUVWXYZ'[2] === "B"
    ASCII number 79
    79%27 = 25
    79-25 / 27 = 2
    The first tryte value is '9ABCDEFGHIJKLMNOPQRSTUVWXYZ'[25] === "Y"
    The second tryte value is '9ABCDEFGHIJKLMNOPQRSTUVWXYZ'[2] === "B"
    ASCII number 84
    84%27 = 3
    84-3 / 27 = 3
    The first tryte value is '9ABCDEFGHIJKLMNOPQRSTUVWXYZ'[3] === "C"
    The second tryte value is '9ABCDEFGHIJKLMNOPQRSTUVWXYZ'[3] === "C"
    ASCII number 65
    65%27 = 11
    65-11 / 27 = 2
    The first tryte value is '9ABCDEFGHIJKLMNOPQRSTUVWXYZ'[11] === "K"
    The second tryte value is '9ABCDEFGHIJKLMNOPQRSTUVWXYZ'[2] === "B"
    Text "IOTA" => Trytes: SBYBCCKB

  • @tabris20
    @tabris20 6 лет назад

    First of all, thanks for sharing your knowledge about IOTA. I'm writing a bachelor thesis about it and i can't figure why character "I" which is 73 in ASCII code, converted to trytes is "SB". But converting "SB" in decimal it gives 46 as decimal value. With your example (Zoo) all is working well and in general it works from ASCII code 81 and below. Thanks in advance and sorry if there was English mistake.

    • @Mobilefish
      @Mobilefish  6 лет назад

      I have already discussed this.
      See my previous comment below: "Converting ASCII to Tryte is done differently on IOTA."

    • @tabris20
      @tabris20 6 лет назад

      Thank you.

  • @JohnDoe-vr7qt
    @JohnDoe-vr7qt 6 лет назад

    Awesome thanks so much for this!!!!999999999999

  • @HamguyBacon
    @HamguyBacon 2 года назад

    Ternary uses septemvigesimal system base 27 opposed to Binary's Hexadecimal base 16.

  • @hgfuhgvg
    @hgfuhgvg 5 лет назад +1

    Why not (0, 1, i) instead of (0, 1, -1)?

  • @xWe2s
    @xWe2s 6 лет назад

    Hm... Isn't 90 equals to 0,0,1 0,0,0? Cuz it is shown (0,0,1 0,1,0) that it equals to IC of their alphabet which means 93 not 90 :D
    But yea great videos! :)

    • @Mobilefish
      @Mobilefish  6 лет назад

      90 converted to trits is 0,0,1, 0,1,0
      Calculation:
      (0x3^0) + (0x3^1) + (1x3^2) + (0x3^3) + (1x3^4) + (0x3^5) =
      (0) + (0) + (9) + (0) + (81) + (0) = 90
      Use this calculator:
      laurencetennant.com/iota-tools/

  • @vitaliyx8664
    @vitaliyx8664 6 лет назад

    I noticed that first tryte in the seed is not effective. You can change it without access lose of addresses. I mean that seed AA...9 equal to BAAA..9 equal to CAAA...9.

    • @Mobilefish
      @Mobilefish  6 лет назад

      If you change the first tryte of your seed, you will generate different addresses.
      Watch IOTA tutorial 9: Address and checksum
      ruclips.net/video/YdYjJA-NFcE/видео.html

    • @vitaliyx8664
      @vitaliyx8664 6 лет назад

      Just try AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9
      BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9
      CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9

    • @Mobilefish
      @Mobilefish  6 лет назад

      Seed must be 81 characters long!
      This is my result. I have explained this behaviour in IOTA tutorial 9.
      AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9
      0 - KWHC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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9
      0 - BOPIWPAYMRMZIDKVFMGYMXHUSO9EEXWKLDRIX9QFHWXF9ZNTGGAISLQHATKOYPZGOZNGIYVBOTDUKQEYADGQNEYVCX
      1 - ARBPH9JLYBMPIKHUCDWHCBHMYYJAGTBHEDTNTUHMGBIH9CREEDSVMGXTOMGNQUT9QXNRZPAMGXPYOOHZBPWVQDDWTX
      2 - 9GCSXCGQJVOEUDZS9SQJHVMKIGQWDGLKORIMFHCXIZSUPMYCBBRMXLZBLHPFUQYZCADDPVKVB9ZIZEB9ZWWJQPDLBC
      3 - WCLBKUUVPREZCMUSCELRFDBXJCMPZTPWFUL9CEKZFMGWE9KYWBBKKAVMMBGFTJBGXEQMUABOZUECUJJDWCYQIIKVA9
      4 - ZDLPPAFZZPNEEVTXVDEZXIQLYV9XHBBFLEIOXDNLJSKHKKAGHZVJIPHHAZDRJTVHOHTNJFBNFLSAVMMRDZMTNDDTPZ

  • @test1729
    @test1729 6 лет назад

    Wow, it seems like IOTA would be used for IoT items and not transactions. From my understanding, the banking system is inserting themselves into the Blockchain by using the "Lightning Network". Also, the miners would be out of a job. If these guys can get this running before BTC has a chance to get a firm foothold, maybe it can be used for micro transactions.

  • @spacepathfinder1
    @spacepathfinder1 7 лет назад +3

    damn how stupid I am.. I dont understand a thing here

    • @Mobilefish
      @Mobilefish  7 лет назад +2

      Welcome to the blockchain world! But don’t feel stupid. To gain knowledge you do it step by step.

    • @fv5033
      @fv5033 6 лет назад

      It's simple math, tell me which part you didn't understand maybe i can help

    • @Edzhjus
      @Edzhjus 3 года назад

      "Power of Less"? 😐