
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@aggregion/agr-client
Advanced tools
Node.js client for license management environment in the Aggregion blockchain
Node.js client for license management features of Aggregion blockchain platform (AGR).
npm i @aggregion/agr-client
See API docs here
const AgrClient = require('@aggregion/agr-client');
const config = {
keyProvider: ['key'], // Private keys. May be array or string.
chainId: 'cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f', // Id of chain
httpEndpoint: 'https://devnet.blockchain.aggregion.com/', // Endpoint url
verbose: true // Enable or disable verbose mode
};
const client = new AgrClient(config);
// Generate key pair
const keyPair = await AgrClient.createKeyPair(); // returns {publicKey: '...', privateKey: '...'}
// Create an account
await agg.createAccount('payer', 'accountname', keyPair.publicKey, keyPair.publicKey);
// Transfer AGR
await agg.transfer('sender', 'receiver', new Asset(100, 'AGR'));
// Get account balance
const balance = await agg.getAccountBalance('accountname');
Default run:
npm test
Run with verbose mode:
VERBOSE=1 npm test
ISC
For any questions: info@aggregion.com
FAQs
Node.js client for license management environment in the Aggregion blockchain
We found that @aggregion/agr-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.