Skip to content

Commit

Permalink
Add CNY
Browse files Browse the repository at this point in the history
  • Loading branch information
nop33 committed Feb 25, 2025
1 parent 636bb12 commit 864e271
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/curvy-colts-approve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@alephium/mobile-wallet": patch
---

Add CNY
5 changes: 5 additions & 0 deletions .changeset/three-carrots-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"alephium-desktop-wallet": patch
---

Add CNY
5 changes: 5 additions & 0 deletions packages/shared/src/currencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,10 @@ export const CURRENCIES: Record<Currency, CurrencyData> = {
name: 'Hong Kong Dollar',
ticker: 'HKD',
symbol: 'HK$'
},
CNY: {
name: 'Chinese Yuan',
ticker: 'CNY',
symbol: '¥'
}
}
15 changes: 14 additions & 1 deletion packages/shared/src/types/currencies.ts
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
export type Currency = 'CHF' | 'IDR' | 'GBP' | 'EUR' | 'USD' | 'VND' | 'RUB' | 'TRY' | 'CAD' | 'AUD' | 'THB' | 'HKD'
export type Currency =
| 'CHF'
| 'IDR'
| 'GBP'
| 'EUR'
| 'USD'
| 'VND'
| 'RUB'
| 'TRY'
| 'CAD'
| 'AUD'
| 'THB'
| 'HKD'
| 'CNY'

0 comments on commit 864e271

Please sign in to comment.