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.
@settlemint/sdk-thegraph
Advanced tools
SettleMint SDK, integrate SettleMint into your application with ease.
✨ https://settlemint.com ✨
Integrate SettleMint into your application with ease.
To install the SettleMint SDK, you can use one of the following package managers:
# Using npm
npm install @settlemint/sdk
# Using yarn
yarn add @settlemint/sdk
# Using pnpm
pnpm add @settlemint/sdk
# Using Bun
bun add @settlemint/sdk
We recommend using Bun for faster installation and better performance.
To use the SettleMint SDK in your Node.js application, follow these steps:
import { createSettleMintClient } from '@settlemint/sdk';
const client = createSettleMintClient({
accessToken: 'your_access_token',
instance: 'https://console.settlemint.com'
});
// Example: List workspaces
const workspaces = await client.workspace.list();
console.log(workspaces);
The SettleMint SDK provides access to various resources. Here's an overview of the available methods:
workspace.list()
: List all workspaces and their applicationsworkspace.read(workspaceId)
: Read a specific workspace and its applicationsblockchainNetwork.list(applicationId)
: List blockchain networks for a given applicationblockchainNetwork.read(blockchainNetworkId)
: Read a specific blockchain networkblockchainNode.list(applicationId)
: List blockchain nodes for a given applicationblockchainNode.read(blockchainNodeId)
: Read a specific blockchain nodemiddleware.list(applicationId)
: List middlewares for a given applicationmiddleware.read(middlewareId)
: Read a specific middlewareintegrationTool.list(applicationId)
: List integration tools for a given applicationintegrationTool.read(integrationId)
: Read a specific integration toolstorage.list(applicationId)
: List storage items for a given applicationstorage.read(storageId)
: Read a specific storage itemprivateKey.list(applicationId)
: List private keys for a given applicationprivateKey.read(privateKeyId)
: Read a specific private keyinsights.list(applicationId)
: List insights for a given applicationinsights.read(insightsId)
: Read a specific insightHere are some examples of how to use the SettleMint SDK:
const client = createSettleMintClient({
accessToken: 'your_access_token',
instance: 'https://console.settlemint.com'
});
const workspaces = await client.workspace.list();
console.log(workspaces);
const client = createSettleMintClient({
accessToken: 'your_access_token',
instance: 'https://console.settlemint.com'
});
const networkId = 'your_network_id';
const network = await client.blockchainNetwork.read(networkId);
console.log(network);
We welcome contributions to the SettleMint SDK! If you'd like to contribute, please follow these steps:
Please ensure that your code follows the existing style and includes appropriate tests and documentation.
The SettleMint SDK is released under the FSL Software License. See the LICENSE file for more details.
FAQs
TheGraph integration module for SettleMint SDK, enabling querying and indexing of blockchain data through subgraphs
The npm package @settlemint/sdk-thegraph receives a total of 11,166 weekly downloads. As such, @settlemint/sdk-thegraph popularity was classified as popular.
We found that @settlemint/sdk-thegraph demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.