
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.
@arianee/contracts
Advanced tools
[](https://www.npmjs.com/package/@arianee/contracts)
This repository contains the smart contracts, deployment scripts, and tests of the Arianee protocol.
We are leveraging the power of Hardhat, an advanced development environment designed specifically for EVMs, to enable efficient and robust DX.
Arianee is a pioneering, blockchain-based protocol designed to forge lasting relationships between brands and their customers. The Arianee protocol empowers brands to issue digital certificates of authenticity or ownership for their products, represented as non-fungible tokens (NFTs) on the Ethereum blockchain. This isn't limited just to physical products, but can also be extended to intangible assets such as loyalty cards, digital goods, experiences and more, creating a versatile ecosystem of verified assets.
Key features of Arianee include:
Read more about the Arianee protocol at docs.arianee.org.
npm install @arianee/contracts
You can use the types and factories generated with TypeChain for ethers6.
Example:
import { CreditManager, CreditManager__factory } from "@arianee/contracts";
const creditManagerContract = CreditManager__factory.connect(
"0x123456",
contractRunner
);
To get started with this repository, first install the necessary dependencies:
npm install
To run the tests, run the following command:
npm run test
To deploy the contracts, run the following command:
npm run deploy
npm run deploy-protocol -- --ver <protocolVersion> --aria <ariaTokenAddress> --forwarder <trustedForwarderAddress> --network <targetNetwork>
: Deploy a new version of the Arianee protocol.npm run configure-protocol -- --ver <protocolVersion> --aria <ariaTokenAddress> --forwarder <trustedForwarderAddress> --network <targetNetwork>
: Configure the CreditManager and RulesManager.contracts of a deployed Arianee protocol. Please also take a look at ConfigureProtocolTaskParams
in ./plugins/configure-protocol.ts
before running this command.npm run deploy-registry -- --ver <registryVersion> --arianee <arianeeAddress> --forwarder <trustedForwarderAddress>
: Deploy an OwnershipRegistry contract.npm run register-token -- --regver <registryVersion> --address <tokenAddress> --subens <subdomain>.arianee.eth --network <targetNetwork>
: Register a token on the OwnershipRegistry.npm run register-issuer -- --regver <registryVersion> --address <issuerAddress> --subens <subdomain>.arianee.eth --network <targetNetwork>
: Register an issuer on the OwnershipRegistry.npm run deploy-test-smart-asset -- --protover <protocolVersion> --forwarder <trustedForwarderAddress> --network <targetNetwork>
: Deploy a TestSmartAsset contract with pre-defined parametersnpm run test-flow -- --protover <protocolVersion> --regver <registryVersion> --smartasset <smartAssetAddress> --network <targetNetwork> --subens <subdomain>.arianee.eth --ensnetwork <targetEnsNetwork>
: Execute a pre-defined test flow.npm run deploy-ctf -- --ver <contractVersion> --forwarder <trustedForwarderAddress>
: Deploy a MockGaslessCaptureTheFlag contract.npm run gen:interfaces
: Run a custom Hardhat plugin to generate Solidity interfaces for all contracts defined in plugins/gen-interfaces.ts
.npm run gen:doc
: Run @primitivefinance/hardhat-dodoc to generate documentation for all contracts.npx hardhat help
: Displays help and usage instructions for Hardhat.npx hardhat node
: Starts a local Ethereum node on your machine.We welcome contributions from the community. To contribute, please fork the repository and submit a pull request with your changes.
Make sure to include tests for any new functionality and ensure that all tests are passing before submitting the pull request.
FAQs
[](https://www.npmjs.com/package/@arianee/contracts)
We found that @arianee/contracts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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.
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.