Task
Add a configureAnchorAssets function to manage anchor asset configuration.
Details
- Function signature:
configureAnchorAssets(assets: AnchorAsset[]): AnchorConfig
- Map Stellar assets to fiat equivalents
- Configure asset-specific fees and limits
- Store configuration for runtime lookup
- Add AnchorAsset and AnchorConfig interfaces
- Integration point: anchor-service package
Test
Run pnpm --filter @stellar-pay/anchor-service build to verify no TypeScript errors.
Task
Add a
configureAnchorAssetsfunction to manage anchor asset configuration.Details
configureAnchorAssets(assets: AnchorAsset[]): AnchorConfigTest
Run
pnpm --filter @stellar-pay/anchor-service buildto verify no TypeScript errors.