Supported Wallets
Using Arweave & Ethereum wallets with HollowDB.
Arweave Wallet
import {JWKInterface} from 'warp-contracts';
const jwkPath = './some-wallet.json';
const signer = JSON.parse(fs.readFileSync(walletPath).toString()) as JWKInterface;Injected Arweave Wallet
// instantiate Arweave Web Wallet
const arweaveWebWallet = new ArweaveWebWallet(
{
name: "your-app-name",
logo: "your-app-logo",
},
{
state: {
url: "arweave.app",
},
}
);
// connect
await arweaveWebWallet.connect();
// the magic string
const signer = "use_wallet";Ethereum Wallets
Last updated