Skip to content

Commit

Permalink
Fix rpc call
Browse files Browse the repository at this point in the history
  • Loading branch information
tupui committed Nov 18, 2024
1 parent 78308c0 commit 6c495f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dapp/src/contracts/soroban_domain_sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ const defaultTimeout = import.meta.env.PUBLIC_DEFAULT_TIMEOUT ?? 30;
const simulationAccount = import.meta.env.PUBLIC_TANSU_OWNER_ID;

const sdk: SorobanDomainsSDK = new SorobanDomainsSDK({
// @ts-ignore
stellarSDK: SDK,
rpc: new SDK.SorobanRpc.Server(import.meta.env.PUBLIC_SOROBAN_RPC_URL),
rpc: new SDK.rpc.Server(import.meta.env.PUBLIC_SOROBAN_RPC_URL),
// @ts-ignore
network: import.meta.env.PUBLIC_SOROBAN_NETWORK_PASSPHRASE,
contractId: contractId,
vaultsContractId: contractId,
defaultFee: defaultFee,
defaultTimeout: defaultTimeout,
simulationAccount: simulationAccount,
Expand Down

0 comments on commit 6c495f0

Please sign in to comment.