From c57bd12bcede7b14a2b72735bcfe8d03142f08f1 Mon Sep 17 00:00:00 2001 From: Saad Ahmed Siddiqui Date: Mon, 11 Nov 2024 17:24:50 +0100 Subject: [PATCH] update: examples --- examples/evm-to-evm-non-fungible-transfer/src/transfer.ts | 6 +----- examples/substrate-to-evm-fungible-transfer/src/transfer.ts | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/examples/evm-to-evm-non-fungible-transfer/src/transfer.ts b/examples/evm-to-evm-non-fungible-transfer/src/transfer.ts index 4d4d64d5c..3eb04ae73 100644 --- a/examples/evm-to-evm-non-fungible-transfer/src/transfer.ts +++ b/examples/evm-to-evm-non-fungible-transfer/src/transfer.ts @@ -1,8 +1,4 @@ -import { - Eip1193Provider, - Environment, - getSygmaScanLink, -} from "@buildwithsygma/core"; +import { Eip1193Provider, getSygmaScanLink } from "@buildwithsygma/core"; import { createNonFungibleAssetTransfer, NonFungibleTransferParams, diff --git a/examples/substrate-to-evm-fungible-transfer/src/transfer.ts b/examples/substrate-to-evm-fungible-transfer/src/transfer.ts index 1d7ef8cfe..1d11d9017 100644 --- a/examples/substrate-to-evm-fungible-transfer/src/transfer.ts +++ b/examples/substrate-to-evm-fungible-transfer/src/transfer.ts @@ -43,7 +43,7 @@ const substrateTransfer = async (): Promise => { sourceAddress: account.address, resource: RESOURCE_ID_SYGMA_USD, amount: BigInt(1) * BigInt(1e18), - destinationAddress: recipient, + recipientAddress: recipient, environment: process.env.SYGMA_ENV, };