![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@runcitadel/bitcoin-rpc
Advanced tools
The library used by Citadel for connecting to Bitcoin Core
This library is a very simple wrapper for communicating with a bitcoind instance through the JSON-RPC.
const client = new Client({
baseURL: 'http://localhost:18443/',
auth: { username: 'user', password: 'pass' },
})
const address = await client.getNewAddress()
The library can easily be used to communicate with a bitcoind node over Tor using a socks5 proxy. For example with sock-proxy-agent:
const proxyOptions = 'socks5h://127.0.0.1:9050'
const httpsAgent = new SocksProxyAgent(proxyOptions)
const config : ClientOption = {
baseURL: 'http://onionaddress.onion:port',
auth: {
username: 'user',
password: 'password',
},
httpAgent: httpsAgent,
}
const client = new Client(config)
The client throws four types of errors.
This indicates that an error was returned by the bitcoind instance.
The list of error code is available in the RPCErrorCode
enum.
This usually indicates that a connection to the specified address could not be established.
This indicates that the credential provided were not valid.
This indicates that something unexpected happened.
[0.0.4] - 2020-09-04
FAQs
The library used by Citadel for connecting to Bitcoin Core
The npm package @runcitadel/bitcoin-rpc receives a total of 3 weekly downloads. As such, @runcitadel/bitcoin-rpc popularity was classified as not popular.
We found that @runcitadel/bitcoin-rpc 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.