UNPKG

@rize-labs/banana-wallet-sdk-demo

Version:

Smart contract wallet sdk package by Banana Wallet

51 lines (50 loc) 2.19 kB
import { ClientConfig } from "@account-abstraction/sdk"; import { ChainConfig, ChainSpecificConfig } from "./interfaces/Banana.interface"; export declare const BANANA_APP = "https://bananawallet.xyz"; export declare const BANANA_SERVER = "https://banana-server.xyz"; export declare const OPTIMISM_TESTNET_RPC = "https://opt-goerli.g.alchemy.com/v2/Q37EPFzF1O8kJt4oTob4ytwuUFTW0Gas"; export declare const MUMBAI_RPC = "https://polygon-mumbai.g.alchemy.com/v2/cNkdRWeB8oylSQJSA2V3Xev2PYh5YGr4"; export declare const GOERLI_RPC = "https://eth-goerli.g.alchemy.com/v2/IaVkSX3wU98rK7vpVyFgIryaaHfYpoST"; export declare const GNOSIS_RPC = "https://rpc.gnosischain.com/"; export declare const CHIADO_TESTNET_RPC = "https://rpc.chiado.gnosis.gateway.fm"; export declare const SHIBUYA_TESTNET_RPC = "https://evm.shibuya.astar.network"; export declare const ASTAR_MAINNET_RPC = "https://astar.public.blastapi.io"; export declare const ENTRYPOINT_ADDRESS = "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"; export declare const BUNDLER_EOA_PUBLIC_KEY = "0x48701dF467Ba0efC8D8f34B2686Dc3b0A0b1cab5"; export declare const BUNDLER_EOA_PRIVATE_KEY = "0xed096a60e1af7c04519965c9e1fe105b2cd287afd49e4f1d77744f91ab5eb36e"; export declare const BENEFICIARY = "0xF9ca16Fb8D6F38d36505961dAd69d2011C4695cF"; export declare enum Chains { goerli = 5, mumbai = 80001, optimismTestnet = 420, gnosis = 100, chiadoTestnet = 10200, shibuyaTestnet = 81, astar = 592 } export declare function getClientConfigInfo(chain: Chains): ClientConfig; export declare function getChainSpecificAddress(chain: Chains): ChainConfig; export declare function getChainSpecificConfig(chain: Chains): ChainSpecificConfig; export declare enum ChainId { MAINNET = 1, ROPSTEN = 3, RINKEBY = 4, GOERLI = 5, KOVAN = 42, POLYGON = 137, POLYGON_MUMBAI = 80001, BSC = 56, BSC_TESTNET = 97, OPTIMISM = 10, OPTIMISM_TESTNET = 69, ARBITRUM = 42161, ARBITRUM_TESTNET = 421611, ARBITRUM_NOVA = 42170, AVALANCHE = 43114, AVALANCHE_TESTNET = 43113, FANTOM = 250, FANTOM_TESTNET = 4002, GNOSIS = 100, AURORA = 1313161554, AURORA_TESTNET = 1313161556 }