Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Live at: [peanut.to](https://peanut.me) | [staging.peanut.me](https://staging.peanut.to)
Live at: [peanut.me](https://peanut.me) | [staging.peanut.me](https://staging.peanut.me)

## Getting Started

Expand Down
2 changes: 1 addition & 1 deletion public/game/peanut-game.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta name="description" content="Peanut game based on Chrome Dino game" />
<meta property="og:title" content="Peanut tries to escape hungry squirrels" />
<meta property="og:type" content="article" />
<meta property="og:url" content="http://www.peanut.to" />
<meta property="og:url" content="http://www.peanut.me" />

<meta name="twitter:site" content="@peanutprotocol" />
<meta name="twitter:creator" content="@peanutprotocol" />
Expand Down
2 changes: 1 addition & 1 deletion redirects.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"source": "/docs",
"destination": "https://docs.peanut.to",
"destination": "https://docs.peanut.me",
"permanent": false,
"basePath": false
},
Expand Down
10 changes: 5 additions & 5 deletions scripts/README-qr-generator.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ This script generates an HTML page containing multiple Peanut-branded QR codes t
You can run the script directly with individual links:

```bash
pnpm run script scripts/generate-qr-sheet.ts output.html "https://peanut.to/claim/link1" "https://peanut.to/claim/link2"
pnpm run script scripts/generate-qr-sheet.ts output.html "https://peanut.me/claim/link1" "https://peanut.me/claim/link2"
```

### Using a File with Links

For multiple links, create a text file with one link per line:

```
https://peanut.to/claim/link1
https://peanut.to/claim/link2
https://peanut.to/claim/link3
https://peanut.to/claim/link4
https://peanut.me/claim/link1
https://peanut.me/claim/link2
https://peanut.me/claim/link3
https://peanut.me/claim/link4
```

Then run:
Expand Down
2 changes: 1 addition & 1 deletion src/app/api/health/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export async function GET() {
const isDev = process.env.NODE_ENV === 'development'
const baseUrl = isDev
? 'http://localhost:3000'
: process.env.NEXT_PUBLIC_BASE_URL || 'https://peanut.to'
: process.env.NEXT_PUBLIC_BASE_URL || 'https://peanut.me'
const response = await fetchWithSentry(`${baseUrl}/api/health/${service}`, {
method: 'GET',
headers: {
Expand Down
2 changes: 1 addition & 1 deletion src/assets/chains/arbitrum.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/Global/Footer/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const SOCIALS = [
},
{
name: 'gitbook',
url: 'https://docs.peanut.to',
url: 'https://docs.peanut.me',
logoSrc: icons.GITBOOK_ICON.src,
},
{
Expand All @@ -31,7 +31,7 @@ export const SOCIALS = [
export const LINKS = [
{
name: 'Docs',
url: 'https://docs.peanut.to',
url: 'https://docs.peanut.me',
},
{
name: 'Terms & Privacy',
Expand Down
2 changes: 1 addition & 1 deletion src/components/Global/WalletNavigation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const desktopPaths: NavPathProps[] = [
{ name: 'Add', href: '/add-money', icon: 'arrow-down', size: 14 },
{ name: 'Withdraw', href: '/withdraw', icon: 'arrow-up', size: 14 },
{ name: 'History', href: '/history', icon: 'history', size: 16 },
{ name: 'Docs', href: 'https://docs.peanut.to/', icon: 'docs', size: 16 },
{ name: 'Docs', href: 'https://docs.peanut.me/', icon: 'docs', size: 16 },
{ name: 'Support', href: '/support', icon: 'peanut-support', size: 16 },
]

Expand Down
2 changes: 1 addition & 1 deletion src/components/Payment/Views/Error.validation.view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function ValidationErrorView({ title, message, buttonText, redirectTo }: Validat
<h3 className="text-sm font-normal md:max-w-xs">{message}</h3>
</div>
<Link
href={'https://docs.peanut.to/how-to-use-peanut-links/request-peanut-links'}
href={'https://docs.peanut.me/how-to-use-peanut-links/request-peanut-links'}
className="text-sm underline"
target="_blank"
>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Profile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const Profile = () => {
<ProfileMenuItem
icon="smile"
label="Invite friends to Peanut"
href="https://docs.peanut.to/how-to-use-peanut-links/referrals"
href="https://docs.peanut.me/how-to-use-peanut-links/referrals"
position="single"
isExternalLink
/>
Expand All @@ -52,7 +52,7 @@ export const Profile = () => {
<ProfileMenuItem
icon="fees"
label="Fees"
href="https://docs.peanut.to/fees"
href="https://docs.peanut.me/fees"
position="first"
isExternalLink
/>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Setup/Views/SetupPasskey.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const SetupPasskey = () => {
rel="noopener noreferrer"
target="_blank"
className="underline underline-offset-2"
href="https://docs.peanut.to/passkeys"
href="https://docs.peanut.me/passkeys"
>
Learn more about what Passkeys are
</Link>{' '}
Expand Down
2 changes: 1 addition & 1 deletion src/config/wagmi.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const projectId = process.env.NEXT_PUBLIC_WC_PROJECT_ID ?? ''
const metadata = {
name: 'Peanut Protocol',
description: 'Peanut protocol - send crypto with links',
url: process.env.NEXT_PUBLIC_BASE_URL || 'https://peanut.to', // origin must match your domain & subdomain
url: process.env.NEXT_PUBLIC_BASE_URL || 'https://peanut.me', // origin must match your domain & subdomain
icons: [`${process.env.NEXT_PUBLIC_BASE_URL}/favicon.ico`],
}

Expand Down
4 changes: 2 additions & 2 deletions src/constants/tooltips.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ export const TOOLTIPS = {

For US bank accounts, enter just your bank account number, no routing number.

<a href="https://docs.peanut.to/cashout/supported-geographies" target="_blank" class="underline text-blue-600">Supported regions</a>`,
<a href="https://docs.peanut.me/cashout/supported-geographies" target="_blank" class="underline text-blue-600">Supported regions</a>`,

CLAIM_RECIPIENT_INFO: `You can claim your funds to:
• Any Ethereum wallet address
• ENS domain (.eth)
• EU bank account (IBAN)
• US bank account

<a href="https://docs.peanut.to/cashout/supported-geographies" target="_blank" class="underline text-blue-600">Learn more about supported regions</a>`,
<a href="https://docs.peanut.me/cashout/supported-geographies" target="_blank" class="underline text-blue-600">Learn more about supported regions</a>`,

CASHOUT_FAQ: `• What currencies can I cash out?
Most popular tokens and stablecoins are supported.
Expand Down
2 changes: 1 addition & 1 deletion src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function middleware(request: NextRequest) {
// Handle promo link redirection
if (isPromoLink(url)) {
const fragment = url.searchParams.toString()
const redirectUrl = `https://peanut.to/claim?&${promoList[fragment]}`
const redirectUrl = `https://peanut.me/claim?&${promoList[fragment]}`
return NextResponse.redirect(redirectUrl)
}

Expand Down
Loading