Commit Graph
4 Commits
Author SHA1 Message Date
odiinnn 4b7a39d332 Update dependencies and enhance App component functionality
- Added new dependencies: @polkadot/util and @gear-js/api to package.json and example/package.json.
- Implemented a test function in App component to interact with GearApi for balance transfer.
- Updated transaction signing logic to support both raw and payload types.
- Refactored Wallet class to improve socket connection handling and transaction management.
- Enhanced WalletStore by removing unnecessary listener setup code.
2025-11-05 21:36:10 +03:00
odiinnn 13eea0bfad Add transaction signing functionality to App component
- Introduced a new button to sign transactions, allowing users to generate a signature for a predefined raw transaction.
- Updated state management to handle the transaction signature and display it in the UI.
- Enhanced connection logic to ensure the user's address is retrieved before signing.
- Modified the WalletStore to improve transaction status handling during updates.
2025-10-06 09:45:39 +03:00
odiinnn f46a4418c9 Add disconnect functionality to App component
- Introduced a disconnect button that removes the wallet from localStorage and reloads the page when clicked.
- Updated the rendering logic to conditionally display the connect and disconnect buttons based on the connection state.
2025-09-30 18:34:31 +03:00
odiinnn b2d3679f87 Initialize example project with React, TypeScript, and Vite
- Added example directory with a minimal setup for a React application using Vite.
- Included essential configuration files: tsconfig.json, tsconfig.app.json, tsconfig.node.json, and vite.config.ts.
- Implemented basic components and styles in src/ directory, including App.tsx and App.css.
- Created README.md for documentation on project setup and usage.
- Introduced .gitignore and ESLint configuration for better development practices.
2025-09-23 20:36:21 +03:00