near-social-bridge
v1.7.1
Published
This library allows you to create a common application using ReactJS and inject it in a controlled way into a Widget on Near Social. Therefore, the Widget talks to the React application and vice versa, making it possible to consume Discovery API resources
Downloads
62
Maintainers
Readme
NEAR Social Bridge
This library allows you to create a common application using ReactJS and use it inside a BOS Component. Therefore, the BOS Component talks to the React application and vice versa, making it possible to consume the Blockchain Operating System resources within the React application.
As this is a library that works integrated with Blockchain OS, the tests were built to be executed in real-time. Run tests here
Check out some app examples:
Install
Install it using npm or yarn:
# npm
npm install near-social-bridge
# yarn
yarn add near-social-bridge
How to Use
Here's a complete guide where you can go over all features provided by Near Social Bridge.
Main Features
- Setup
- BOS API
- Requests
- Components
- Hooks
- Preparing a new BOS Component
- Testing the Application with Local Viewer
Extra Features
React / Next App Deployment
You can deploy your app in two ways: decentralized or centralized.
Contributing
Please read CONTRIBUTING.md.