Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dutterbutter/paymaster-ui-starter
https://github.com/dutterbutter/paymaster-ui-starter
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dutterbutter/paymaster-ui-starter
- Owner: dutterbutter
- Created: 2023-06-23T16:26:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-26T01:56:18.000Z (over 1 year ago)
- Last Synced: 2024-04-14T10:32:00.446Z (7 months ago)
- Language: JavaScript
- Size: 85.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Paymaster UI Starter Template
This is a frontend application for the Greeter contract, built with [Next.js](https://nextjs.org/) and deployed on the zkSync Testnet.
## Getting Started
To get started with the project, first clone the repository:
```
git clone [email protected]:dutterbutter/paymaster-ui-starter.git
```Next, install the required dependencies:
```
cd paymaster-ui-starter && yarn install
```## Running the Application
To run the application, use the following command:
```
yarn dev
```This will start the Next.js server on `localhost:3000`.
## Updating the Greeting
To change the greeting message, navigate to `localhost:3000` in your web browser. Make sure you have MetaMask set up for the zkSync Testnet.
If you possess the applicable NFT then the transaction fees will be covered by the paymaster.
Enter a new greeting message and submit it by clicking the "Change greeting" button.
Note that the application is currently only deployed on the zkSync Testnet, so you will need to have an account on that network and some testnet funds to use it.
## Contributing
If you would like to contribute to the project, please follow the steps below:
1. Fork the repository
2. Create a new branch for your changes
3. Make your changes and commit them
4. Push your changes to your fork
5. Submit a pull request to the main repository