Skip to content

Commit

Permalink
New translations address.mdx (Chinese Traditional)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaia-docs committed Jan 22, 2025
1 parent e085a69 commit ff146d5
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
def main():
private_key=Account.from_key("0x0e4ca6d38096ad99324de0dde108587e5d7c600165ae4cd6c2462c597458c2b8")
print("Public key from private key",address_from_private_key(private_key))
print("Compress key from private key"compressed_key(private_key))
print("Compress key from private key",compressed_key(private_key))

x = "0xdc9dccbd788c00fa98f7f4082f2f714e799bc0c29d63f04d48b54fe6250453cd"
y = "0xaf06ca34ae8714cf3dae06bacdb78c7c2d4054bd38961d40853cd5f15955da79"
print("Compress public key from xy", compressed_key_from_xy(x, y))
print("Compress public key from x,y", compressed_key_from_xy(x, y))
print("Compress public key and address from x,y", compressed_key_and_address_from_xy(x, y))

main()
Expand All @@ -31,6 +31,7 @@
Compress key from private key 0x03dc9dccbd788c00fa98f7f4082f2f714e799bc0c29d63f04d48b54fe6250453cd
Compress key from x,y 03dc9dccbd788c00fa98f7f4082f2f714e799bc0c29d63f04d48b54fe6250453cd
Compress key and address from x,y ('0x03dc9dccbd788c00fa98f7f4082f2f714e799bc0c29d63f04d48b54fe6250453cd', '0xA2a8854b1802D8Cd5De631E690817c253d6a9153')

```
</CH.Code>

Expand Down

0 comments on commit ff146d5

Please sign in to comment.