Pinned Repositories
jasmine
// TypeScript import CoinbaseWalletSDK from '@coinbase/wallet-sdk' import Web3 from 'web3' const APP_NAME = 'My Awesome App' const APP_LOGO_URL = 'https://example.com/logo.png' const DEFAULT_ETH_JSONRPC_URL = 'https://mainnet.infura.io/v3/<YOUR_INFURA_API_KEY>' const DEFAULT_CHAIN_ID = 1 // Initialize Coinbase Wallet SDK export const coinbaseWallet = new CoinbaseWalletSDK({ appName: APP_NAME, appLogoUrl: APP_LOGO_URL, darkMode: false }) // Initialize a Web3 Provider object export const ethereum = coinbaseWallet.makeWeb3Provider(DEFAULT_ETH_JSONRPC_URL, DEFAULT_CHAIN_ID) // Initialize a Web3 object export const web3 = new Web3(ethereum as any)
jasmine-
Entertaining
Jasmine90e
Config files for my GitHub profile.
Lester-Samuel
Jasmine90e's Repositories
Jasmine90e/jasmine
// TypeScript import CoinbaseWalletSDK from '@coinbase/wallet-sdk' import Web3 from 'web3' const APP_NAME = 'My Awesome App' const APP_LOGO_URL = 'https://example.com/logo.png' const DEFAULT_ETH_JSONRPC_URL = 'https://mainnet.infura.io/v3/<YOUR_INFURA_API_KEY>' const DEFAULT_CHAIN_ID = 1 // Initialize Coinbase Wallet SDK export const coinbaseWallet = new CoinbaseWalletSDK({ appName: APP_NAME, appLogoUrl: APP_LOGO_URL, darkMode: false }) // Initialize a Web3 Provider object export const ethereum = coinbaseWallet.makeWeb3Provider(DEFAULT_ETH_JSONRPC_URL, DEFAULT_CHAIN_ID) // Initialize a Web3 object export const web3 = new Web3(ethereum as any)
Jasmine90e/Lester-Samuel
Jasmine90e/jasmine-
Entertaining
Jasmine90e/Jasmine90e
Config files for my GitHub profile.