Skip to content

Latest commit

 

History

History
107 lines (78 loc) · 4 KB

File metadata and controls

107 lines (78 loc) · 4 KB

near-social-js

npm weekly npm downloads

Typescript SDK for interacting with the social contract (social.near)

Table of Contents

About

This SDK provides a TypeScript interface for interacting with NEAR Social, a decentralized social network built on NEAR Protocol. It simplifies reading and writing data to the social.near contract.

Related Projects

Getting Started

Installing dependencies

bun install

Building for production

bun run build

Running tests

bun run test

Appendix

Social Contract

Network Account ID Link
Mainnet social.near https://nearblocks.io/address/social.near
Testnet v1.social08.testnet https://testnet.nearblocks.io/address/v1.social08.testnet

Useful Commands

Command Description
bun run build Builds the source code into the dist/ directory.
bun run docs:build Builds the documentation into the .docs/ directory.
bun run docs:serve Serves the built documentation from the .docs/ directory.
bun run docs:start Builds and runs the documentation in a development environment with hot reloading.
bun run lint Runs the linter on .js and .ts files.
bun run fmt Runs prettier on .js and .ts files.
bun run test Runs the tests using Vitest and near-kit Sandbox.

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you're interested in contributing to this project, please read the contribution guide.