Skip to content

Commit e3bf284

Browse files
authored
remove magic spend (#1226)
1 parent ed68d4e commit e3bf284

11 files changed

Lines changed: 18 additions & 101 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Base is an Ethereum L2 by Coinbase. Docs for: Base Chain, Smart Wallet, OnchainK
1111
|base-account/framework-integrations/wagmi:base-pay,basenames,batch-transactions,other-use-cases,setup,sign-in-with-base,sub-accounts
1212
|base-account/guides:accept-payments,accept-recurring-payments,authenticate-users,migration-guide,sign-and-verify-typed-data
1313
|base-account/guides/tips:inspect-txn-simulation,popup-tips
14-
|base-account/improve-ux:batch-transactions,magic-spend,spend-permissions,sub-accounts
14+
|base-account/improve-ux:batch-transactions,spend-permissions,sub-accounts
1515
|base-account/improve-ux/sponsor-gas:erc20-paymasters,paymasters
1616
|base-account/more:base-gasless-campaign,telemetry
1717
|base-account/more/troubleshooting/usage-details:gas-usage,popups,simulations,unsupported-calls,wallet-library-support

docs/base-account/contribute/contribute-to-base-account-docs.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ When adding new content, determine the appropriate section based on the followin
6161
- Paymasters and gas sponsorship
6262
- Sub Accounts
6363
- Spend Permissions
64-
- Magic Spend
6564
- Name guides clearly with action-oriented titles (e.g., "Accept Payments" rather than "Payments Guide")
6665

6766
#### Framework Integrations

docs/base-account/improve-ux/magic-spend.mdx

Lines changed: 0 additions & 90 deletions
This file was deleted.

docs/base-account/llms-full.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ const { status } = await getPaymentStatus({ id })
4141
- [Spend Permissions](https://docs.base.org/base-account/improve-ux/spend-permissions.md) — Spending
4242
- [Verify Social Accounts](https://docs.base.org/base-account/guides/verify-social-accounts.md) — Base Verify
4343
- [Sub‑Accounts](https://docs.base.org/base-account/improve-ux/sub-accounts.md) — App‑scoped accounts
44-
- [MagicSpend](https://docs.base.org/base-account/improve-ux/magic-spend.md) — Coinbase balance spend
4544
- [Sign & Verify Data](https://docs.base.org/base-account/guides/sign-and-verify-typed-data.md) — Signatures
4645

4746
### Framework Integrations
@@ -63,6 +62,7 @@ const { status } = await getPaymentStatus({ id })
6362
- [SDK: getProvider](https://docs.base.org/base-account/reference/core/getProvider.md)
6463
- [Provider RPC Methods](https://docs.base.org/base-account/reference/core/provider-rpc-methods/request-overview.md)
6564
- [Capabilities](https://docs.base.org/base-account/reference/core/capabilities/overview.md)
65+
- [Capability: auxiliaryFunds](https://docs.base.org/base-account/reference/core/capabilities/auxiliaryFunds.md) — Reference only, currently disabled
6666
- [UI Elements](https://docs.base.org/base-account/reference/ui-elements/brand-guidelines.md)
6767
- [Onchain Contracts](https://docs.base.org/base-account/reference/onchain-contracts/smart-wallet.md)
6868

docs/base-account/llms.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Base Account Documentation
44

5-
> Base Account is a passkey-secured, ERC-4337 smart wallet with one‑tap payments, social verification, spend permissions, and sub‑accounts—built for seamless multi‑chain apps.
5+
> Base Account is a passkey-secured, ERC-4337 smart wallet with one‑tap payments, social verification, sponsored gas, spend permissions, and sub‑accounts—built for seamless multi‑chain apps.
66

77
## Introduction
88
- [What is Base Account?](https://docs.base.org/base-account/overview/what-is-base-account.md) — Core concepts and benefits
@@ -28,6 +28,7 @@
2828

2929
## Reference
3030
- [Account SDK: createBaseAccount](https://docs.base.org/base-account/reference/core/createBaseAccount.md) — Initialize SDK and provider
31+
- [Capabilities: auxiliaryFunds](https://docs.base.org/base-account/reference/core/capabilities/auxiliaryFunds.md) — Auxiliary funds capability reference, currently disabled
3132
- [Provider RPC: wallet_sendCalls](https://docs.base.org/base-account/reference/core/provider-rpc-methods/wallet_sendCalls.md) — Batch and sponsored calls
3233

3334
## More

docs/base-account/reference/core/capabilities/auxiliaryFunds.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ Defined in [EIP-5792](https://eips.ethereum.org/EIPS/eip-5792)
99
The auxiliaryFunds capability allows wallets to indicate they have access to funds beyond what can be directly verified on-chain by the wallet's address. This enables more flexible transaction execution and improved user experiences.
1010
</Info>
1111

12+
<Warning>
13+
Magic Spend is currently disabled. Keep this page as reference for the `auxiliaryFunds` capability shape and integration patterns, but do not rely on this capability being available in production right now.
14+
</Warning>
15+
1216
<Warning>
1317
This capability is not yet finalized and may change in future iterations.
1418
</Warning>

docs/base-account/reference/core/capabilities/overview.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const baseCapabilities = capabilities["0x2105"]; // Base mainnet chain ID
2727
| Capability | Method | Description |
2828
|-----------|---------|-------------|
2929
| [signInWithEthereum](/base-account/reference/core/capabilities/signInWithEthereum) | `wallet_connect` | SIWE authentication |
30-
| [auxiliaryFunds](/base-account/reference/core/capabilities/auxiliaryFunds) | `wallet_sendCalls` | MagicSpend - use Coinbase balances onchain |
30+
| [auxiliaryFunds](/base-account/reference/core/capabilities/auxiliaryFunds) | `wallet_sendCalls` | Access to funds beyond the visible on-chain balance (currently disabled) |
3131
| [atomic](/base-account/reference/core/capabilities/atomic) | `wallet_sendCalls` | Atomic batch transactions |
3232
| [paymasterService](/base-account/reference/core/capabilities/paymasterService) | `wallet_sendCalls` | Gasless transactions |
3333
| [flowControl](/base-account/reference/core/capabilities/flowControl) | `wallet_sendCalls` | Flow control |
@@ -198,7 +198,7 @@ async function getWalletCapabilities(address: string) {
198198
For detailed information on each capability:
199199

200200
- [signInWithEthereum](/base-account/reference/core/capabilities/signInWithEthereum) - SIWE authentication
201-
- [auxiliaryFunds](/base-account/reference/core/capabilities/auxiliaryFunds) - MagicSpend integration
201+
- [auxiliaryFunds](/base-account/reference/core/capabilities/auxiliaryFunds) - Auxiliary funding support
202202
- [atomic](/base-account/reference/core/capabilities/atomic) - Atomic batch transactions
203203
- [paymasterService](/base-account/reference/core/capabilities/paymasterService) - Gasless transactions
204204

docs/base-account/reference/core/provider-rpc-methods/wallet_getCapabilities.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Capabilities object for a specific chain (e.g., "0x2105" for Base Mainnet).
2727

2828
<Expandable title="Available capabilities">
2929
<ResponseField name="auxiliaryFunds" type="object">
30-
Indicates wallet access to funds beyond on-chain balance verification (MagicSpend).
30+
Indicates wallet access to funds beyond on-chain balance verification. This capability is currently disabled.
3131

3232
<Expandable title="auxiliaryFunds properties">
3333
<ResponseField name="supported" type="boolean">

docs/docs.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@
235235
"base-account/improve-ux/sub-accounts",
236236
"base-account/improve-ux/spend-permissions",
237237
"base-account/guides/verify-social-accounts",
238-
"base-account/improve-ux/magic-spend",
239238
"base-account/guides/sign-and-verify-typed-data",
240239
"base-account/improve-ux/sponsor-gas/erc20-paymasters"
241240
]
@@ -1971,7 +1970,11 @@
19711970
},
19721971
{
19731972
"source": "/smart-wallet/guides/magic-spend",
1974-
"destination": "/base-account/improve-ux/magic-spend"
1973+
"destination": "/base-account/reference/core/capabilities/auxiliaryFunds"
1974+
},
1975+
{
1976+
"source": "/base-account/improve-ux/magic-spend",
1977+
"destination": "/base-account/reference/core/capabilities/auxiliaryFunds"
19751978
},
19761979
{
19771980
"source": "/smart-wallet/guides/batch-transactions",

docs/llms-full.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export function Providers(props: { children: React.ReactNode }) {
6868
}
6969
```
7070

71-
Base Account (smart wallet + pay helper)
71+
Base Account (smart wallet + pay helper + capabilities)
7272

7373
```bash
7474
npm install @base-org/account

0 commit comments

Comments
 (0)