Enterprise Addresses
Payment-only addresses without staking capability
Enterprise Addresses
Enterprise addresses contain only a payment credential, with no staking component.
Structure
Enterprise Address = Payment Credential OnlyPayment Credential: Controls who can spend UTXOs at this address
No Staking: Cannot delegate stake or earn staking rewards
Construction
Create enterprise addresses by instantiating the EnterpriseAddress class:
import { } from "@evolution-sdk/evolution";
const = new ..({
: 1, // mainnet
: new ..({
: new (28)
})
});
// Convert to Bech32 string
const = ..();
.(); // "addr1..."Parsing Addresses
Parse a Bech32 address string into an EnterpriseAddress instance:
import { } from "@evolution-sdk/evolution";
const = "addr1vx2kd28nq8ac5prwg32hhvudlwggpgfp8utlyqxu6wqgz6cevnrgl";
const = ..() as ..;
.("Network ID:", .);
.("Payment:", .);Script-Based Example
Enterprise addresses can use script hashes as payment credentials:
import { } from "@evolution-sdk/evolution";
// Script address example
const = new ..({
: 1, // mainnet
: new ..({
: new (28) // 28-byte script hash
})
});
// Convert to Bech32 string
const = ..();
.("Script enterprise address:", );Format Details
Bech32 Prefix: addr (mainnet) or addr_test (testnet)
Length: 29 bytes raw / ~59 characters Bech32
Header Bits: 0110xxxx (enterprise address type)
Size Advantage: Half the size of base addresses (29 vs 57 bytes)
Comparison with Base Addresses
| Feature | Enterprise | Base |
|---|---|---|
| Payment credential | • Yes | • Yes |
| Staking credential | ✗ No | • Yes |
| Can receive funds | • Yes | • Yes |
| Can delegate stake | ✗ No | • Yes |
| Earns staking rewards | ✗ No | • Yes |
| Size | 29 bytes | 57 bytes |
| Use case | Exchanges, scripts | User wallets |
Characteristics
Smaller Size: 29 bytes compared to 57 bytes for base addresses.
Single Credential: Only payment credential required - no stake key management.
No Staking: Cannot delegate stake or earn staking rewards.
Related
- Base Addresses - Addresses with both payment and staking credentials
- Reward Addresses - Staking credential only