Skip to content

Commit

Permalink
chore(example): remove unnecessary code from basic sdk examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Ikari-Shinji-re authored and RanGojo committed Oct 23, 2024
1 parent c2ec03b commit 4a4171d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 32 deletions.
5 changes: 0 additions & 5 deletions examples/basic/node-solana/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
TransactionType,
} from 'rango-sdk-basic'
import {
logMeta,
logQuote,
logWallet,
logSwap,
Expand Down Expand Up @@ -58,10 +57,6 @@ logWallet(walletAddress)
const API_KEY = 'c6381a79-2817-4602-83bf-6a641a409e32'
const rango = new RangoClient(API_KEY)

// get blockchains and tokens meta data
const meta = await rango.meta()
logMeta(meta)

// some example tokens for test purpose
const sourceBlockchain = 'SOLANA'
const sourceTokenAddress = null
Expand Down
5 changes: 0 additions & 5 deletions examples/basic/node-starknet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
TransactionType,
} from 'rango-sdk-basic'
import {
logMeta,
logQuote,
logWallet,
logSwap,
Expand Down Expand Up @@ -35,10 +34,6 @@ logWallet(walletAddress)
const API_KEY = 'c6381a79-2817-4602-83bf-6a641a409e32'
const rango = new RangoClient(API_KEY)

// get blockchains and tokens meta data
const meta = await rango.meta()
logMeta(meta)

// some example tokens for test purpose
const sourceBlockchain = 'STARKNET'
const sourceTokenAddress =
Expand Down
5 changes: 0 additions & 5 deletions examples/basic/node-tron/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
TransactionType,
} from 'rango-sdk-basic'
import {
logMeta,
logQuote,
logWallet,
logSwap,
Expand All @@ -32,10 +31,6 @@ logWallet(walletAddress)
const API_KEY = 'c6381a79-2817-4602-83bf-6a641a409e32'
const rango = new RangoClient(API_KEY)

// get blockchains and tokens meta data
const meta = await rango.meta()
logMeta(meta)

// some example tokens for test purpose
const sourceBlockchain = 'TRON'
const sourceTokenAddress = null
Expand Down
17 changes: 0 additions & 17 deletions examples/basic/shared/utils/meta.ts

This file was deleted.

0 comments on commit 4a4171d

Please sign in to comment.