Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🦺[Tech Debt] Add On-Chain Commands for the LTCSuite #157

Open
2 tasks
kcw-grunt opened this issue Nov 17, 2023 · 0 comments
Open
2 tasks

🦺[Tech Debt] Add On-Chain Commands for the LTCSuite #157

kcw-grunt opened this issue Nov 17, 2023 · 0 comments

Comments

@kcw-grunt
Copy link
Member

kcw-grunt commented Nov 17, 2023

Background

Describe the work to be done

The library (loafwallet-core) is a C library that was written to bridge commands from the mobile clients (iOS and Android) to send and receive Litecoin. This library is using many legacy and outdated methods. It needs to be replaced to improve the user experience.

LTCSuite is a modern library based on the Golang language that uses the latest methods with the best implementations. This library is a fork of the lightning labs Bitcoin library designed to allow codebases to open lightning channels and make second layer payments quicker and easier.

Problem

The LTCSuite also includes on-chain commands and our goal is to leverage the common on-chain calls like typical LitecoinQT cli.

The LTCSuite cli command set is incomplete. That is the documentation has a list of presumed commands but the codebase has no version for CLI.

Goal

As we integrate these calls into the client and LTCSuite framework, we hope to have a comprehensive set so the latest version of Litewallet is greatly improved.

Definition of Done

  • A developer with comfort of Golang and Kotlin/Java
  • Android and LTCSuite gomobile Framework is integrated into the codebase
  • [] List of commands operating:
ChainKit Service
$ lncli chain getblockheader --help
$ lncli chain getblockhash --help
$ lncli chain getbestblock --help 

NeutrinoKit Service
rpc AddPeer (AddPeerRequest) returns (AddPeerResponse);
rpc DisconnectPeer (DisconnectPeerRequest) returns (DisconnectPeerResponse);
rpc GetBlockHeader (GetBlockHeaderRequest) returns (GetBlockHeaderResponse);
rpc GetBlock (GetBlockRequest) returns (GetBlockResponse);
rpc GetCFilter (GetCFilterRequest) returns (GetCFilterResponse);
rpc IsBanned (IsBannedRequest) returns (IsBannedResponse);
rpc Status (StatusRequest) returns (StatusResponse);

WalletUnlocker Service
$ lncli changepassword --help
rpc GenSeed (GenSeedRequest) returns (GenSeedResponse);
rpc InitWallet (InitWalletRequest) returns (InitWalletResponse);
$ lncli unlock --help
@kcw-grunt kcw-grunt changed the title 🦺[Tech Debt] Add ltc 🦺[Tech Debt] Add On-Chain Commands for the LTCSuite Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant