Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@latticexyz/abi-ts
Advanced tools
Create TypeScript type declaration files (`.d.ts`) for your ABI JSON files.
Create TypeScript type declaration files (.d.ts
) for your ABI JSON files.
This allows you to import your JSON ABI and use it directly with libraries like viem and abitype.
pnpm add @latticexyz/abi-ts
pnpm abi-ts
By default, abi-ts
looks for files with the glob **/*.abi.json
, but you can customize this glob with the --input
argument, e.g.
pnpm abi-ts --input 'abi/IWorld.sol/IWorld.abi.json'
Version 2.2.3
Release date: Tue Sep 10 2024
feat(cli): deploy custom world (#3131) (@latticexyz/cli, @latticexyz/world)
MUD config now supports a deploy.customWorld
option that, when used with the CLI, will deploy the specified custom World implementation.
Custom implementations must still follow the World protocol.
If you want to extend the world with new functions or override existing registered functions, we recommend using root systems. However, there are rare cases where this may not be enough to modify the native/internal World behavior. Note that deploying a custom World opts out of the world factory, deterministic world deploys, and upgradeable implementation proxy.
import { defineWorld } from "@latticexyz/world";
export default defineWorld({
customWorld: {
// path to custom world source from project root
sourcePath: "src/CustomWorld.sol",
// custom world contract name
name: "CustomWorld",
},
});
fix(explorer): world address cli option as hex (#3155) (@latticexyz/explorer)
Fixed an issue with --worldAddress
CLI flag being incorrectly interpreted as a number rather a hex string. Additionally, added --hostname
option for specifying the hostname on which to start the application.
feat(cli): speed up dev deploy with temporary automine during deploy (#3130) (@latticexyz/cli)
Speed up deployment in development by temporarily enabling automine mode for the duration of the deployment.
FAQs
Create TypeScript type declaration files (`.d.ts`) for your ABI JSON files.
The npm package @latticexyz/abi-ts receives a total of 1,610 weekly downloads. As such, @latticexyz/abi-ts popularity was classified as popular.
We found that @latticexyz/abi-ts demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.