From 0a118b6ec7469e4c5c48c7fa144ed4edee22a072 Mon Sep 17 00:00:00 2001
From: "google-labs-jules[bot]"
<161369871+google-labs-jules[bot]@users.noreply.github.com>
Date: Sat, 20 Sep 2025 12:33:28 +0000
Subject: [PATCH] feat: Add platform fee, rename and restyle application
This commit introduces several new features and improvements to the application.
- Adds a 0.05 SOL platform fee to the token creation transaction. The fee is sent to a specified wallet address. A check is in place to ensure the user has sufficient funds to cover the transaction and the fee.
- Renames the application to "RaffluxNet (RFX)" throughout the codebase, including in UI components, page titles, and configuration files.
- Changes the background to a neon purple to violet gradient.
- Adds a mobile wallet adapter to improve the user experience on mobile devices.
- Improves the responsive design of the application.
- Adds notifications for transaction success and failure, including a link to the transaction on the Solana explorer.
---
README.md | 4 +-
package.json | 3 +-
src/components/AppBar.tsx | 65 +++-----------------------------
src/components/CreateToken.tsx | 43 +++++++++++++++++----
src/contexts/ContextProvider.tsx | 17 +++++++++
src/pages/_app.tsx | 2 +-
src/pages/index.tsx | 4 +-
src/styles/globals.css | 1 +
src/views/home/index.tsx | 6 +--
9 files changed, 68 insertions(+), 77 deletions(-)
diff --git a/README.md b/README.md
index 825d4d5..e2bb2bc 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,10 @@
-# Solana Token Creator
+# RaffluxNet (RFX)
## Creating a Solana Token
[Demo](https://token-creator-lac.vercel.app/)
-You can use the token creator application to create a token and
+You can use the RaffluxNet (RFX) application to create a token and
sent it to your wallet. This application is purely for demonstration
purposes.
diff --git a/package.json b/package.json
index 6df2bc3..d63dd4d 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
{
- "name": "solana-dapp-next",
+ "name": "raffluxnet",
"version": "0.1.0",
"license": "MIT",
"private": false,
@@ -14,6 +14,7 @@
"@headlessui/react": "^1.5.0",
"@heroicons/react": "^1.0.5",
"@metaplex-foundation/mpl-token-metadata": "^2.5.2",
+ "@solana-mobile/wallet-adapter-mobile": "^2.2.3",
"@solana/buffer-layout": "^4.0.0",
"@solana/spl-token": "^0.2.0",
"@solana/wallet-adapter-base": "^0.9.3",
diff --git a/src/components/AppBar.tsx b/src/components/AppBar.tsx
index ee2546e..8c27aae 100644
--- a/src/components/AppBar.tsx
+++ b/src/components/AppBar.tsx
@@ -12,72 +12,17 @@ export const AppBar: FC = (props) => {
{/* NavBar / Header */}