Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@stakebird/api
Advanced tools
@stakebird/api
A client library for the Regen Ledger.
The library exposes one main TypeScript class: the StakebirdApi
class. Import it like this in your code:
import { StakebirdApi } from '@stakebird/api';
// Create a new instance of the StakebirdApi class.
const api = new StakebirdApi({
// StakebirdApi supports multiple client connections to interact with a node:
// - via the Tendermint RPC
// - via gRPC
// - via gRPC-web
// - via REST and gRPC-gateway
connection: {
// Here, we are using the Tendermint RPC client connection.
type: 'tendermint',
url: 'http://devnet.stakebird.com:26657',
},
});
// Fetch the balance of an address
const myAddress = 'stb...';
const balances = await api.query.cosmos.bank.v1beta1.AllBalances({
address: myAddress,
});
console.log(balances); // Prints `{"balances":[{"denom":"uegg","amount":"10000000000"}],"pagination":{"total":1}}`
TODO (Protobuf, decoration, signing)
FAQs
A client library for the Stakebird blockchain
We found that @stakebird/api 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.