Prerequisites
1. NPM install
2. Setting Up Configuration
Initialize mainnet Aggregator client
. There are two ways to initialize the aggregator client. One is straightforward, using the default mainnet client, while the other supports a high level of customization.
Example
Fast create mainnet aggregator client default.
(Enhance) Customer create aggregator client by your self rpc node.
Notes: Some providers, such as HaedalHMM and Metastable, rely on Pyth oracle prices when build transactions. Currently, we have a default configuration that connects to Pyth's publicly available node. However, if you frequently build transactions, we recommend setting up a private Pyth node interface as an additional backup. This will ensure uninterrupted access to HaedalHMM and Metastable, even if the public node experiences occasional downtime.
Last updated