arweave-javascript-example
arweave-javascript-example copied to clipboard
Example of how to use Arweave in a JavaScript client application with React
Arweave React example
Adding global, permanent, and decentralized storage to your app with Arweave.
This is a code example of how to use Arweave and Arweave JS to save data to a permanant, decentralized network from a JavaScript application.
This project can either be deployed with one click using Gitpod or cloned and run locally.
Dependencies
To use this app, you need to have the Arconnect Arweave wallet installed as a browser extension.
Open in Gitpod
To deploy this project to Gitpod, click this button:
Run locally
To run this project locally, follow these steps.
- Clone the project locally, change into the directory, and install the dependencies:
git clone [email protected]:dabit3/arweave-javascript-example.git
cd arweave-javascript-example
# install using NPM or Yarn
npm install
# or
yarn
- Start the local Arweave gateway
npx arlocal
- Start the app
npm run dev