Closed fadeev closed 2 months ago
The recent modifications mark a significant rebranding from @fadeev/swap
to @zetachain/universalkit
, resetting the version to "1.0.0". Key new features include the addition of the StakingRewards
component, which facilitates user interaction with staking rewards on the blockchain. The updates also enhance dependency management and overall functionality within the application.
Files | Change Summary |
---|---|
package.json , readme.md |
Updated package name to @zetachain/universalkit , set version to "1.0.0", added new dependencies, and updated README references. |
src/app/page.tsx , src/index.ts |
Replaced Balances with StakingRewards in the page component; exported StakingRewards from the index file. |
src/components/Profile/index.tsx , src/components/Swap/index.tsx , src/components/Swap/hooks/*.ts |
Changed import paths from relative to absolute; removed local address formatting function in Profile . |
src/components/StakingRewards/index.tsx |
Added a new StakingRewards component for managing and claiming staking rewards, complete with state management and API integration. |
src/hooks/useSendCosmosTx.ts , src/hooks/useZetaChainClient.ts |
Introduced a hook for sending transactions on the Cosmos blockchain; adjusted TypeScript handling during client initialization. |
src/lib/utils.ts |
Implemented new utility functions: roundNumber for number formatting and formatAddress for address display. |
.github/workflows/build.yml |
Created a new GitHub Actions workflow for automated builds triggered by pull requests to the main branch. |
In the garden of code, a new name blooms,
Fromswap
touniversalkit
, excitement looms.
With rewards to stake and journeys to embark,
We'll hop through the chain, leaving our mark.
In this bright realm where possibilities gleam,
Together we code, together we dream! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@coderabbitai review
Summary by CodeRabbit
New Features
StakingRewards
component to allow users to view and claim staking rewards.Documentation
@zeta-chain/universalkit
in the README for a Next.js app setup.Chores
@fadeev/swap
to@zeta-chain/universalkit
and reset the version to1.0.0
inpackage.json
.package.json
for improved functionality and performance.