Skip to content

Commit c18c46d

Browse files
committed
update ton testnet addr
1 parent d3d0f9f commit c18c46d

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
- chain: ton_testnet
2-
address: "EQDwGkJmcj7MMmWAHmhldnY-lAKI6hcTQ2tAEcapmwCnztQU"
2+
address: "EQC5IXZMoHT1FVOjnBkQpHDoVYWzSvYzvyx5AOPn5ajarzHO"
33
type: TonPriceFeedContract
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
- chain: ton_testnet
2-
address: "EQDwGkJmcj7MMmWAHmhldnY-lAKI6hcTQ2tAEcapmwCnztQU"
2+
address: "EQC5IXZMoHT1FVOjnBkQpHDoVYWzSvYzvyx5AOPn5ajarzHO"
33
type: TonWormholeContract

target_chains/ton/contracts/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,13 @@
1919

2020
### Deploy or run another script
2121

22-
`npx blueprint run` or `yarn blueprint run`
22+
First, visit [TON Center](https://toncenter.com/) and register to get an API key to bypass rate limits. Replace `<YOUR-API-KEY>` with the API key you obtained from TON Center. `<CUSTOM-TYPE>` is either `testnet` or `mainnet`.
23+
24+
Then run:
25+
26+
```bash
27+
npx blueprint run --custom https://testnet.toncenter.com/api/v2/jsonRPC --custom-version v2 --custom-type <CUSTOM-TYPE> --custom-key <YOUR-API-KEY>
28+
```
2329

2430
### Add a new contract
2531

target_chains/ton/sdk/js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pythnetwork/pyth-ton-js",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Pyth Network TON Utilities",
55
"homepage": "https://pyth.network",
66
"author": {

target_chains/ton/sdk/js/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
import { ContractProvider } from "@ton/ton";
1212

1313
export const PYTH_CONTRACT_ADDRESS_TESTNET =
14-
"EQDwGkJmcj7MMmWAHmhldnY-lAKI6hcTQ2tAEcapmwCnztQU";
14+
"EQC5IXZMoHT1FVOjnBkQpHDoVYWzSvYzvyx5AOPn5ajarzHO";
1515
// This is defined in target_chains/ton/contracts/common/gas.fc
1616
export const UPDATE_PRICE_FEEDS_BASE_GAS = 300000n;
1717
export const UPDATE_PRICE_FEEDS_PER_UPDATE_GAS = 90000n;

0 commit comments

Comments
 (0)