examples/js-client-examples/browser-example
renovate[bot] c310cda583
fix(deps): update fluence js (#455)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 19:20:27 -05:00
..
aqua feat!: Replace old fluence-js with JS Client (#425) 2023-02-21 12:20:51 +03:00
public feat!: Replace old fluence-js with JS Client (#425) 2023-02-21 12:20:51 +03:00
src feat!: Replace old fluence-js with JS Client (#425) 2023-02-21 12:20:51 +03:00
.gitignore feat!: Replace old fluence-js with JS Client (#425) 2023-02-21 12:20:51 +03:00
.prettierrc.js feat!: Replace old fluence-js with JS Client (#425) 2023-02-21 12:20:51 +03:00
jest.config.js feat!: Replace old fluence-js with JS Client (#425) 2023-02-21 12:20:51 +03:00
package-lock.json fix(deps): update fluence js (#455) 2023-07-11 19:20:27 -05:00
package.json fix(deps): update fluence js (#455) 2023-07-11 19:20:27 -05:00
README.md feat: Update readme files for JS Client examples (#430) 2023-02-23 21:02:15 +03:00
tsconfig.json feat!: Replace old fluence-js with JS Client (#425) 2023-02-21 12:20:51 +03:00

Getting Started with Fluence

This sample project demonstrates how fluence network can be accessed from the browser. As an example it retrieves the timestamp of the current time from the relay node. The project is based on an create-react-app template with slight modifications to integrate Fluence. The primary focus is the integration itself, i.e React could be swapped with a framework of your choice.

Getting started

Install dependencies:

npm i

Run aqua compiler in watch mode:

npm run watch-aqua

Start the application

npm start

The browser window with localhost:3000 should open

Learn more

To learn more, refer to the documentation page