Evolution SDK
Assets

Assets

Working with native assets on Cardano

Assets

Cardano supports native multi-asset transactions — send ADA and custom tokens in the same output. The Assets module provides utilities for creating, merging, and manipulating asset bundles.

Creating Assets

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

// ADA only (1 ADA = 1,000,000 lovelace)
const  = .(5_000_000n)

// ADA + native tokens
let  = .(2_000_000n)
 = .(
  ,
  "7edb7a2d9fbc4d2a68e4c9e9d3d7a5c8f2d1e9f8a7b6c5d4e3f2a1b0c9d8e7f6", // policy ID
  "",    // asset name (empty for fungible tokens)
  100n   // quantity
)

Merging Assets

Combine multiple asset bundles:

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

const  = .(5_000_000n)
const  = .(3_000_000n)
const  = .(, ) // 8 ADA total

Next Steps