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/thgva-OqbiWedk6Q_ySHd-hKy-8SrDB-CZ0GjQNEv98"></script>

Full:

<script src="https://arweave.net/omBWYYVLRgjOvVv-76YJ20R7tGS93Luthx0OVEoZUIk"></script>

Documentation

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