Skip to content

Base Sepolia Contract: 0x37c27a8595C09A1073c40931c1A7Cdb5F7dadC7b

License

Notifications You must be signed in to change notification settings

AGWeb18/Elektris

Repository files navigation

🏗 Elektris

Made with Scaffold-ETH-2

Written by a Human

I was driving home from the gym when I saw a family in an Electric Vehicle with their hazards on in a mall parking lot. I asked them if they needed help and they politely declined. As I pulled in my driveway and plugged my EV into my charger, I realized theres no easy way to offer a electric vehicle charging service from your own driveway.

That is where the idea of Elektris came from.

Written by AI

This project is a decentralized application (dApp) that connects electric vehicle (EV) owners with private EV charger owners. Utilizing Ethereums Layer 2 scaling solutions for efficient, low-cost transactions, platform aims to create a peer-to-peer network where individuals can list their personal EV chargers for for others to rent. Key components include:

Blockchain Integration:

For secure, transparent transactions and to maintain a trustless environment. It leverages smart contracts for listing, booking, and payment processes, ensuring integrity and automation of interactions between users.

Geohashing and Privacy:

To address privacy concerns associated with listing personal charging stations, the project employs a technique converts precise geolocations into less precise geolocations, until payment is made.

Off-Chain Data Management:

Precise location details and potentially sensitive user data are managed off-chain, in a secure database. This approach ensures that while the blockchain facilitates trust and transactional integrity, personal privacy is safeguarded.

Integration with Mapping Services:

For user convenience, the dApp integrates with mapping services like Google Maps, enabling users to find nearby chargers easily and receive directions. This feature, while intuitive, emphasizes privacy and data security, revealing precise charger locations only upon booking confirmation.

Income Generation for Charger Owners:

By listing their chargers, individuals can generate passive income, contributing to the platforms appeal. It not only incentivizes the expansion of EV charging infrastructure but also promotes the use of renewable energy sources by making charging more accessible.

Sustainability and Community Building:

The project supports the growth of the EV market by enhancing charging infrastructure accessibility. It fosters a community of EV enthusiasts and environmental advocates, aligning economic incentives with sustainability goals.

Quickstart

To get started with Elektris (Scaffold-ETH 2), follow the steps below:

  1. Clone this repo & install dependencies
git clone https://github.com/AGWeb18/Elektris.git
cd Elektris
yarn install
  1. Run a local network in the first terminal:
yarn chain

This command starts a local Ethereum network using Hardhat. The network runs on your local machine and can be used for testing and development. You can customize the network configuration in hardhat.config.ts.

  1. On a second terminal, deploy the test contract:
yarn deploy

This command deploys a test smart contract to the local network. The contract is located in packages/hardhat/contracts and can be modified to suit your needs. The yarn deploy command uses the deploy script located in packages/hardhat/deploy to deploy the contract to the network. You can also customize the deploy script.

  1. On a third terminal, start your NextJS app:
yarn start

Visit your app on: http://localhost:3000. You can interact with your smart contract using the Debug Contracts page. You can tweak the app config in packages/nextjs/scaffold.config.ts.

Documentation

Visit our docs to learn how to start building with Scaffold-ETH 2.

To know more about its features, check out our website.

Contributing to Scaffold-ETH 2

We welcome contributions to Scaffold-ETH 2!

Please see CONTRIBUTING.MD for more information and guidelines for contributing to Scaffold-ETH 2.