Evolution SDK
Addresses

Address Construction

Build Cardano addresses from credentials and keys

Address Construction

Cardano addresses are derived from credentials (key hashes or script hashes). Evolution SDK provides utilities for parsing, converting, and working with all address types.

Parse from Bech32

The most common way to work with addresses:

import {  } from "@evolution-sdk/evolution"

const  = .("addr_test1vrm9x2dgvdau8vckj4duc89m638t8djmluqw5pdrFollw8qd9k63")

Parse from Hex

import {  } from "@evolution-sdk/evolution"

// Address hex: 58 chars (29 bytes, enterprise) or 114 chars (57 bytes, base)
const  = .(
  "01abc123def456abc123def456abc123def456abc123def456abc123deabc123def456abc123def456abc123def456abc123def456abc123de"
)

Convert Between Formats

import {  } from "@evolution-sdk/evolution"

const  = .("addr_test1vrm9x2dgvdau8vckj4duc89m638t8djmluqw5pdrFollw8qd9k63")

// To hex
const  = .()

// To bytes
const  = .()

// To bech32
const  = .()

Getting Your Wallet Address

import { ,  } from "@evolution-sdk/evolution"

const  = .()
  .({ : ..!, : 0 })

const  = await .()

Next Steps

On this page