https://github.com/dev-protocol/niwa
🌈 Social Token Launcher.
https://github.com/dev-protocol/niwa
dao tokenization web3-dapp
Last synced: 6 months ago
JSON representation
🌈 Social Token Launcher.
- Host: GitHub
- URL: https://github.com/dev-protocol/niwa
- Owner: dev-protocol
- Created: 2022-01-05T06:01:00.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-03T04:23:14.000Z (11 months ago)
- Last Synced: 2025-03-03T05:24:28.675Z (11 months ago)
- Topics: dao, tokenization, web3-dapp
- Language: TypeScript
- Homepage: https://launchpad-henna.vercel.app/
- Size: 3.16 MB
- Stars: 18
- Watchers: 9
- Forks: 5
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
Awesome Lists containing this project
README
# Niwa
## Development
For local development please create a .env file using the dotenv file found in the root folder as a template
```
# this can be arbitrum-one, polygon-mainnet, or polygon-mumbai
VITE_L2_NETWORK=polygon-mumbai
VITE_INFURA_PROJECT_ID=
VITE_INFURA_BASE_ENDPOINT=
VITE_IS_ROOT= # boolean
```
Setting `VITE_IS_ROOT` to `true` will prompt the network select page.
Otherwise, it will route to whatever `VITE_L2_NETWORK` you have setup with correct Infura details.
### use OAuth YouTube Account
The following environment variables need to be set:
```
VITE_YOUTUBE_CLIENT_ID=XXX.apps.googleusercontent.com
VITE_YOUTUBE_AUTH_REDIRECT_URI=https://HOST:PORT/auth/youtube/callback
```
See also:
https://developers.google.com/youtube/v3/getting-started
### use OAuth Discord Account
The following environment variables need to be set:
```
VITE_DISCORD_CLIENT_ID=YOUR_CLIENT_ID
VITE_DISCORD_CLIENT_SECRET=YOUR_CLIENT_SECRET
VITE_DISCORD_AUTH_REDIRECT_URI=http://HOST:PORT/auth/discord/callback
```
See also:
https://discord.com/developers/docs/topics/oauth2
### Adding your dApp to the Apps Page
Create a PR with your dapp added in `dapps.json` file in the root directory.