
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@logion/solidity-contracts
Advanced tools
Smart contracts establishing the link between your tokens and the logion network.
Currently, a single contract is provided: Logion. This contract links an NFT (e.g. ERC721 or ERC1155)
to a logion collection item.
$ yarn install --dev @logion/solidity-contracts
Once installed, you can use the contract in the library by importing them:
pragma solidity ^0.8.17;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@logion/contracts/Logion.sol";
contract MyCollectible is ERC1155, Logion {
constructor()
ERC1155("https://some.domain/{id}.json")
Logion(
Strings.toHexString(address(this)), // The address of the contract is being used to generate a unique item ID per token
"334801581596596632473758891935041239976", // The collection LOC ID
"certificate.logion.network" // The domain for building a logion certificate URL
)
{
}
}
FAQs
Logion Smart Contract library for Solidity
We found that @logion/solidity-contracts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.