Skip to content

A typescript types package for the Petra wallet's dapp interface.

License

Notifications You must be signed in to change notification settings

aptos-labs/petra-wallet-types

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

petra-wallet-types

A typescript types package for the Petra wallet's dapp interface.

Install

yarn add https://github.com/aptos-labs/petra-wallet-types

How to use it

import 'petra-wallet-types';

const result = await window.aptos.connect(); // checking type right

const result2 = await window.aptos.connect(true); // ERROR because connect doesn't accept parameter

About

A typescript types package for the Petra wallet's dapp interface.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published