
WePark will enable everyday individuals to rent their spaces on the network. However, in some cases, there are individuals with vacant pieces of land. They can host up to 50 parking spaces and add amenities such as EV chargers. Therefore, we now permit individuals to join the WePark network, list their single space or their parking lot. Guests can become members and park anywhere on the network of parking spaces/lots for a low monthly fee. The parking simulator shows the transactions that happen as a car parks in a space, leaves a space, and demonstrates that it's real-time, ensuring that availability is always accurate.
WePark has been integrated on the Lisk testnet with the ParkSpaceNFT, ParkToken, and WeParkMembershipNFT contracts. This integration enables users to mint NFTs for parking spaces and memberships using the Lisk blockchain. We Park Network smart contracts, here is a quick overview of how it works:
- The core logic is split into 3 parts, ParkSpaceNFT, WeMembershipNFT, and WeParkNetwork.
- ParkSpaceNFT: This is a ERC721 standards NFT smart contract. This is being used to mint parking space-related NFTs only. Only the owner will be able to mint these NFTs.
- WeMembershipNFT: this is also a ERC721 standards NFT smart contract. This will be used to mint membership NFTs only. Users will mint membership NFT by themselves while paying the membership fee.
- WeParkNetwork: This is the core smart contract where I have implemented the core logic of our project. All the available ParkSapce NFTs will be visible here, users will choose their spot/space.
Node 18.17.0+
├── app
│ ├── about
│ ├── account
│ ├── admin
│ ├── dao
│ ├── home
│ ├── join-wepark
│ ├── simulator
│ ├── transactions
│ └── mint
├── backend
│ ├── controllers
│ ├── docs
│ ├── middleware
│ ├── models
│ ├── routes
│ ├── services
│ ├── tokens
│ ├── utils
│ └── views
├── components
│ └── ...
├── containers
│ └── ...
├── hooks
│ └── ...
├── public
│ └── ...
├── store
│ └── ...
├── types
│ └── ...
└── utils
└── ...
You can run the website following command:
npm install
npm run dev
yarn install
yarn dev
pnpm install
pnpm dev
You should now be able to access the application at http://localhost:3000.