
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
eosio-wallets
Advanced tools
Frontend library to handle EOSIO wallets.
Allows to connect/disconnect to Anchor/ScatterJS wallets and push transactions.
Optionally makes possible backend transaction cosigning to pay for user resources.
yarn add eosio-wallets
import Wallet from "eosio-wallets";
// basic usage
Wallet.init({
blockchain: "eos",
appId: "myapp",
});
// cosigner usage
Wallet.init({
rpcEndpoint: "https://eos.api.eosnation.io", // EOSIO RPC endpoint
chainId: "aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906", // Chain ID
appId: "myapp", // App ID for wallets
cosignEndpoint: "https://edge.pomelo.io/api/cosign", // optional: cosign endpoint
cosignReferrer: "myapp" // optional: referrer for cosign noop action must adhere to EOSIO name convention
});
// connect to wallet ("anchor"/"scatter" protocols allowed)
const account = await Wallet.login(protocol);
// define action
const action = {
account: 'eosio.token',
name: 'transfer',
authorization: [{ actor: 'sender', permission: 'active' }],
data: { from: 'sender', to: 'receiver', quantity: '0.0001 EOS', memo: 'hello' }
};
// push the action
const cosign = true;
const { transaction_id, processed } = await Wallet.pushTransaction( [action], protocol, cosign );
// disconnect
await Wallet.logout();
FAQs
EOSIO wallets
We found that eosio-wallets 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.