GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - beamfan/java-beam-api: Java library for the Beam cryptocurrency Wallet API

BranchesTags
Open more actions menu

Latest commit

 

History

20 Commits
20 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

BeamClient java library

A Java library for the Beam cryptocurrency Wallet API.

Building

  • mvn clean install
  • Note: For the tests to pass, you must be running an instance of Beam's wallet-api on localhost, port 10001. To skip tests. Add -DskipTests to the command line.

Usage

Include Maven dependency (update version as necessary):

<dependency>
            <groupId>ch.bitmate</groupId>
            <artifactId>beamclient</artifactId>
            <version>1.1-SNAPSHOT</version>
</dependency>

Example

  1. Cancel transactions stuck In Progress
// Setup beam client
BeamClient beamClient = new BeamClient("localhost", 10001);
// Get list of transactions in progress
List<TransactionStatus> transactions = beamClient.getTransactions(TransactionStatusType.IN_PROGRESS);
// Cancel each transaction
transactions.forEach(transaction -> beamClient.cancelTransaction(transaction.getTxId()));

To-do

  • create_address
  • validate_address
  • tx_send
  • tx_status
  • tx_split
  • wallet_status
  • get_utxo
  • tx_list
  • tx_cancel

Dependencies

  • Gson
  • OkHttp
  • JUnit (for testing)

About

Java library for the Beam cryptocurrency Wallet API

Resources

Readme
Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.