Git Product home page Git Product logo

matic.js's Introduction

Matic SDK

GitHub version Build Status npm version GitHub TEST

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.

Docs

https://maticnetwork.github.io/matic.js

Support

Our Discord is the best way to reach us โœจ.

Contributors

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.

Development

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 builded 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

License

MIT

matic.js's People

Contributors

0xashish avatar amanraj1608 avatar ankitboghra avatar arthcp avatar atvanguard avatar ayushgupta0610 avatar dbstock avatar dependabot[bot] avatar eltociear avatar etienne-martin avatar fuzious avatar itsmnthn avatar itzmeanjan avatar jdkanani avatar meshugah avatar miguelmota avatar nitinmittal23 avatar ptsayli avatar py-zoid avatar rahuldamodar94 avatar rilril avatar sanchaymittal avatar shahbhavir avatar steversio avatar tomafrench avatar ujjwalgupta94 avatar ujjwalguptaofficial avatar vaibhavchellani avatar vers10ne avatar wolf76 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.