A Massive Refactor + React Support
Big news: ChainGate just got its biggest upgrade yet.
Version 0.6.0 delivers a full internal restructuring, setting the foundation for the upcoming 1.0 release — along with a cleaner API, improved performance, and initial support for React apps.
What's new in 0.6.0
🔧 Total codebase refactor
The internal architecture of ChainGate has been completely restructured. This enables better modularity, clearer logic, and smoother upgrades going forward — all in preparation for the upcoming 1.0 stable release.
🚫 No more client dependency
The chaingate framework no longer depends on the separate ChainGate client. Everything is now managed internally. To initialize utility methods, simply use:
const { utils } = await initializeUtils({ apiKey })
No need to manually configure clients anymore.
🪲 Bug fixes galore
Many long-standing bugs have been addressed. You should notice increased stability and fewer edge-case issues.
🔄 API changes: .amount and .amountFiat
Amount helpers have moved to a new, more consistent location:
currency.utils.amount('0.05')
currency.utils.amountFiat('100', 'eur')
This replaces the older currency.amount(...) pattern. All amount-related logic is now accessed via .utils.
⚛️ Initial React support
The new release includes first-class support for React:
useWallet()— manage and access wallet context in your appuseUtils()— access currency utility methods across components
More React hooks are on the way!
Upgrade to 0.6.0 now and get ready for what’s coming next. The path to 1.0 starts here.