Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/irisxyz/iris
iris, the future of decentralized social
https://github.com/irisxyz/iris
Last synced: 4 days ago
JSON representation
iris, the future of decentralized social
- Host: GitHub
- URL: https://github.com/irisxyz/iris
- Owner: irisxyz
- Created: 2022-03-20T22:46:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-18T00:34:43.000Z (almost 2 years ago)
- Last Synced: 2024-08-01T21:43:00.012Z (3 months ago)
- Language: JavaScript
- Homepage: https://irisapp.xyz/
- Size: 7.13 MB
- Stars: 15
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - Iris
- awesome-lens-protocol - Iris - The future of decentralized social. (Projects / Open Source)
README
# iris
lens protocol social media implementation
## Getting Started
You will need Metamask installed on Google Chrome, connected to Polygon Mumbai network
`npm install` to install all dependencies
## Frontend
`cd frontend`
`npm install` install deps
`npm start` run react app at http://localhost:3000/
### Gasless
On localhost you must run app on port 4783 to enable gasless tx with Lens API
`/frontend/.env` add `PORT=4783`
### Changing Chain
Default chain on localhost is `mumbai`. If you want to change it change `/frontend/.env` to `VITE_CHAIN="polygon"`
Remember all `.env` changes require an `npm start` restart.
## Deploying
Testnet
- change `.env` to `VITE_CHAIN="mumbai"`
- `npm run build`
- `firebase deploy --only hosting:testnet`Prod
- change `.env` to `VITE_CHAIN="polygon"` or remove `VITE_CHAIN`
- `npm run build`
- `firebase deploy --only hosting:prod`