Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@burner-factory/token-exchange-pairs
Advanced tools
Exchange pairs for the Exchange plugin (`@burner-wallet/exchange`). Allows backed tokens created by the Burner Factory to be exchanged to and from the native asset.
@burner-factory/token-exchange-pairs
)Exchange pairs for the Exchange plugin (@burner-wallet/exchange
). Allows backed tokens created by
the Burner Factory to be exchanged to and from the native asset.
import React from 'react';
import ReactDOM from 'react-dom';
import { xdai, ERC777Asset } from '@burner-wallet/assets';
import BurnerCore from '@burner-wallet/core';
import { InjectedSigner, LocalSigner } from '@burner-wallet/core/signers';
import { XDaiGateway } from '@burner-wallet/core/gateways';
import ModernUI from '@burner-wallet/modern-ui';
import Exchange from '@burner-wallet/exchange';
import { BackedTokenPair } from '@burner-factory/token-exchange-pairs';
const token = new ERC777Asset({
id: 'vend',
name: 'Test Vendable',
network: '100',
address: '0xCcDc8B0A05edB13170706A5621Cb60cC8c4C363D',
});
const core = new BurnerCore({
signers: [new InjectedSigner(), new LocalSigner()],
gateways: [new XDaiGateway()],
assets: [xdai, token],
});
const exchange = new Exchange({
pairs: [new BackedTokenPair('vend', 'xdai')],
});
const BurnerWallet = () =>
<ModernUI core={core} plugins={[exchange]} />
ReactDOM.render(<BurnerWallet />, document.getElementById('root'));
FAQs
Exchange pairs for the Exchange plugin (`@burner-wallet/exchange`). Allows backed tokens created by the Burner Factory to be exchanged to and from the native asset.
The npm package @burner-factory/token-exchange-pairs receives a total of 3 weekly downloads. As such, @burner-factory/token-exchange-pairs popularity was classified as not popular.
We found that @burner-factory/token-exchange-pairs 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.