Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@radixdlt/alphanet-gateway-api-v0-sdk
Advanced tools
This SDK is a thin wrapper around the Babylon V0 Gateway API, detailed in [the Open API schema](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/radixdlt/babylon-alphanet/main/gateway-api-v0/gateway-api-v0-schema.yaml).
This SDK is a thin wrapper around the Babylon V0 Gateway API, detailed in the Open API schema.
Behind the scenes, this library uses the fetch API.
If in an environment where this is not available, a polyfill must be used.
An example using this with node is provided here in the github repo.
import "./node-fetch-polyfill" // Polyfill for fetch required if running in node-js
import { TransactionApi, StateApi } from "@radixdlt/alphanet-gateway-api-v0-sdk";
const transactionApi = new TransactionApi();
const stateApi = new StateApi();
async function getEpoch() {
let response = await stateApi.stateEpochPost();
return response.epoch;
}
async function getTransactionStatus(transactionIntentHashHex: string) {
let response = await transactionApi.transactionStatusPost({
v0TransactionStatusRequest: {
intent_hash: transactionIntentHashHex
}
});
return response.intent_status;
}
FAQs
This SDK is a thin wrapper around the Babylon V0 Gateway API, detailed in [the Open API schema](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/radixdlt/babylon-alphanet/main/gateway-api-v0/gateway-api-v0-schema.yaml).
The npm package @radixdlt/alphanet-gateway-api-v0-sdk receives a total of 2 weekly downloads. As such, @radixdlt/alphanet-gateway-api-v0-sdk popularity was classified as not popular.
We found that @radixdlt/alphanet-gateway-api-v0-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.