Skip to content

Commit

Permalink
Merge pull request #159 from UniqueNetwork/learn-review
Browse files Browse the repository at this point in the history
fix build
  • Loading branch information
Maksandre authored Jul 17, 2024
2 parents a7ca16b + f93d7ce commit 5c260cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 37 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/deploy-to-develop.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/deploy-to-prod.yml

This file was deleted.

6 changes: 3 additions & 3 deletions docs/about/tech-concepts/addresses/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Address.substrate.decode('yGJMj5z32dpBUigGVFgatC382Ti3FNVSKyfgi87UF7f786MJL')

The result is the following. Please note that both calls give the same result since we receive a public key, which is the same in both addresses; they are equal, just presented in different formats (Unique and Quartz).

![public key](../images/array-address.png)
![public key](../../images/array-address.png)

Now, let's use another decoder that will provide not only a public key as a result.

Expand All @@ -56,9 +56,9 @@ array will be 42). This depends on how many bites are needed to store a prefix v
Checksum is calculated using both prefix and public key. Thus, these values depend
on the chain prefix, as well.

![full address](../images/array-full.png)
![full address](../../images/array-full.png)

![prefix 42](../images/prefix42.png)
![prefix 42](../../images/prefix42.png)

The reverse operation will show that the encoding and decoding work in both directions.

Expand Down

0 comments on commit 5c260cb

Please sign in to comment.