-# Onchain App Template
+# Token Machine Template
An Onchain App Template build with [OnchainKit](https://onchainkit.xyz), and ready to be deployed to Vercel.
-Play with it live on https://onchain-app-template.vercel.app
-
-Have fun! ⛵️
+The template is a simple swap app made with the OnchainKit [Swap component](https://onchainkit.xyz/docs/swap/swap).
@@ -36,7 +28,10 @@ NEXT_PUBLIC_WC_PROJECT_ID="GET_FROM_WALLET_CONNECT"
```sh
# Install bun in case you don't have it
-bun curl -fsSL | bash
+curl -fsSL https://bun.sh/install | bash # for macOS, Linux, and WSL
+# to install a specific version
+curl -fsSL https://bun.sh/install | bash -s "bun-v1.0.0"
+
# Install packages
bun i
@@ -54,4 +49,4 @@ bun run dev
## License
-This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
\ No newline at end of file
+This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
diff --git a/public/favicon.png b/public/favicon.png
new file mode 100644
index 0000000..8fa46d4
Binary files /dev/null and b/public/favicon.png differ
diff --git a/public/token-community.png b/public/token-community.png
new file mode 100644
index 0000000..b06c753
Binary files /dev/null and b/public/token-community.png differ
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index 42dc42b..2fccd13 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -19,10 +19,10 @@ export const viewport = {
};
export const metadata: Metadata = {
- title: 'Onchain App Template',
+ title: 'Community Swap',
description: 'Built with OnchainKit',
openGraph: {
- title: 'Onchain App Template',
+ title: 'Community Swap',
description: 'Built with OnchainKit',
images: [`${NEXT_PUBLIC_URL}/vibes/vibes-19.png`],
},
diff --git a/src/app/page.tsx b/src/app/page.tsx
index 1e2fa78..b779084 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -2,22 +2,28 @@
import Footer from 'src/components/Footer';
import TransactionWrapper from 'src/components/TransactionWrapper';
import WalletWrapper from 'src/components/WalletWrapper';
-import { ONCHAINKIT_LINK } from 'src/links';
-import OnchainkitSvg from 'src/svg/OnchainkitSvg';
+import { COMMUNITY_LINK } from 'src/links';
+import OnchainkitSvg from 'src/svg/CommunitySvg';
import { useAccount } from 'wagmi';
import LoginButton from '../components/LoginButton';
import SignupButton from '../components/SignupButton';
+import SwapWrapper from 'src/components/SwapWrapper';
+import Image from 'next/image';
+import meetMochi from '../images/meet-mochi.png';
export default function Page() {
const { address } = useAccount();
return (