Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/everyways/dao-web3
web3 smart contact
https://github.com/everyways/dao-web3
Last synced: 6 days ago
JSON representation
web3 smart contact
- Host: GitHub
- URL: https://github.com/everyways/dao-web3
- Owner: Everyways
- Created: 2021-12-22T09:17:20.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T09:41:51.000Z (almost 2 years ago)
- Last Synced: 2023-08-15T05:08:57.118Z (over 1 year ago)
- Language: JavaScript
- Size: 3.96 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# `Moralis Poll [web3-social-network-boilerplate]`
This Project is a fork of [Ethereum Boilerplate](https://github.com/ethereum-boilerplate/ethereum-boilerplate) and demostrates how you can build your own Web3 Ethereum Social Network. This project of course work on any EVM-compatible blockchain such as Polygon, Avalanche, Binance Smart Chain and other such chains.
![social](https://user-images.githubusercontent.com/78314301/142860643-f458fd69-ab8b-4408-82e3-d02e10ea590e.gif)
# ⭐️ `Star us`
If this boilerplate helps you build Ethereum dapps faster - please star this project, every star makes us very happy!
# 🤝 `How to get help`
If you have any questions or need help running this project please don't hesitate to ask in [our forum](https://forum.moralis.io/t/ethereum-social-media-boilerplate/4655). We are monitoring it 24/7 and are here to help you get up to speed.
# 🚀 Quick Start
📄 Clone or fork `web3-social-network-boilerplate`:
```sh
git clone https://github.com/ethereum-boilerplate/web3-social-network-boilerplate
```💿 Install all dependencies:
```sh
cd web3-social-network-boilerplate
yarn install
```✏ Rename `.env.example` to `.env` in the main folder and provide your `appId` and `serverUrl` from Moralis ([How to start Moralis Server](https://docs.moralis.io/moralis-server/getting-started/create-a-moralis-server))
Example:```jsx
REACT_APP_MORALIS_APPLICATION_ID = xxxxxxxxxxxx
REACT_APP_MORALIS_SERVER_URL = https://xxxxxx.grandmoralis.com:2053/server
```📄 Set your Contract
```sh
- Deploy smart contracts from this folder https://github.com/ethereum-boilerplate/web3-social-network-boilerplate/tree/main/smart%20contracts
- Add some categories through the addCategory function.
- Set listeners in the Moralis Server to sync all your contracts events.
- Add your contract address in MoralisDappProvider.js contract address as the default value of the state
```🚴♂️ Run your App:
```sh
yarn start
```