Skip to content

Commit 958b146

Browse files
committed
initial load of portal pages connect and engine in spanish for testing
1 parent eed734c commit 958b146

File tree

75 files changed

+2235
-2215
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+2235
-2215
lines changed

apps/portal/redirects.mjs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -974,6 +974,16 @@ const otherRedirects = {
974974
"/connect/wallet/sign-in-methods/configure",
975975
};
976976

977+
const spanishEngineRedirects = {
978+
"/es/engine": "/engine",
979+
"/es/engine/get-started": "/engine/get-started",
980+
"/es/engine/production-checklist": "/engine/production-checklist",
981+
"/es/engine/self-host": "/engine/self-host",
982+
983+
// connect
984+
"/es/connect": "/connect",
985+
};
986+
977987
const v5RestructuredRedirects = {
978988
"/typescript/v5/react": "/react/v5",
979989
"/typescript/v5/react/:path*": "/react/v5/:path*",
@@ -986,6 +996,8 @@ const v5RestructuredRedirects = {
986996
*/
987997
export const redirects = async () => {
988998
return [
999+
// es
1000+
...createRedirects(spanishEngineRedirects),
9891001
// old portal redirects
9901002
...createRedirects(reactRedirects),
9911003
...createRedirects(solidityRedirects),

apps/portal/src/app/Header.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"use client";
22

33
import { DocSearch } from "@/components/others/DocSearch";
4+
import { LanguageSelector } from "@/components/others/LanguageSelector";
45
import { Button } from "@/components/ui/button";
56
import {
67
DropdownMenu,
@@ -119,6 +120,13 @@ const supportLinks = [
119120
},
120121
];
121122

123+
const languagesLinks = [
124+
{
125+
name: "Spanish",
126+
href: "/es/connect",
127+
},
128+
];
129+
122130
export function Header() {
123131
const [showBurgerMenu, setShowBurgerMenu] = useState(false);
124132

@@ -200,6 +208,14 @@ export function Header() {
200208
</ul>
201209

202210
<div className="flex flex-col justify-start gap-5 xl:flex-row xl:items-center xl:gap-3">
211+
<div className="hidden xl:flex">
212+
<LanguageSelector />
213+
<DropdownLinks
214+
links={languagesLinks}
215+
onLinkClick={() => setShowBurgerMenu(false)}
216+
category=""
217+
/>
218+
</div>
203219
<div className="hidden xl:flex">
204220
<ThemeSwitcher />
205221
</div>

apps/portal/src/app/connect/account-abstraction/erc-20-paymaster/page.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ import { Tabs, TabsList, TabsTrigger, TabsContent } from "@/components/ui/tabs";
22

33
# ERC-20 Paymaster
44

5-
In traditional Ethereum transactions, users pay gas fees in the native cryptocurrency of the network, such as ETH. This requirement can create friction, especially for applications where users interact with smart contracts without holding native tokens. ERC-20 Paymaster enables users pay gas fees using ERC-20 tokens. [Learn more about ERC-20 Paymasters.](https://blog.thirdweb.com/account-abstraction-paymaster-pay-evm-gas-fees-with-usdt-usdc-or-any-other-erc-20-token/)
5+
En las transacciones tradicionales de Ethereum, los usuarios pagan las tarifas de gas en la criptomoneda nativa de la red, como ETH. Este requisito puede generar fricción, especialmente para aplicaciones donde los usuarios interactúan con contratos inteligentes sin tener tokens nativos. ERC-20 Paymaster permite a los usuarios pagar las tarifas de gas utilizando tokens ERC-20. [Aprende más sobre ERC-20 Paymasters.](https://blog.thirdweb.com/account-abstraction-paymaster-pay-evm-gas-fees-with-usdt-usdc-or-any-other-erc-20-token/)
66

7-
### Get Started
7+
### Comenzar
88

9+
Configura el Paymaster. En tu código SDK, especifica el token ERC-20 que deseas utilizar para las tarifas de gas.
910

10-
Configure the Paymaster In your SDK code, specify the ERC-20 token you wish to use for gas fees.
11+
Actualmente puedes usar Lisk LSK, Base USDC o Celo CUSD.
1112

12-
Currently you may use Lisk LSK, Base USDC or Celo CUSD.
1313

14-
<Tabs>
14+
<Tabs defaultValue="typescript">
1515

1616
<TabsList>
1717
<TabsTrigger value="typescript">TypeScript</TabsTrigger>

apps/portal/src/app/connect/account-abstraction/factories/page.mdx

Lines changed: 32 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -8,71 +8,72 @@ import {
88
import { Tabs, TabsList, TabsTrigger, TabsContent } from "@/components/ui/tabs";
99
import { WalletsSmartIcon } from "@/icons";
1010

11+
1112
export const metadata = createMetadata({
1213
image: {
13-
title: "Account Factories",
14+
title: "Fábricas de Cuentas",
1415
icon: "wallets",
1516
},
16-
title: "Deploy your own ERC-4337 Account Factories | thirdweb",
17+
title: "Despliega tus propias Fábricas de Cuentas ERC-4337 | thirdweb",
1718
description:
18-
"Customize the behavior of smart accounts by deploying your own account factory contracts.",
19+
"Personaliza el comportamiento de las cuentas inteligentes desplegando tus propios contratos de fábrica de cuentas.",
1920
});
2021

21-
# Account Factories
22+
# Fábricas de Cuentas
2223

23-
By default, the SDK uses a global account factory deployed on most chains:
24+
Por defecto, el SDK utiliza una fábrica de cuentas global desplegada en la mayoría de las cadenas:
2425

25-
- [`AccountFactory`](https://thirdweb.com/thirdweb.eth/AccountFactory) at address [`0x85e23b94e7F5E9cC1fF78BCe78cfb15B81f0DF00`](https://thirdweb.com/1/0x85e23b94e7F5E9cC1fF78BCe78cfb15B81f0DF00) for Entrypoint v0.6.
26-
- [`AccountFactory_0_7`](https://thirdweb.com/thirdweb.eth/AccountFactory_0_7) at address [`0x4be0ddfebca9a5a4a617dee4dece99e7c862dceb`](https://thirdweb.com/1/0x4be0ddfebca9a5a4a617dee4dece99e7c862dceb) for Entrypoint v0.7.
26+
- [`AccountFactory`](https://thirdweb.com/thirdweb.eth/AccountFactory) en la dirección [`0x85e23b94e7F5E9cC1fF78BCe78cfb15B81f0DF00`](https://thirdweb.com/1/0x85e23b94e7F5E9cC1fF78BCe78cfb15B81f0DF00) para Entrypoint v0.6.
27+
- [`AccountFactory_0_7`](https://thirdweb.com/thirdweb.eth/AccountFactory_0_7) en la dirección [`0x4be0ddfebca9a5a4a617dee4dece99e7c862dceb`](https://thirdweb.com/1/0x4be0ddfebca9a5a4a617dee4dece99e7c862dceb) para Entrypoint v0.7.
2728

28-
The default account factory deploys standard, immutable accounts with the features listed below. However, you can customize the behavior of your apps smart accounts by deploying your own account factory contracts.
29+
La fábrica de cuentas por defecto despliega cuentas estándar e inmutables con las características listadas a continuación. Sin embargo, puedes personalizar el comportamiento de las cuentas inteligentes de tu aplicación desplegando tus propios contratos de fábrica de cuentas.
2930

30-
## Deploy your own Account Factory contract
31+
## Desplegar tu propio contrato de Fábrica de Cuentas
3132

32-
You can deploy your own Account Factory via the [explore page](https://thirdweb.com/explore/smart-wallet) or build your own [ERC 4337](https://eips.ethereum.org/EIPS/eip-4337) compatible factory contract using the [Solidity SDK](/contracts/build/base-contracts/erc-4337).
33+
Puedes desplegar tu propia Fábrica de Cuentas a través de la [página de exploración](https://thirdweb.com/explore/smart-wallet) o construir tu propio contrato de fábrica compatible con [ERC 4337](https://eips.ethereum.org/EIPS/eip-4337) utilizando el [SDK de Solidity](/contracts/build/base-contracts/erc-4337).
3334

34-
thirdweb offers different kinds of prebuilt account factories:
35+
thirdweb ofrece diferentes tipos de fábricas de cuentas preconstruidas:
3536

3637
<Grid>
3738
<ArticleIconCard
38-
title="Account Factory for Entrypoint v0.6"
39+
title="Fábrica de Cuentas para Entrypoint v0.6"
3940
href="https://thirdweb.com/thirdweb.eth/AccountFactory"
4041
icon={WalletsSmartIcon}
4142
/>
4243
<ArticleIconCard
43-
title="Managed Account Factory for Entrypoint v0.6"
44+
title="Fábrica de Cuentas Gestionadas para Entrypoint v0.6"
4445
href="https://thirdweb.com/thirdweb.eth/ManagedAccountFactory"
4546
icon={WalletsSmartIcon}
4647
/>
4748
<ArticleIconCard
48-
title="Account Factory for Entrypoint v0.7"
49+
title="Fábrica de Cuentas para Entrypoint v0.7"
4950
href="https://thirdweb.com/thirdweb.eth/AccountFactory_0_7"
5051
icon={WalletsSmartIcon}
5152
/>
5253
<ArticleIconCard
53-
title="Managed Account Factory for Entrypoint v0.7"
54+
title="Fábrica de Cuentas Gestionadas para Entrypoint v0.7"
5455
href="https://thirdweb.com/thirdweb.eth/ManagedAccountFactory_0_7"
5556
icon={WalletsSmartIcon}
5657
/>
5758
</Grid>
5859

59-
#### Account Factories comparison
60+
#### Comparación de Fábricas de Cuentas
6061

61-
| Factory Type | Upgradeability | Expected Usage |
62-
| -------------------------------------------------------------------- | ----------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
63-
| [`Standard`](https://thirdweb.com/thirdweb.eth/AccountFactory) | Non-upgradeable | Developer wants to issue simple smart accounts to their users. They do not anticipate that users wallets will need any feature upgrades. |
64-
| [`Managed`](https://thirdweb.com/thirdweb.eth/ManagedAccountFactory) | Account upgrades controlled centrally by the app developer. | Developer wants to issue smart accounts to their users. They do anticipate feature upgrades to user wallets, and want to push upgrades to user wallets for seamless/invisible UX for upgrades. |
62+
| Tipo de Fábrica | Actualizabilidad | Uso Esperado |
63+
| ------------------------------------------------------------------ | ------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
64+
| [`Standard`](https://thirdweb.com/thirdweb.eth/AccountFactory) | No actualizable | El desarrollador desea emitir cuentas inteligentes simples a sus usuarios. No anticipan que las billeteras de los usuarios necesitarán actualizaciones de funciones. |
65+
| [`Managed`](https://thirdweb.com/thirdweb.eth/ManagedAccountFactory) | Actualizaciones de cuentas controladas centralmente por el desarrollador de la aplicación. | El desarrollador desea emitir cuentas inteligentes a sus usuarios. Anticipan actualizaciones de funciones en las billeteras de los usuarios y desean enviar actualizaciones a las billeteras de los usuarios para una experiencia de usuario fluida/invisible durante las actualizaciones. |
6566

66-
#### Account comparison
67+
#### Comparación de Cuentas
6768

68-
| | Simple | Managed |
69-
| --------------------------------------------------- | -------------------------- | ---------------------------------------- |
70-
| Contracts | `AccountFactory` `Account` | `ManagedAccountFactory` `ManagedAccount` |
71-
| ERC-4337 Compatible |||
72-
| Can hold native ERC-20, ERC-721 and ERC-1155 Tokens |||
73-
| Multi-signer |||
74-
| Execute transactions in Batches |||
75-
| Is the Account Upgradeable |||
76-
| Who controls upgrades (?) | n/a | Admin of the account factory. |
69+
| | Simple | Gestionada |
70+
| -------------------------------------------------- | -------------------------- | ---------------------------------------- |
71+
| Contratos | `AccountFactory` `Account` | `ManagedAccountFactory` `ManagedAccount` |
72+
| Compatible con ERC-4337 |||
73+
| Puede contener tokens nativos ERC-20, ERC-721 y ERC-1155 |||
74+
| Multi-firmante |||
75+
| Ejecutar transacciones en lotes |||
76+
| La cuenta es actualizable |||
77+
| Quién controla las actualizaciones (?) | n/a | Administrador de la fábrica de cuentas. |
7778

78-
To learn more about each factory and their respective account implementations, read our [smart contract deep dive](https://blog.thirdweb.com/smart-contract-deep-dive-building-smart-wallets-for-individuals-and-teams/).
79+
Para aprender más sobre cada fábrica y sus respectivas implementaciones de cuentas, lee nuestro [análisis profundo de contratos inteligentes](https://blog.thirdweb.com/smart-contract-deep-dive-building-smart-wallets-for-individuals-and-teams/).
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
import { createMetadata } from "@doc";
22

3-
# FAQs
3+
# Preguntas Frecuentes
44

55
export const metadata = createMetadata({
66
image: {
7-
title: "FAQs about Account abstraction",
7+
title: "Preguntas Frecuentes sobre la Abstracción de Cuentas",
88
icon: "wallets",
99
},
10-
title: "FAQs | thirdweb",
10+
title: "Preguntas Frecuentes | thirdweb",
1111
description:
12-
"Find answers to frequently asked questions about account abstraction and smart accounts.",
12+
"Encuentra respuestas a preguntas frecuentes sobre la abstracción de cuentas y las cuentas inteligentes.",
1313
});
1414

15-
### Can users have the same smart account contract address on all EVM chains?
15+
### ¿Pueden los usuarios tener la misma dirección de contrato de cuenta inteligente en todas las cadenas EVM?
1616

17-
Yes, by using our Account factory contracts, it is possible to enable predictable addresses per user across all EVM chains. To do this, ensure that your **account factory** has the same address on every chain. You can accomplish this from the dashboard by enabling "Deterministic address" when deploying the account factory.
17+
Sí, al utilizar nuestros contratos de fábrica de cuentas, es posible habilitar direcciones predecibles por usuario en todas las cadenas EVM. Para hacer esto, asegúrate de que tu **fábrica de cuentas** tenga la misma dirección en cada cadena. Puedes lograr esto desde el panel de control habilitando "Dirección determinista" al desplegar la fábrica de cuentas.
1818

19-
### Can I sign transactions with my smart account?
19+
### ¿Puedo firmar transacciones con mi cuenta inteligente?
2020

21-
Smart contract wallets cannot sign transactions themselves, only the 'owners' of the smart account can. The way to achieve this is to follow [EIP-1271](https://eips.ethereum.org/EIPS/eip-1271) which requires to ask the smart contract wallet if the recovered address is indeed an owner.
21+
Las billeteras de contratos inteligentes no pueden firmar transacciones por sí mismas, solo los 'propietarios' de la cuenta inteligente pueden hacerlo. La forma de lograr esto es siguiendo [EIP-1271](https://eips.ethereum.org/EIPS/eip-1271) que requiere preguntar a la billetera de contrato inteligente si la dirección recuperada es efectivamente un propietario.
2222

23-
### Can I use In-App Wallets with account abstraction?
23+
### ¿Puedo usar Billeteras In-App con la abstracción de cuentas?
2424

25-
Yes! In-App Wallets with account abstraction is a powerful combination that allows users to sign in using their email, social media accounts, or custom JWT method (In-App Wallet), and provides a completely gasless user experience.
25+
¡Sí! Las Billeteras In-App con abstracción de cuentas son una combinación poderosa que permite a los usuarios iniciar sesión usando su correo electrónico, cuentas de redes sociales o un método JWT personalizado (Billetera In-App), y proporciona una experiencia de usuario completamente sin gas.
2626

27-
### Are smart accounts custodial or non-custodial?
27+
### ¿Las cuentas inteligentes son custodiales o no custodiales?
2828

29-
Smart accounts are non-custodial. It uses smart contracts to operate and manage assets via an admin wallet that signs on behalf of the smart account
29+
Las cuentas inteligentes son no custodiales. Utiliza contratos inteligentes para operar y gestionar activos a través de una billetera de administrador que firma en nombre de la cuenta inteligente.
3030

31-
### Is setting a trusted forwarder necessary for account abstraction?
31+
### ¿Es necesario configurar un forwarder confiable para la abstracción de cuentas?
3232

33-
No, There is no need to use a trusted forwarder when implementing account abstraction for your contract.
33+
No, no es necesario usar un forwarder confiable al implementar la abstracción de cuentas para tu contrato.

0 commit comments

Comments
 (0)