ARTSNL
  • 👋Introducing ARTSNL
  • Overview
    • 💡Motivation & Meaning
    • ✨Advantages
    • ⚒️Features
  • Fundamentals
    • 🛠️Getting set up
      • 🚦Where to start
      • 🛑Important
  • Key Generation
    • 👩‍🍳DIY Binary
    • 🎲Random Entropy
  • BITCOIN
    • 🟠Public Address
  • ETHEREUM
    • 🔵Public Address
  • GOING FORWARDS
    • 🛣️Roadmap
  • DESIGN
    • 🟣Name/Logo
    • 🎨UI/UX
    • 💻Code
  • DEVS
    • 🔐Security
    • 🐛Known Bugs
    • ⛓️Backend Tooling
Powered by GitBook
On this page
  1. ETHEREUM

Public Address

How to create an ethereum public address

The ethereum network only has 1 type of public address for your ethereum account (wallet).

As with your bitcoin address in your ARTSNL wallet, an ethereum address utilizes the uncompressed version of a public key.

let result = ecc.pointFromScalar(privateKey, false)
let prepareETHpubKey = result.slice(1, 65)
let keccakPubKey = ethers.keccak256(prepareETHpubKey)
let removed_0x = keccakPubKey.slice(2)
let prepareETHpubAdd = Buffer.from(removed_0x, "hex")
let ETHpubAdd = prepareETHpubAdd.slice(-20)
let finalETHpubAdd = "0x" + uint8arraytools.toHex(ETHpubAdd)

PreviousPublic AddressNextRoadmap

Last updated 1 year ago

🔵