0.0.2 • Published 7 months ago

@tconnect.io/etherlink-provider v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@tconnect.io/etherlink-provider

EIP-1193 provider package for Telegram Mini App interaction with Etherlink blockchain using the WalletConnect protocol.

Documentation

For detailed documentation, visit our official documentation.

Installation

npm install @tconnect.io/etherlink-provider

Example

// Import provider
import { TConnectEtherlinkProvider } from '@tconnect.io/etherlink-provider';

// ...

// Initialize provider
const provider = new TConnectEtherlinkProvider({
	appName: 'your_app_name',
	appUrl: 'https://...'
	bridgeUrl: 'https://tconnect.io',
	apiKey: 'your_api_key',
});

// Connect to wallet
await provider.connect();

License

MIT License