The Adapter defines Arweave Wallet's API and also exposes them through simple functions. If you want to integrate Arweave Wallet into your dApp without thinking about compatibility with the existing ArConnect's API, you'll only need this package.
The quickest way to get your hands dirty with the Adapter is by checking the example included here in the example folder. You can also learn about all the different available functions by looking at the documentation.
As you will notice in the example, Arweave Wallet includes a permission system that restricts by
default what dApps can do. When connecting your dApp to Arweave Wallet, in order to access the
various API methods provided by the Adapter, you will need to request the corresponding permissions
via the requestPermission
function. Each functions listed in the
documentation have a requires
field listing the permission(s)
that has to be requested in order to use them.