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 strings are typically 29 or 57 bytes
declare const : string
const  = .()

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  = ({
  : "preprod",
  : { : "seed", : ..!, : 0 }
})

const  = await .()

Next Steps