Scan your whole stack
From OX Research Newsroom
Are you using @solidcash/solidcash?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.53.0
@solidcash/solidcash was last scanned on 28 Nov 2026 at version 0.53.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.53.0 LATEST | 28 Nov 2026 | No rules fired |
| 0.52.1 | 26 Nov 2026 | No rules fired |
| 0.52.0 | 25 Nov 2026 | No rules fired |
| 0.51.1 | 17 Nov 2026 | Not shown |
| 0.51.0 | 16 Nov 2026 | Not shown |
Findings for v0.53.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.53.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
SolidCash is a high-level programming language for smart contracts on Bitcoin Cash. It offers a strong abstraction layer over Bitcoin Cash' native virtual machine, Bitcoin Script. Its syntax is based on Ethereum's smart contract language Solidity, but its functionality is very different since smart contracts on Bitcoin Cash differ greatly from smart contracts on Ethereum. For a detailed comparison of them, refer to the blog post Smart Contracts on Ethereum, Bitcoin and Bitcoin Cash.
See the GitHub repository and the SolidCash website for full documentation and usage examples.
SolidCash is a high-level language that allows you to write Bitcoin Cash smart contracts in a straightforward and familiar way. Its syntax is inspired by Ethereum's Solidity language, but its functionality is different since the underlying systems have very different fundamentals. See the language documentation for a full reference of the language.
The main way to interact with SolidCash contracts and integrate them into applications is using the SolidCash SDK. This SDK allows you to import .json (or .ts) artifact files that were compiled using the solidc compiler and convert them to Contract objects. These objects are used to create new contract instances. These instances are used to interact with the contracts using the functions that were implemented in the .scash file. For more information on the SolidCash SDK, refer to the SDK documentation.
npm install @solidcash/solidcash
import { Contract, ... } from '@solidcash/solidcash';
import { ElectrumNetworkProvider } from '@solidcash/solidcash/network/electrum';
// in tests: import { MockNetworkProvider } from '@solidcash/solidcash/network/mock';
Using the SolidCash SDK, you can import contract artifact files, create new instances of these contracts, and interact with these instances:
...
// Import the P2PKH artifact
import P2PKH from './p2pkh-artifact.json' with { type: 'json' };
// Instantiate a network provider for SolidCash's network operations
const provider = new ElectrumNetworkProvider('mainnet');
// Create a new P2PKH contract with constructor arguments: { pkh: pkh }
const contract = new Contract(P2PKH, [pkh], { provider });
// Get contract balance & output address + balance
console.log('contract address:', contract.address);
console.log('contract balance:', await contract.getBalance());
const transactionBuilder = new TransactionBuilder({ provider });
const contractUtxos = await contract.getUtxos();
const sendAmount = 10_000n;
const destinationAddress = '... some address ...';
// Calculate the change amount, accounting for a miner fee of 1000 satoshis
const changeAmount = contractUtxos[0].satoshis - sendAmount - 1000n;
// Construct a transaction with the transaction builder
const txDetails = await transactionBuilder
// Add a contract input that spends from the contract using the 'spend' function
.addInput(contractUtxos[0], contract.unlock.spend(pk, new SignatureTemplate(keypair)))
// Add an output that sends 0. 000 100 00 BCH back to the destination address
.addOutput({ to: destinationAddress, amount: sendAmount })
// Add a change output that sends the change back to the contract's address
.addOutput({ to: contract.address, amount: changeAmount })
.send();
console.log(txDetails);
... Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.