Skip to content

Commit d424af7

Browse files
committed
chore: update AssetManager address and environment variable for Songbird Testnet Coston2
1 parent 4ce8367 commit d424af7

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

examples/developer-hub-javascript/fassetsExecuteMinting.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import {
77
} from "../../typechain-types";
88

99
// 1. Environment variables
10-
const { COSTON_DA_LAYER_URL, VERIFIER_URL_TESTNET, VERIFIER_API_KEY_TESTNET } =
10+
const { COSTON2_DA_LAYER_URL, VERIFIER_URL_TESTNET, VERIFIER_API_KEY_TESTNET } =
1111
process.env;
1212

13-
// 2. AssetManager address on Songbird Testnet Coston network
14-
const ASSET_MANAGER_ADDRESS = "0x56728e46908fB6FcC5BCD2cc0c0F9BB91C3e4D34";
13+
// 2. AssetManager address on Songbird Testnet Coston2 network
14+
const ASSET_MANAGER_ADDRESS = "0xDeD50DA9C3492Bee44560a4B35cFe0e778F41eC5";
1515

1616
// 3. Collateral reservation ID
1717
const COLLATERAL_RESERVATION_ID = 18615047;
@@ -57,7 +57,7 @@ async function prepareFdcRequest(
5757
async function getProof(roundId: number) {
5858
const request = await prepareFdcRequest(transactionId, inUtxo, utxo);
5959
const proofAndData = await fetch(
60-
`${COSTON_DA_LAYER_URL}api/v0/fdc/get-proof-round-id-bytes`,
60+
`${COSTON2_DA_LAYER_URL}api/v0/fdc/get-proof-round-id-bytes`,
6161
{
6262
method: "POST",
6363
headers: {
@@ -109,7 +109,7 @@ async function main() {
109109
// 7. Get proof from FDC
110110
const proof = await getProof(TARGET_ROUND_ID);
111111

112-
// FAssets FXRP asset manager on Songbird Testnet Coston network
112+
// FAssets FXRP asset manager on Songbird Testnet Coston2 network
113113
const AssetManager = artifacts.require("IAssetManager");
114114
const assetManager: IAssetManagerInstance = await AssetManager.at(
115115
ASSET_MANAGER_ADDRESS,

examples/developer-hub-javascript/fassetsReserveCollateral.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import {
77

88
// 1. Define constants
99

10-
// AssetManager address on Songbird Testnet Coston network
11-
const ASSET_MANAGER_ADDRESS = "0x56728e46908fB6FcC5BCD2cc0c0F9BB91C3e4D34";
10+
// AssetManager address on Songbird Testnet Coston2 network
11+
const ASSET_MANAGER_ADDRESS = "0xDeD50DA9C3492Bee44560a4B35cFe0e778F41eC5";
1212
// Number of lots to reserve
1313
const LOTS_TO_MINT = 1;
1414
// XRP Ledger address

0 commit comments

Comments
 (0)