Skip to content

jfbeats/ArweaveWalletConnectorNode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arweave Wallet Connector for Node.js Applications

Let you connect to wallet provider websites and sign transactions in node.js CLI, servers, utilities, etc. See Arweave Wallet Connector for more information. The arweave specific api is the same as the browser connector. Native applications can also use a local WebSocket server to connect to wallet providers like arweave.app

How to use

Install from NPM:

npm i arweave-wallet-connector-node

Import / Create instance / Connect:

import { ArweaveWebSockets } from 'arweave-wallet-connector-node'

const providerURL = 'arweave.app' // Or others
const yourApplicationInfo = { // Optional
	name: 'Your application name',
	logo: 'URL of your logo to be displayed to users'
}

const wallet = new ArweaveWebSockets(providerURL, yourApplicationInfo)

const address = await wallet.connect()
await wallet.signTransaction(arweaveJsTransactionObject)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published