Salmandabbakuti / supertoken-wizard-particle-dca-hack

SuperToken Wizard With Particle Network Auth and Wallet Management

Home Page:https://supertoken-wizard-particle-dca-hack.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SuperToken Wizard

Okay, First, What are SuperTokens and Superfluid Protocol

Super Tokens extend the ERC20 token standard by integrating additional functionalities like streams and distributions. Superfluid Protocol is a framework for building programmable and composable tokens on blockchain. It enables real-time, permissionless, and frictionless token transfers with customizable properties such as continuous token streams, instantaneous payments, and tokenized memberships. Superfluid tokens can represent various assets, including money, services, or even shares in a DAO.

The SuperToken Wizard is a web-based interface that allows developers or individuals to easily deploy a Super Token contract without the need for manually searching for the right contracts and parameters or configuring them individually. With this wizard, you can quickly generate a customized Super Token contract based on your specific needs, copy it or open in remix directly for further customization and deployment, Wizard also allow you to deploy and initialize Super Token contract right from the app. Utilizing Particle Auth, it offers seamless social login integration, enabling authentication via Google, GitHub, email, phone, and blockchain wallets like MetaMask, WalletConnect, and RainbowKit. You can also switch between different blockchain networks with in the wizard to deploy Super Tokens on your preferred network.

Screen1

Screen2

Screen3

Screen4

Features

1. Connect Wallet and Switch Networks: The wizard allows you to connect your wallet and switch between different blockchain networks, enabling you to deploy Super Tokens on your preferred network.

2. Social Login and Multi-Network Support: Leveraging Particle Auth, the SuperToken Wizard offers a streamlined authentication process. Users can sign in using popular social platforms such as Google, GitHub, email, phone, as well as blockchain wallets like MetaMask, WalletConnect, and RainbowKit. The SuperToken Wizard supports deployment on various blockchain networks, allowing users to seamlessly switch between networks based on their preferences and requirements.

3. Customizable Contract Generation: You can input parameters such as token name, token symbol, premint quantity, and premint receiver address to generate a customized contract code for your Super Token. Additionally, you can enable or disable features like mintable, burnable, capped supply and access control(ownable or roles) for the token.

4. Copy and Open in Remix: The generated contract code can be easily copied or opened in Remix IDE directly for further customization and deployment.

5. Compile and Copy Artifacts: The wizard provides the functionality to compile the contract code and copy the compiled artifacts, including the ABI and bytecode, for future reference or integration with other tools.

6. Deploy and Initialize: The wizard allows you to deploy and initialize the Super Token contract right from the app. You can also view the transaction details and the deployed contract address.

Tech Stack

  • Frontend: Next.js, Antd, Particle Auth(Social wallets, connection and chain management)
  • Backend: Node.js, Express.js
  • Web3 Client: ethers.js, Particle Auth(Provider, Social wallets, connection and chain management)
  • Smartcontracts: Solidity, Hardhat, OpenZeppelin, Superfluid Contracts

Getting Started

Prerequisites

First, run the backend development server(hardhat compiler API):

npm install
npm run dev

Usage(Compiler API)

curl -X POST -H "Content-Type: application/json" -d '{"code": "pragma solidity ^0.8.0; contract MyToken { string public name; constructor(string memory _name) { name = _name; } }"}' http://localhost:4000/api/compile

The response will contain the compiled ABI and bytecode of the contract.

Then, run the frontend development server:

Note: Copy client/.env.example to client/.env and update the values with your own.

cd client
npm install
npm run dev

Open http://localhost:3000 with your browser to see the result.

Demo

TBA

Credits & Resources:

Safety

This is experimental software and subject to change over time.

The SuperToken Wizard is provided as a convenience tool and does not guarantee the accuracy or security of the generated contract code or deployments. Please review and audit the generated code before using it in a production environment. Use at your own risk. I do not give any warranties and will not be liable for any loss incurred through any use of this codebase.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details

About

SuperToken Wizard With Particle Network Auth and Wallet Management

https://supertoken-wizard-particle-dca-hack.vercel.app

License:Apache License 2.0


Languages

Language:JavaScript 75.1%Language:Solidity 15.7%Language:CSS 9.1%