
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
@xchainjs/xchain-aggregator
Advanced tools
Protocol aggregator to make actions in different protocols
The Aggregator package has been developed to facilitate interaction with multiple decentralised protocols. It provides a unified interface for developers, with the objective of offering end users the best of each protocol in the most straightforward manner.
The current supported protocols are:
yarn add @xchainjs/xchain-aggregator
or
npm install @xchainjs/xchain-aggregator
Aggregator can be easily initialise providing the Wallet with the XChainJs Clients you are working with. If no protocol is provided, the Aggregator will work with all the supported protocols.
import { Aggregator } from '@xchainjs/xchain-aggregator';
const aggregator = new Aggregator({
wallet: new Wallet({
// Your XChainJS clients
}),
protocols: [
// The protocols you want to work with
],
affiliate: {
// Affiliate config
}
})
You can find examples using the Aggregator package in the aggregator examples folder.
More information about how to use the Aggregator package can be found on documentation
FAQs
Protocol aggregator to make actions in different protocols
The npm package @xchainjs/xchain-aggregator receives a total of 131 weekly downloads. As such, @xchainjs/xchain-aggregator popularity was classified as not popular.
We found that @xchainjs/xchain-aggregator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 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
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.