Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 447 Bytes

File metadata and controls

17 lines (13 loc) · 447 Bytes

Access Key Example

Demonstrates using authorizeAccessKey with the tempoWallet (dialog) connector. An access key is automatically authorized on connect -- subsequent matching transfers are signed locally without the wallet popup.

Setup

npx gitpick tempoxyz/accounts/examples/access-key
npm i
npm dev

Note

Access keys expire after 24 hours by default. Adjust the expiry in src/config.ts to change the duration.