Git Product home page Git Product logo

Comments (5)

TheBlueMatt avatar TheBlueMatt commented on July 18, 2024

We...don't have an RPC? I'm not sure what auth details we'd want to parse?

from ldk-sample.

arik-so avatar arik-so commented on July 18, 2024

The auth to talk to the bitcoin daemon RPC :)

from ldk-sample.

TheBlueMatt avatar TheBlueMatt commented on July 18, 2024

Oh, yea, duh, would be cool to parse the .cookie.

from ldk-sample.

alecchendev avatar alecchendev commented on July 18, 2024

Hello! I’m interested in picking up this issue. Worked with Rust a bit in the past but otherwise fairly new. Also new to contributing to open-source.

Here’s what I’m considering for a basic version that parses RPC fields from a .env file:

  • In the first argument <bitcoind-rpc-username>:<bitcoind-rpc-password>@<bitcoind-rpc-host>:<bitcoind-rpc-port>, if the user doesn’t include the @, it will parse the string as if it’s just the second half <bitcoind-rpc-host>:<bitcoind-rpc-port>, and check for environment variables and/or look for a .env file in the working directory to parse for the rpc username and password.
  • It’ll also print some extra usage information to communicate this option when prompted.

Question: Is there a recommended way for testing changes in this repo?

If anyone has feedback/questions on this it'd be greatly appreciated! I plan to get a PR in for the basic version either tonight or tomorrow sometime, then possibly expand to other arguments after I get that working.

from ldk-sample.

TheBlueMatt avatar TheBlueMatt commented on July 18, 2024

Done in #87

from ldk-sample.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.