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.
@maticnetwork/maticjs
Advanced tools
This repository contains the maticjs
client library. maticjs
makes it easy for developers, who may not be deeply familiar with smart contract development, to interact with the various components of Matic Network.
This library will help developers to move assets from Ethereum chain to Matic chain, and withdraw from Matic to Ethereum using fraud proofs.
https://wiki.polygon.technology/docs/tools/matic-js/get-started
Our Discord is the best way to reach us ✨.
You are very welcome to contribute, please see contributing guidelines - [Contribute].
Thank you to all the people who already contributed to matic.js!
Made with contributors-img.
Setup
npm ci
How to debug
Write your code inside file test/debug.js
and run below code
npm run debug
Above command will build the source code & install the built version into test folder, which will be used by debug.js
.
Lint
# To check lint errors
npm run lint
# To fix most common lint errors
# Note that it might not fix all errors, some need manual intervention
npm run lint:fix
Build code
npm run build
Run test
npm run test
Generate distribution files
npm run deploy
NPM publish
Before running publish script, make sure you have updated version properly.
Note that prepublishOnly
script will be automatically called while publishing. It will check lint, clean dist/lib folders and build fresh distribution files before it executes npm publish
.
npm publish
MIT
FAQs
Javascript developer library for interacting with Matic Network
The npm package @maticnetwork/maticjs receives a total of 12,386 weekly downloads. As such, @maticnetwork/maticjs popularity was classified as popular.
We found that @maticnetwork/maticjs 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.