
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Add this line to your application's Gemfile:
gem 'hodl-lightning'
And then execute:
$ bundle
Or install it yourself as:
$ gem install hodl-lightning
Configure:
Hodl::Lightning.configure do |config|
config.tls_cert_path = "path_to_certificate"
config.host = "LND host"
config.port = "LND port"
config.logger[:level] = :fatal
end
Find information how to get certificate here - "TODO: Add link to LND docs"
You can call any lnd library method like this:
Hodl::Lightning.server.wallet_balance
After checking out the repo, run bin/setup
to install dependencies.
Then, run rake spec
to run the tests.
You could also configure Hodl::Lightning sevrer in bin/console
file and run bin/console
for an interactive prompt that will allow you to experiment.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that hodl-lightning demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.