@tconnect.io/tezos-beacon-provider
v0.0.22
Published
Taquito wallet provider package for Telegram Mini App interaction with [Tezos](https://tezos.com) blockchain using the Beacon protocol.
Downloads
1,520
Readme
@tconnect.io/tezos-beacon-provider
Taquito wallet provider package for Telegram Mini App interaction with Tezos blockchain using the Beacon protocol.
Documentation
For detailed documentation, visit our official documentation.
Installation
npm install @tconnect.io/tezos-beacon-provider
Example
// Import provider
import { TConnectTezosBeaconProvider } from '@tconnect.io/tezos-beacon-provider';
// ...
// Initialize provider
const provider = new TConnectTezosBeaconProvider({
appName: 'your_app_name',
appUrl: 'https://...',
bridgeUrl: 'https://tconnect.io',
secretSeed: 'your_secret_seed',
apiKey: 'your_api_key',
network: { type: 'mainnet' },
});
// Connect to wallet
await provider.permissionRequest();