![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.
This is a javascript library that wraps the hubii striim APIs making them easier to get started with.
striim is hubii's scaling solution for the Ethereum block chain. It is a hybrid centralized/decentralized solution that enables instant (micro-) payments, trading and trustless settlements.
See www.hubii.com for more information.
To install the SDK into your project, simply run:
npm install striim-sdk
Create a provider to gain access to the low-level SDK:
const striim = require('striim-sdk');
const provider = new striim.StriimProvider(striim_base_url, striim_app_id, striim_app_secret);
The provider can be used to gain access to the API resources, such as a wallet's balance:
const striim = require('striim-sdk');
const provider = new striim.StriimProvider(striim_base_url, striim_app_id, striim_app_secret);
// Logs all assets of the specified wallet to the console
provider.getStriimBalances(wallet_address).then(console.log);
To do make more advanced workflows as easy as possible there is also a higher level SDK, e.g.: the Wallet class and the Payment class. In this example we create a payment, sign it and register it with the API:
const striim = require('striim-sdk');
const provider = new striim.StriimProvider(striim_base_url, striim_app_id, striim_app_secret);
// Creates a new Payment, providing essential inputs such as the amount,
// the currency, the sender, and the recipient.
const monetaryAmount = new striim.MonetaryAmount(amount, erc20_token_address);
const payment = new striim.Payment(provider, monetaryAmount, wallet_address, recipient_address);
// Signs the payment with the private key belonging to your wallet_address.
payment.sign(private_key);
// Sends the signed payment to the API for registration and execution and
// logs the API response to the console.
payment.register().then(console.log);
FAQs
Javascript SDK for using hubii striim APIs
The npm package striim-sdk receives a total of 0 weekly downloads. As such, striim-sdk popularity was classified as not popular.
We found that striim-sdk 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.