
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.
@helium/transactions
Advanced tools
Construct and serialize Helium blockchain transaction primatives
@helium/transactions
Construct and serialize transaction primatives from their protobuf definitions.
// create transcation
const transaction = new TokenBurnV1({
payer: payerAddress,
payee: payeeAddress,
amount: 10,
nonce: 1,
memo: 'MTIzNDU2Nzg5MA==',
})
// sign transaction
const signedTransaction = await transaction.sign({ payer: payerKeypair })
// create transcation
const transaction = new TransferHotspotV1({
gateway: gatewayAddress,
buyer: buyerAddress,
seller: sellerAddress,
amountToSeller: 100,
buyerNonce: 1,
})
// sign transaction as buyer
const signedTransaction = await transaction.sign({ buyer: buyerKeypair })
// sign transaction as seller
const signedTransaction = await transaction.sign({ seller: sellerKeypair })
const paymentTxn = new PaymentV2({
payer,
payments,
nonce,
})
const serializedPaymentV2 = paymentTxn.toString()
const deserializedPaymentV2 = PaymentV2.fromString(serializedPaymentV2)
FAQs
Construct and serialize Helium blockchain transaction primatives
The npm package @helium/transactions receives a total of 1,758 weekly downloads. As such, @helium/transactions popularity was classified as popular.
We found that @helium/transactions demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers 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.