Skip to content

chore: fix some minor issues in comments #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/basic/node-solana/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const keypair = Keypair.fromSecretKey(privateKey)
const walletAddress = keypair.publicKey.toString()

// in web based apps, you could use injected provider instead
// e.g. use window.phantom.solana intead of SolanaProvider
// e.g. use window.phantom.solana instead of SolanaProvider
class SolanaProvider {
public publicKey?: PublicKey
private keypair: Keypair
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/node-starknet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const privateKey = 'YOUR_PRIVATE_KEY' // Replace with your private key
const walletAddress = 'YOUR_WALLET_ADDRESS' // Replace with your wallet address

// in web based apps, you could use injected provider instead
// e.g. use window.starknet_braavos or window.starknet_argentX intead
// e.g. use window.starknet_braavos or window.starknet_argentX instead
// https://starknetjs.com/docs/guides/connect_network
const provider = new RpcProvider({
nodeUrl: 'https://starknet-mainnet.public.blastapi.io/rpc/v0_7',
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/node-tron/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { TronWeb } from 'tronweb'
const privateKey = 'YOUR_PRIVATE_KEY' // Replace with your private key

// in web based apps, you could use injected provider instead
// e.g. use window.tronLink.tronWeb or ... intead
// e.g. use window.tronLink.tronWeb or ... instead
const TRON_API = 'https://api.trongrid.io'
const tronWeb = new TronWeb(TRON_API, TRON_API, TRON_API, privateKey)
const walletAddress = tronWeb.address.fromPrivateKey(privateKey) || ''
Expand Down
2 changes: 1 addition & 1 deletion examples/main/node-solana/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const keypair = Keypair.fromSecretKey(privateKey)
const walletAddress = keypair.publicKey.toString()

// in web based apps, you could use injected provider instead
// e.g. use window.phantom.solana intead of SolanaProvider
// e.g. use window.phantom.solana instead of SolanaProvider
class SolanaProvider {
public publicKey?: PublicKey
private keypair: Keypair
Expand Down
2 changes: 1 addition & 1 deletion examples/main/node-starknet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const privateKey = 'YOUR_PRIVATE_KEY' // Replace with your private key
const walletAddress = 'YOUR_WALLET_ADDRESS' // Replace with your wallet address

// in web based apps, you could use injected provider instead
// e.g. use window.starknet_braavos or window.starknet_argentX intead
// e.g. use window.starknet_braavos or window.starknet_argentX instead
// https://starknetjs.com/docs/guides/connect_network
const provider = new RpcProvider({ nodeUrl: "https://starknet-mainnet.public.blastapi.io/rpc/v0_7" });
const account = new Account(provider, walletAddress, privateKey);
Expand Down
2 changes: 1 addition & 1 deletion examples/main/node-tron/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { TronWeb } from 'tronweb'
const privateKey = 'YOUR_PRIVATE_KEY' // Replace with your private key

// in web based apps, you could use injected provider instead
// e.g. use window.tronLink.tronWeb or ... intead
// e.g. use window.tronLink.tronWeb or ... instead
const TRON_API = 'https://api.trongrid.io'
const tronWeb = new TronWeb(TRON_API, TRON_API, TRON_API, privateKey)
const walletAddress = tronWeb.address.fromPrivateKey(privateKey) || ''
Expand Down