![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@xlabs-libs/wallet-aggregator-core
Advanced tools
Basic Wallet abstractions to interact with blockchains.
Basic Wallet abstractions to interact with blockchains.
In order to implement a wallet for a given chain through the sdk, simply import the Wallet
class and extend from it. The abstraction defines a set of generic arguments to define the types the methods it will expect and interact with (e.g. a transaction request type, a message to sign, the result of submitting a tx to network, etc).
The Wallet
class implements the EventEmitter
interface, letting the client subscribe to the following events:
Event | Description |
---|---|
connect | Signals the wallet has succesfully connected |
disconnect | Signals the wallet has succesfully disconnected |
networkChanged | Signals whether a change in the network was detected. Useful for working with EVM wallets. |
New events can be added by extending the WalletEvents
class.
Example:
import { Wallet, WalletEvents } from "@xlabs/wallet-aggregator-core";
// define types
type MyUnsignedTransactionType = // ...
// ...
interface MyEventsType extends WalletEvents {
// ...
}
class MyBlockchainWallet extends Wallet<
MyUnsignedTransactionType,
MySignedTransactionType,
MySignedTransactionType,
MySubmitTransactionResultType,
MyNetworkInfoType,
MyMessageType,
MyMessageResultType,
MyEventsType
> {
// code...
}
The blockchain IDs follow those of Wormhole. A constants file is provided with said chain ids.
Refer to the Wormhole documentation if you wish to know more about the project.
FAQs
Basic Wallet abstractions to interact with blockchains.
The npm package @xlabs-libs/wallet-aggregator-core receives a total of 1,412 weekly downloads. As such, @xlabs-libs/wallet-aggregator-core popularity was classified as popular.
We found that @xlabs-libs/wallet-aggregator-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.