@massalabs/massa-web3
TypeScript icon, indicating that this package has built-in type declarations

4.0.1 • Public • Published

massa-web3 Node CI

check-code-coverage

PREREQUISITES:

  • NodeJS 14+
  • npm / yarn (see package.json)

Massa-web3 is a TypeScript library that enables you to communicate with the Massa blockchain. It offers an interface to retrieve data directly from the blockchain, interact with smart contracts, acquire and monitor events, and perform additional actions.

Installation

Massa-web3 could be used as a library for frameworks or as a stand-alone bundled js file which can be easily loaded into the browser.

Library (Node.js/React/Vue.js) usage

npm install @massalabs/massa-web3

Browser usage

If you want to use massa-web3 in the browser directly, you can add the following script to your html file:

<script
    type="text/javascript"
    src="https://cdn.jsdelivr.net/npm/@massalabs/massa-web3@x.x.x/bundle.js"
></script>

whereby the x.x.x is one of the available released versions under Massa-web3's releases page:

In your code, once the script is fully loaded, just use window.massa to access all massa-web3 exports.

<script>console.log("Massa Web3 ", window.massa);</script>

Documentation

Contributing

We welcome contributions from the community!

If you would like to contribute to massa-web3, please read the CONTRIBUTING file.

License

massa-web3 is released under the MIT License.

Powered By

massa-web3 is developed with love by MassaLabs and powered by a variety of open-source projects.

Readme

Keywords

Package Sidebar

Install

npm i @massalabs/massa-web3

Weekly Downloads

760

Version

4.0.1

License

MIT

Unpacked Size

943 kB

Total Files

375

Last publish

Collaborators

  • glibert
  • aurelienft
  • damip
  • evgenip
  • qdr