Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@anypay/walletbot

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anypay/walletbot

Your Money-Sending Robot Friend

npmnpm
Version
1.6.5
Version published
Maintainers
2
Created
Source

Wallet Bot

Self-custody, headless wallet service that runs as a daemon process within your data center. It manages your software operation's private keys so that your apps can securely send payments on any peer to peer payments network.

Installation and Setup

The application runs as a long-running process which should be managed by k8s, docker, or your system service manager such as systemd or similar. It may be run in a node.js environment or as an isolated docker container. The single process requires no additional services such as database servers to be run.

Installation with Homebrew for Mac (AMD64 and x86_64)

> brew tap anypay/walletbot
> brew install walletbot
> walletbot
Usage: walletbot [options] [command]

Options:
  -V, --version                     output the version number
  -s --seed-phrase <seed_phrase>    seed phrase for wallet bot
  -t --anypay-token <anypay_token>  anypay token for wallet bot
  -h, --help                        display help for command

Commands:
  start
  seed-phrase
  help [command]                    display help for command

Generating a 12-Word Seed Phrase

> walletbot seed-phrase

Starting Wallet Bot

> walletbot start \
  --seed-phrase="$SEED_PHRASE" \
  --anypay-token=$ANYPAY_API_TOKEN

Running in Nodejs (Typescript)

import { WalletBot } from '@anypay/walletbot'

const walletBot = new WalletBot({
  seed_phrase: process.env.WALLET_BOT_BACKUP_SEED_PHRASE,
  anypay_token: process.env.ANYPAY_ACCESS_TOKEN
})

walletBot.start()

Running with Docker

docker run anypay/walletbot

Testing

To run tests run npm run test

Development

To commit new code run npm run commit

FAQs

Package last updated on 31 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts