Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@getsafle/vault-bsc-controller
Advanced tools
Changelog
1.2.4 (2023-11-30)
Readme
A Module written in javascript for managing various keyrings of BSCereum accounts, encrypting them, and using them. This repository contains BSCHdKeyring
class to create Binance smart chain wallet from Safle Vault.
npm install --save @getsafle/vault-bsc-controller
const { KeyringController, getBalance } = require('@getsafle/vault-bsc-controller');
const bscController = new KeyringController({
encryptor: {
// An optional object for defining encryption schemes:
// Defaults to Browser-native SubtleCrypto.
encrypt(password, object) {
return new Promise('encrypted!');
},
decrypt(password, encryptedString) {
return new Promise({ foo: 'bar' });
},
},
});
const keyringState = await bscController.createNewVaultAndKeychain(password);
const keyringState = await bscController.createNewVaultAndRestore(password, mnemonic);
const keyringState = await bscController.addNewAccount(keyringObject);
const privateKey = await bscController.exportAccount(address);
const signedTx = await bscController.signTransaction(bscTx, _fromAddress);
const signedMsg = await bscController.signMessage(msgParams);
const signedObj = await bscController.sign(msgParams, pvtKey, web3Obj);
const signedData = await bscController.signTypedMessage(msgParams);
const balance = await getBalance(address, web3);
const receipt = await bscController.sendTransaction(signedTx, web3);
const fees = await bscController.getFees(rawTx, web3);
FAQs
[![npm version](https://badge.fury.io/js/@getsafle%2Fvault-bsc-controller.svg)](https://badge.fury.io/js/@getsafle%2Fvault-bsc-controller) [![Discussions][discussions-badge]]
The npm package @getsafle/vault-bsc-controller receives a total of 4 weekly downloads. As such, @getsafle/vault-bsc-controller popularity was classified as not popular.
We found that @getsafle/vault-bsc-controller demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.