@massalabs/wallet-provider
Version:
massa's wallet provider
35 lines • 1.39 kB
TypeScript
/// <reference types="node" />
/** Polyfills */
import { Buffer } from 'buffer';
declare global {
interface Window {
Buffer: typeof Buffer;
bearby?: unknown;
massaWallet?: {
standalone: boolean;
};
}
}
export declare enum AvailableCommands {
ProviderListAccounts = "LIST_ACCOUNTS",
ProviderDeleteAccount = "DELETE_ACCOUNT",
ProviderImportAccount = "IMPORT_ACCOUNT",
ProviderGetNodesUrls = "GET_NODES_URLS",
ProviderGetNetwork = "GET_NETWORK",
ProviderGetChainId = "GET_CHAIN_ID",
AccountBalance = "ACCOUNT_BALANCE",
AccountSign = "ACCOUNT_SIGN",
ProviderGenerateNewAccount = "GENERATE_NEW_ACCOUNT",
AccountSellRolls = "ACCOUNT_SELL_ROLLS",
AccountBuyRolls = "ACCOUNT_BUY_ROLLS",
AccountSendTransaction = "ACCOUNT_SEND_TRANSACTION",
AccountCallSC = "ACCOUNT_CALL_SC"
}
export * from './errors';
export { MassaStationWallet } from './massaStation/MassaStationWallet';
export { MassaStationAccount } from './massaStation/MassaStationAccount';
export { getWallet, getWallets, WalletsListener } from './walletsManager';
export * from './wallet';
export { isMassaStationAvailable, isMassaWalletEnabled, } from './massaStation/MassaStationDiscovery';
export { AccountConfig, AddUpdateSignRuleResponse, Config, RuleType, SignRule, } from './massaStation/types';
//# sourceMappingURL=index.d.ts.map