diff --git a/packages/foundry/contracts/MockUSDC.sol b/packages/foundry/contracts/MockUSDC.sol new file mode 100644 index 0000000..7d9d721 --- /dev/null +++ b/packages/foundry/contracts/MockUSDC.sol @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: MIT +// Compatible with OpenZeppelin Contracts ^5.0.0 +pragma solidity ^0.8.22; + +import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; +import { ERC20Permit } from + "@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol"; + +contract USDC is ERC20, ERC20Permit { + constructor() ERC20("USDC", "USDC") ERC20Permit("USDC") { } + + function decimals() public view virtual override returns (uint8) { + return 6; + } +} diff --git a/packages/nextjs/app/about/About.tsx b/packages/nextjs/app/about/About.tsx index 3bdc5b0..61dcf33 100644 --- a/packages/nextjs/app/about/About.tsx +++ b/packages/nextjs/app/about/About.tsx @@ -1,6 +1,6 @@ "use client"; -import { useState } from "react"; +// import { useState } from "react"; import Image from "next/image"; import Link from "next/link"; import { NFTMetaData } from "~~/utils/simpleNFT/nftsMetadata"; @@ -13,14 +13,14 @@ export interface Post extends Partial { } export const About = () => { - const [usdcPrice, setUsdcPrice] = useState(1); + // const [usdcPrice, setUsdcPrice] = useState(1); // const [averageUsdcPrice, setAverageUsdcPrice] = useState(); - const averageUsdcPrice = "1"; + // const averageUsdcPrice = "1"; - const handleUsdcPriceChange = (e: React.ChangeEvent) => { - const value = Number(e.target.value); - setUsdcPrice(value < 0 ? 0 : value); - }; + // const handleUsdcPriceChange = (e: React.ChangeEvent) => { + // const value = Number(e.target.value); + // setUsdcPrice(value < 0 ? 0 : value); + // }; return (
@@ -41,25 +41,168 @@ export const About = () => { > WTF is PunkSociety? ๐Ÿค˜ -
- - Use social media and earn! ๐Ÿค‘ + +
+ + PunkSociety is an open source framework for building EVM compatible dapps that interact + with{" "} + + ERC20 + {" "} + and{" "} + + ERC721 + {" "} + tokens (fungible and{" "} + non-fungible). + + + + Instructions on{" "} + + + {" "} + PunkSociety's GitHub repo + + + explain how to deploy the project on any{" "} + + + EVM compatible blockchain. + + + + + + If you want to{" "} + + deploy it as an{" "} + + appchain + + + , there are also instructions to test with an{" "} + + Avalanche L1 + Avalanche logo + {" "} + , which allows features such as these:
- - Social protocol where interactions are monetized ๐Ÿ’ฐ
- Users earn while engaging with their community ๐Ÿซ‚ -
+
+
+
+ โ›ฝ +

USDC = native gas!

+

+ + USDC + USDC logo + {" "} + is used to pay for transactions and interactions on our{" "} + + Avalanche L1 + Avalanche logo + {" "} + . +

+
+
+
+
+ ๐Ÿซฐ +

Earn USDC yield!

+

+ Your{" "} + + USDC + USDC logo + {" "} + generates interest on{" "} + + AAVE + AAVE logo + {" "} + while bridged to our{" "} + + Avalanche L1 + Avalanche logo + {" "} + ! +

+
+
+
-
+ +
+
+

Like reading PDFs?

+
+ + + +
+
+
+ +
+

Base build! ๐Ÿค˜

+ + Use social media and earn! ๐Ÿค‘ + + + + Social protocol where interactions are monetized ๐Ÿ’ฐ
+ Users earn while engaging with their community ๐Ÿซ‚ +
+ + + This website is a social network where posts are NFTs and likes send USDC to post creators.{" "} + +
+ + Clone it and start your own community! + + {" "} +
+
+ +

Features! ๐Ÿค˜

-
-
+
+
๐Ÿ–ผ๏ธโœ๏ธ

Pics with captions!

@@ -67,7 +210,7 @@ export const About = () => {
-
+
๐Ÿ’Ž

Posts are NFTs!

@@ -81,7 +224,7 @@ export const About = () => {
-
+
๐Ÿซ‚

Social economy!

@@ -111,7 +254,7 @@ export const About = () => {
*/} -
+ {/*
๐Ÿ—ณ๏ธ @@ -137,30 +280,27 @@ export const About = () => {
-
+
*/} -
+
๐Ÿคน {/*

More features!

*/} -
    +
    • - ๐Ÿ’ฌ Private and group chats + ๐Ÿ’น Analyze your revenue
    • ๐Ÿ”” Notifications on activity
    • - ๐ŸŽจ Customize your profile -
    • -
    • - ๐Ÿ’น Analyze your revenue + ๐Ÿ’ฌ Private and group chats
-
+
๐Ÿ‘จโ€๐Ÿฆฝ

Accesibility!

@@ -182,7 +322,7 @@ export const About = () => {
*/} - {usdcPrice ? ( + {/* {usdcPrice ? (
@@ -206,9 +346,9 @@ export const About = () => {
) : ( "" - )} + )} */} - {averageUsdcPrice ? ( + {/* {averageUsdcPrice ? (
๐Ÿ—ณ๏ธ @@ -224,15 +364,15 @@ export const About = () => {
) : ( "" - )} + )} */}
-
+

Tech stack! ๐Ÿค˜

-
-
+
+
Scaffold-ETH 2 logo

Scaffold-ETH 2

@@ -253,7 +393,7 @@ export const About = () => {
-
+
USDC logo

Circle USDC

@@ -268,7 +408,7 @@ export const About = () => {
-
+
Chainlink logo

Chainlink CCIP

@@ -283,7 +423,7 @@ export const About = () => {
-
+
The Graph logo

The Graph

@@ -299,83 +439,6 @@ export const About = () => {
-
-

Bigger picture! ๐Ÿค˜

-
- -
-
- - PunkSociety is an open source framework for building social networks where posts are NFTs - and likes send funds to post creators. - - - Instructions on{" "} - - - {" "} - PunkSociety's GitHub repo - - - explain how to deploy the project on any EVM compatible blockchain.{" "} - Start your own community! - - - If you want to deploy it as an appchain, there are also instructions to test with an{" "} - - Avalanche L1 - Avalanche logo - {" "} - , which allows features such as these: - -
-
- -
-
-
- โ›ฝ -

USDC = native gas!

-

- - USDC - USDC logo - {" "} - is used to pay for transactions and interactions on our{" "} - - Avalanche L1 - Avalanche logo - {" "} - . -

-
-
-
-
- ๐Ÿซฐ -

Earn USDC yield!

-

- Your{" "} - - USDC - USDC logo - {" "} - generates interest on{" "} - - AAVE - AAVE logo - {" "} - while bridged to our{" "} - - Avalanche L1 - Avalanche logo - {" "} - ! -

-
-
-
-

Wanna know how we're doing?

diff --git a/packages/nextjs/components/Footer.tsx b/packages/nextjs/components/Footer.tsx index 2bf2703..6fe7053 100644 --- a/packages/nextjs/components/Footer.tsx +++ b/packages/nextjs/components/Footer.tsx @@ -87,6 +87,12 @@ export const Footer = () => {
ยท +
+ + PunkPaper + +
+ ยท
Roadmap diff --git a/packages/nextjs/public/PunkPaper.pdf b/packages/nextjs/public/PunkPaper.pdf new file mode 100644 index 0000000..aa844e9 Binary files /dev/null and b/packages/nextjs/public/PunkPaper.pdf differ