Skip to content

Commit

Permalink
chore: add docs and env
Browse files Browse the repository at this point in the history
  • Loading branch information
NikosFotiadis committed Nov 19, 2023
1 parent 25c00eb commit 8d49861
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 54 deletions.
67 changes: 13 additions & 54 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,20 @@
# 🏗 Scaffold-ETH 2
# TapTrust

<h4 align="center">
<a href="https://docs.scaffoldeth.io">Documentation</a> |
<a href="https://scaffoldeth.io">Website</a>
</h4>

🧪 An open-source, up-to-date toolkit for building decentralized applications (dapps) on the Ethereum blockchain. It's designed to make it easier for developers to create and deploy smart contracts and build user interfaces that interact with those contracts.

⚙️ Built using NextJS, RainbowKit, Hardhat, Wagmi, and Typescript.

-**Contract Hot Reload**: Your frontend auto-adapts to your smart contract as you edit it.
- 🔥 **Burner Wallet & Local Faucet**: Quickly test your application with a burner wallet and local faucet.
- 🔐 **Integration with Wallet Providers**: Connect to different wallet providers and interact with the Ethereum network.

![Debug Contracts tab](https://github.com/scaffold-eth/scaffold-eth-2/assets/55535804/1171422a-0ce4-4203-bcd4-d2d1941d198b)
TapTrust redefines event experiences with NFC & Ethereum's Account Abstraction, offering a unique, etherless way to engage. Each tap with your NFC chip signs transactions & maintains privacy with a fresh, anonymous address.

## Requirements

Before you begin, you need to install the following tools:

- [Node (v18 LTS)](https://nodejs.org/en/download/)
- Yarn ([v1](https://classic.yarnpkg.com/en/docs/install/) or [v2+](https://yarnpkg.com/getting-started/install))
- [Git](https://git-scm.com/downloads)
- To use the front-end an [ARX](https://arx.org/) Halo chip is required
- In order to generate the file required to multi attest users use the [bulk HaLo scanning app](https://bulk.vrfy.ch/)

## Running locally

- The app is running on Base Goerli test
- If you create your own attestations you need to change the `VALID_ATTESTER` env variable in `.env`

## Quickstart

Expand All @@ -30,49 +23,15 @@ To get started with Scaffold-ETH 2, follow the steps below:
1. Clone this repo & install dependencies

```
git clone https://github.com/scaffold-eth/scaffold-eth-2.git
cd scaffold-eth-2
git clone https://github.com/NikosFotiadis/TapTrust.git
cd TapTrust
yarn install
```

2. 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`.

3. 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.

4. On a third terminal, start your NextJS app:
1. 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`.

Run smart contract test with `yarn hardhat:test`

- Edit your smart contract `YourContract.sol` in `packages/hardhat/contracts`
- Edit your frontend in `packages/nextjs/pages`
- Edit your deployment scripts in `packages/hardhat/deploy`

## Documentation

Visit our [docs](https://docs.scaffoldeth.io) to learn how to start building with Scaffold-ETH 2.

To know more about its features, check out our [website](https://scaffoldeth.io).

## Contributing to Scaffold-ETH 2

We welcome contributions to Scaffold-ETH 2!

Please see [CONTRIBUTING.MD](https://github.com/scaffold-eth/scaffold-eth-2/blob/main/CONTRIBUTING.md) for more information and guidelines for contributing to Scaffold-ETH 2.
Visit your app on: `http://localhost:3000`
1 change: 1 addition & 0 deletions packages/nextjs/.env
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
NEXT_PUBLIC_ALCHEMY_API_KEY="1S3TK6RHrKP96EyqYy54mZJSjJArI-5a"
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID=
VOTING_ADDRESS=
VALID_ATTESTER="0xD5c08CfBe6C6663e0A3203DA8d5CFECbF10116dB"
1 change: 1 addition & 0 deletions packages/nextjs/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
# More info: https://nextjs.org/docs/pages/building-your-application/configuring/environment-variables
NEXT_PUBLIC_ALCHEMY_API_KEY=
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID=
VALID_ATTESTER=

0 comments on commit 8d49861

Please sign in to comment.