Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1014 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 1014 Bytes

Community

CommunityJS

About

CommunityJS is a Javascript library to interact directly with the community contract, it handles all the communication between the frontend and the SmartWeave contract that's available on the permaweb.

Documentation

We have in place a full documentation of the functions community.js offers.

To get started you need to have community-js installed on your webpage or server. You can do this by using nodejs with:

npm install community-js

Or you can use the currently permaweb version for your frontend.

Minified:

<script src="https://arweave.net/Lan1Vv19EA_MVlt2-PS9zdQHDRTFJ9s7esV4hUtzs5s"></script>

Full:

<script src="https://arweave.net/322Oi33FIXJuKYxelGnlsmTB5qj3q64uzRO0tkAmwEY"></script>

Documentation

To read about the CommunityJS usage go here: https://github.com/CommunityXYZ/community-js/blob/master/docs/classes/community.default.md