|
@@ -1,8 +1,4 @@
|
|
|
-/// We build a programmable transaction to look up a PriceInfoObject ID
|
|
|
|
|
-/// from a price feed ID, update the price feed, and finally fetch
|
|
|
|
|
-/// the updated price.
|
|
|
|
|
-///
|
|
|
|
|
-/// https://pyth.network/developers/price-feed-ids#pyth-evm-testnet
|
|
|
|
|
|
|
+/// Build a programmable txn for updating multiple price feeds.
|
|
|
import dotenv from "dotenv";
|
|
import dotenv from "dotenv";
|
|
|
import { PriceServiceConnection } from "@pythnetwork/price-service-client";
|
|
import { PriceServiceConnection } from "@pythnetwork/price-service-client";
|
|
|
import fs from "fs";
|
|
import fs from "fs";
|