Skip to content

Conversation

@jeremyletang
Copy link

@jeremyletang jeremyletang commented Jan 5, 2026

Summary

This PR adds the supports for the IOTA network to the pyth price pusher. The implementation is pretty a 1 to 1 copy of the SUI implementation, with the imports replaced to use the proper iota-sdk imports, and all sui related naming renamed to iota.

There's also configuration for both iota mainnet and testnet provided in the price_pusher folder (like for other network supported).

Rationale

These changes are not necessary per se, but I thought they could be useful to others as well eventually.

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

I have run price pusher using the provided configuration on the iota testnet, you can see the wallet which have been used here: https://iotascan.com/testnet/account/0xb5c3426d44553fa21384ee4d545fa6ea899229b3936b0b27acc9ffd458adcadd, and the related transactions (the wallet have been used only to push prices on iota).

We are also currently working on deploying it as part of a project I'm working on, to push prices on iota testnet, and later iota mainnet.

Signed-off-by: Jeremy Letang <me@jeremyletang.com>
@jeremyletang jeremyletang requested a review from a team as a code owner January 5, 2026 06:01
@vercel
Copy link

vercel bot commented Jan 5, 2026

@jeremyletang is attempting to deploy a commit to the Pyth Network Team on Vercel.

A member of the Team first needs to authorize it.

@jeremyletang jeremyletang changed the title feat: add price pusher implementation for IOTA Add IOTA support to the pyth price pusher Jan 5, 2026
@daniel1302
Copy link

daniel1302 commented Jan 6, 2026

I tested it with the following command. Would be nice to merge it:

➜  pyth-crosschain-jeremy git:(feature/add-iota-support-to-price-pusher) docker build --build-arg package="@pythnetwork/price-pusher" -f Dockerfile.node -t pyth-jeremy:latest . 
docker run --rm \
  --entrypoint=npm \
  --workdir /srv \
  -v /home/daniel/pyth-price-pusher/mnemonic:/mnemonic \
  -v /home/daniel/pyth-price-pusherconfig.yaml:/app/config.yaml \
  pyth-jeremy:latest --  start iota \
    --endpoint ....... \
    --pyth-package-id 0x23994dd119480ea614f7623520337058dca913cb1bb6e5d8d51c7b067d3ca3bb \
    --pyth-state-id 0x68dda579251917b3db28e35c4df495c6e664ccc085ede867a9b773c8ebedc2c1 \
    --wormhole-package-id 0xfca58c557f09cddb7930588c4e2a4edbe3cdded1ac1ed2270aa2dfa8d2b9ae0d \
    --wormhole-state-id 0x8bc490f69520a97ca1b3de864c96aa2265a0cf5d90f5f3f016b2eddf0cf2af2b \
    --price-service-endpoint https://hermes.pyth.network \
    --mnemonic-file /mnemonic \
    --price-config-file /app/config.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants