Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,8 @@ grant-application/TESTER_GUIDE.md
grant-application/TEAM_UPDATE_EMAIL.md
grant-application/DEMO_VIDEO_SCRIPT.md
grant-application/OUTREACH_MESSAGES_JUL2026.md
# Outreach and call material naming individuals and private reply status — local only, shared with the grant team directly
grant-application/ECOSYSTEM_OUTREACH_SEP2026.md
grant-application/M3_DAO_ACQUISITION_PLAN.md
grant-application/BITFLOW_CALL_SCRIPT.md
grant-application/PITCH_DECK_COMMUNITY_CALL.md
8 changes: 4 additions & 4 deletions frontend/src/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ const MAINNET_TOKENS: readonly TokenConfig[] = [
symbol: "sBTC",
name: "Stacks BTC",
decimals: 8,
contractId: "SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.token-sbtc",
ftName: "sbtc",
contractId: "SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-token",
ftName: "sbtc-token",
icon: "/bitcoin.svg",
description: "Native Bitcoin on Stacks — the flagship streaming token",
},
Expand All @@ -143,7 +143,7 @@ const MAINNET_TOKENS: readonly TokenConfig[] = [
name: "ALEX",
decimals: 8,
contractId: "SP102V8P0F7JX67ARQ77WEA3D3CFB5XW39REDT0AM.token-alex",
ftName: "token-alex",
ftName: "alex",
icon: "/alex.svg",
description: "ALEX DeFi protocol token",
},
Expand Down Expand Up @@ -184,7 +184,7 @@ export const SUPPORTED_TOKENS: readonly TokenConfig[] = IS_MAINNET
export const DEFAULT_TOKEN = SUPPORTED_TOKENS[0];

/**
* Lookup a TokenConfig by its on-chain contract identifier (e.g. "SP3K8...token-sbtc").
* Lookup a TokenConfig by its on-chain contract identifier (e.g. "SM3VDX...sbtc-token").
* Falls back to DEFAULT_TOKEN when not found so callers always get a non-null
* record. Used by transaction builders to derive the ftName for post-conditions.
*/
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/lib/stacks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export async function isRegisteredDao(admin: string): Promise<boolean> {
export function buildCreateStreamTx(params: {
recipient: string;
tokenContract: string;
/** Fungible token asset name inside the contract (e.g. "sbtc", "mock-sbtc", "usda") */
/** Fungible token asset name inside the contract (e.g. "sbtc-token", "mock-sbtc", "usda") */
ftName: string;
depositAmount: bigint;
startBlock: number;
Expand Down Expand Up @@ -380,7 +380,7 @@ export function buildCancelStreamTx(params: {
export function buildTopUpStreamTx(params: {
streamId: number;
tokenContract: string;
/** Fungible token asset name inside the contract (e.g. "sbtc", "mock-sbtc", "usda") */
/** Fungible token asset name inside the contract (e.g. "sbtc-token", "mock-sbtc", "usda") */
ftName: string;
amount: bigint;
senderAddress: string;
Expand Down Expand Up @@ -473,7 +473,7 @@ export async function getCurrentBlockHeight(): Promise<number> {
export async function getTokenBalance(
address: string,
tokenContract: string,
/** Fungible token asset name inside the contract (e.g. "sbtc", "mock-sbtc", "usda") */
/** Fungible token asset name inside the contract (e.g. "sbtc-token", "mock-sbtc", "usda") */
ftName: string
): Promise<bigint> {
if (!address) return 0n;
Expand Down
Loading
Loading