Skip to content

Headless Arweave browser wallet make for 'spontaneous identities'. Not audited, use at your own discretion.

License

Notifications You must be signed in to change notification settings

longview-labs/quick-wallet

Repository files navigation

Quick Wallet

quick-wallet

Headless Arweave browser wallet

Warning

The Arweave wallet keyfile is encrypted with a static password and stored in the browser's local storage. Do not assume the security of this encryption.

Installation

npm install quick-wallet
yarn add quick-wallet

Usage

QuickWallet implements ArweaveInterface. This makes it directly pluggable to compatible libraries. You can check out the type definition of ArweaveInterface here.

🚧 WIP. Not the whole ArweaveInterface has been implemented.

Using with @permaweb/aoconnect

import { message, createDataItemSigner } from "@permaweb/aoconnect";
import { QuickWallet } from 'quick-wallet';

const signer = createDataItemSigner(QuickWallet);

const message_id = await message({
  signer,
  process: `<---- Process ID here ---->`,
  tags: [
    { name: "Action", value: `<----- Action Name ---->` },
  ],
});

Donwload wallet key file

import { downloadKeyfile } from 'quick-wallet';
// download wallet
downloadKeyfile('your-wallet.json');

About

Headless Arweave browser wallet make for 'spontaneous identities'. Not audited, use at your own discretion.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published