
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@apeswap.finance/contracts
Advanced tools
A collection of smart contract tools and interfaces used by ApeSwap.
A collection of smart contract tools and interfaces used by ApeSwap..
Factories: Turn a contract into a factory using the contract address as an implementation with Clones
or TransparentUpgradeableProxy
Sweeper: Sweep any ERC-20 or NFT locked in a contract with this utility.
Create a GitHub personal access token
Create a .npmrc
file at the root of this repo or at your $HOME dir and add the following lines, replacing <NPM_TOKEN>
with yours
//npm.pkg.github.com/:_authToken=<NPM_TOKEN>
@apeswapfinance:registry=https://npm.pkg.github.com
yarn add @apeswapfinance/contracts
Once installed, you can use the contracts in the library by importing them:
pragma solidity ^0.8.0;
import "@apeswapfinance/contracts/utils/Sweeper";
contract MyContract is Sweeper {
constructor(address[] lockedTokens) Sweeper(lockedTokens) {
}
}
If you're new to smart contract development, head to Developing Smart Contracts to learn about creating a new project and compiling your contracts.
To keep your system secure, you should always use the installed code as-is, and neither copy-paste it from online sources, nor modify it yourself. The library is designed so that only the contracts and functions you use are deployed, so you don't need to worry about it needlessly increasing gas costs.
ApeSwap Contracts exists thanks to its contributors. There are many ways you can participate and help build high quality software. Check out the contribution guide!
ApeSwap Contracts is released under the MIT License.
FAQs
A collection of smart contract tools and interfaces used by ApeSwap.
We found that @apeswap.finance/contracts 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.