Skip to content

Commit b97e3df

Browse files
committed
Fix: #AR-9284 EOA update
1 parent b6cf654 commit b97e3df

File tree

15 files changed

+53
-73
lines changed

15 files changed

+53
-73
lines changed

.github/styles/Terms/arcana_vocab.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ EVM-compatible
176176
EmailID
177177
EntryPoint
178178
Enums
179-
EoA
179+
Eo
180180
Ethereum
181181
Ethereum-compatible
182182
Ethereum_Goerli

.github/styles/config/vocabularies/Arcana/accept.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,6 @@ EntryPoint
398398
enum
399399
enums
400400
Enums
401-
EoA
402401
EOA
403402
ERC-1155
404403
ERC-20

an_dictionary.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,6 @@ EntryPoint
432432
enum
433433
enums
434434
Enums
435-
EoA
436435
EOA
437436
ERC-1155
438437
ERC-20

docs/ca/ca-wagmi-usage-guide.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ The following hooks allow developers to access unified balance and enable chain
103103

104104
#### useBalance
105105
<hr>
106-
Get the unified balance across all supported chains associated with the EoA for the specified token symbol.
106+
Get the unified balance across all supported chains associated with the EOA for the specified token symbol.
107107

108108
##### Usage
109109

@@ -145,7 +145,7 @@ const balance = useBalance({ symbol: "eth" })
145145
#### useBalances
146146
<hr>
147147

148-
Get the unified balances across all supported chains associated with the EoA for every supported token type.
148+
Get the unified balances across all supported chains associated with the EOA for every supported token type.
149149

150150
##### Usage
151151

@@ -193,7 +193,7 @@ const balances = useBalances()
193193
#### useBalanceModal
194194
<hr>
195195

196-
Display or hide the popup displaying the unified balance in the context of the user EoA.
196+
Display or hide the popup displaying the unified balance in the context of the user EOA.
197197

198198
##### Usage
199199

@@ -215,7 +215,7 @@ const { showModal, hideModal } = useBalanceModal()
215215
#### useCAFn
216216
<hr>
217217

218-
Initiate a chain abstracted `bridge` or `transfer` function in the context of the user EoA.
218+
Initiate a chain abstracted `bridge` or `transfer` function in the context of the user EOA.
219219

220220
##### Usage
221221

docs/faq/ca/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ arcana:
3737

3838
??? an-faq "What is a CA allowance and why are allowances needed?"
3939

40-
Allowance or 'Permit' in the blockchain context allows a third party, such as a smart contract, to perform transactions from a user's EoA for a specified amount — without accessing the user's private key.
40+
Allowance or 'Permit' in the blockchain context allows a third party, such as a smart contract, to perform transactions from a user's EOA for a specified amount — without accessing the user's private key.
4141

4242
In {{config.extra.arcana.company_name}} chain abstraction, [[concept-allowances|allowances]] enable unified balance. This lets users spend on any destination chain when they have enough funds and gas fees on their source chains.
4343

docs/index.md

Lines changed: 32 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,16 @@ hide:
1212

1313
# Unify Balance Across Chains
1414

15+
<figure markdown="span">
16+
<img alt="With CA" src="{{config.extra.arcana.img_dir}}/an_ca_landing.{{config.extra.arcana.img_png}}" class="an_screenshots"/>
17+
<figcaption>Seamless UX with unified balance across assets and chains</figcaption>
18+
</figure>
19+
1520
=== "Web3 Developers"
1621

17-
Let users spend crypto on any blockchain instantly - no chain switching, no bridges, no hassle.
22+
Let users spend [[ca-stack#tokens| any]] crypto asset on [[ca-stack#chains| any]] blockchain instantly - no chain switching, no bridging, no cross-chain swaps necessary.
23+
24+
No hassle. Seamless transaction experience.
1825

1926
Integrate Web3 app with the {{config.extra.arcana.company_name}}'s [[concept-ca|Chain Abstraction ]](CA) SDK. Enable app users to access [[concept-unified-balance|unified balance]] from all chains in one place.
2027

@@ -33,39 +40,6 @@ hide:
3340

3441
==}
3542

36-
37-
<figure markdown="span">
38-
<img alt="With CA" src="{{config.extra.arcana.img_dir}}/an_ca_landing.{{config.extra.arcana.img_png}}" class="an_screenshots"/>
39-
<figcaption>{{config.extra.arcana.company_name}}'s Chain Abstraction</figcaption>
40-
</figure>
41-
42-
## Why Chain Abstraction?
43-
44-
A user must cross several hoops to issue a blockchain transaction on a new chain where the user does not have any assets yet.
45-
46-
Chain Abstraction eliminates the need to bridge or convert tokens between blockchains. With {{config.extra.arcana.company_name}}'s solution, users can spend their combined balance from any chain directly within your app - no switching networks, no extra steps.
47-
48-
The table below illustrates these steps when not using chain abstraction. With chain abstraction, the user experience is much simpler with a single-click transaction.
49-
50-
| UX: Transact on New Chain | No CA: Complex, Multi-step UX | With CA: One-step UX |
51-
| :---------- | :----------------------------------- | :-----------------------|
52-
| :material-numeric-1-circle: Figure out which chain your app runs on | :material-clipboard-text-clock::material-cursor-default-click-outline::octicons-ellipsis-16: | :material-minus-circle-off:{ .icon-color } |
53-
| :material-numeric-2-circle: Hunt for the best bridge to move assets | :material-clipboard-text-clock::material-cursor-default-click-outline::octicons-ellipsis-16: | :material-minus-circle-off:{ .icon-color } |
54-
| :material-numeric-3-circle: Fund gas tokens on different chains | :material-clipboard-text-clock::material-cursor-default-click-outline::octicons-ellipsis-16: | :material-minus-circle-off:{ .icon-color } |
55-
| :material-numeric-4-circle: Track and transfer balances across chains | :material-clipboard-text-clock::material-cursor-default-click-outline::octicons-ellipsis-16: | :material-minus-circle-off:{ .icon-color } |
56-
| Issue a transaction on a new chain | :material-cursor-default-click-outline::material-timer-sand-complete::material-check-outline: | :material-check-bold:{ .icon-color .logo_icon_anim } |
57-
58-
[Learn more...](https://blog.arcana.network/)
59-
60-
<span markdown="span">
61-
</br>
62-
<figure markdown="span">
63-
<img alt="{{config.extra.arcana.ca_sdk_name}} Overview" src="{{config.extra.arcana.img_dir}}/ca_unified_balance.{{config.extra.arcana.img_png}}" class="an_screenshots width_85pc"/>
64-
<figcaption>{{config.extra.arcana.company_name}} Chain Abstraction UX</figcaption>
65-
</figure>
66-
</br>
67-
</span>
68-
6943
## Quick Start
7044

7145
<div class="tx-hero-container">
@@ -77,17 +51,19 @@ hide:
7751
</div>
7852
<div class="tx-hero-container">
7953
<div class="tx-hero-content">
80-
<a href="https://codesandbox.io/p/github/arcana-network/ca-wagmi-example">
54+
<a href="https://sdk.arcana.network">
8155
<div class="tx-try-now-button-purple a-link-items">
82-
<h3 style="color: var(--md-an-gray-light-color)">Try Now</h3>
56+
<h3 style="color: var(--md-an-gray-light-color)">SDK Integration Demo</h3>
8357
</div>
8458
</a>
8559
</div>
8660
</div>
8761

88-
## Why {{config.extra.arcana.company_name}}?
62+
## Why {{config.extra.arcana.company_name}} SDKs?
8963

90-
{{config.extra.arcana.company_name}}’s Chain Abstraction SDK can integrate with Web3 apps and enable unified balance for the app users. Unified balance allows users to spend the consolidated multi-chain balance of supported [[ca-stack#tokens|tokens]] (for example, ETH, USDC, USDT) within the app context on any [[ca-stack#chains|chain]]. This allows Web3 apps to onboard users from any ecosystem effortlessly.
64+
{{config.extra.arcana.company_name}}’s Chain Abstraction SDK can integrate with any Web3 app and enable unified balance for the app users. Unified balance allows users to spend the consolidated multi-chain balance of source chain [[ca-stack#tokens|tokens]] within the app context on any destination [[ca-stack#chains|chain]].
65+
66+
This allows Web3 apps to onboard users from any ecosystem effortlessly. Integration with the SDK requires minimal effort.
9167

9268
=== "Onboard Users on Any Chain"
9369

@@ -116,11 +92,9 @@ hide:
11692
---
11793

11894
All assets are in user's custody, no compulsion to rely on {{config.extra.arcana.company_name}} for accessing funds. Users can freely spend their assets on any app.
119-
12095

12196
</div>
12297

123-
12498
=== "Quick Integration"
12599

126100
<div class="grid cards" markdown>
@@ -151,11 +125,29 @@ hide:
151125
Users do not need to transfer their funds to a new wallet address or lockup in a smart contract.
152126

153127
</div>
128+
129+
<span markdown="span"><figure markdown="span"><img alt="{{config.extra.arcana.ca_sdk_name}} Demo App: Unified Balance" src="{{config.extra.arcana.img_dir}}/ca_sdk_demo_unified_balance.{{config.extra.arcana.img_gif}}" class="an_screenshots width_85pc"/><figcaption>{{config.extra.arcana.ca_sdk_name}} Demo App: Unified Balance</figcaption></figure></span>
154130

155131
=== "Web3 Users"
156132

157133
<span markdown="span">{% include "./text-snippets/ca/ca_wallet.md" %}</span>
158134

135+
## Why Chain Abstraction?
136+
137+
Chain abstraction addresses multiple blockchain usability issues. It eliminates liquidity fragmentation, enabling users to spend the available source chain unified balance on any destination chain. This offers a superior user experience by eliminating the need for users to navigate multiple blockchain hoops (bridges, token swaps, and determining the optimal route to consolidate funds acceptable on the destination chain). With unified balance, users can onboard a new chain with no assets or spend on a destination chain where the EOA has insufficient funds.
138+
139+
The table below illustrates how the user experience is superior with a single-click chain abstracted transaction.
140+
141+
| UX: Transact on New Chain | No CA: Complex, Multi-step UX | With CA: One-step UX |
142+
| :---------- | :----------------------------------- | :-----------------------|
143+
| :material-numeric-1-circle: Figure out which chain your app runs on | :material-clipboard-text-clock::material-cursor-default-click-outline::octicons-ellipsis-16: | :material-minus-circle-off:{ .icon-color } |
144+
| :material-numeric-2-circle: Hunt for the best bridge to move assets | :material-clipboard-text-clock::material-cursor-default-click-outline::octicons-ellipsis-16: | :material-minus-circle-off:{ .icon-color } |
145+
| :material-numeric-3-circle: Fund gas tokens on different chains | :material-clipboard-text-clock::material-cursor-default-click-outline::octicons-ellipsis-16: | :material-minus-circle-off:{ .icon-color } |
146+
| :material-numeric-4-circle: Track and transfer balances across chains | :material-clipboard-text-clock::material-cursor-default-click-outline::octicons-ellipsis-16: | :material-minus-circle-off:{ .icon-color } |
147+
| Issue a transaction on a new chain | :material-cursor-default-click-outline::material-timer-sand-complete::material-check-outline: | :material-check-bold:{ .icon-color .logo_icon_anim } |
148+
149+
[Learn more...](https://blog.arcana.network/)
150+
159151
## Need Help?
160152

161153
{% include "./text-snippets/need_help.md" %}

docs/overrides/ca-style.html

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
}
7070

7171
.md-source-file {
72-
display: none;
72+
display: block; /* Set display to none to not show the author and publish date time on the landing page */
7373
}
7474

7575
.md-main {
@@ -668,12 +668,6 @@
668668
}
669669
</style>
670670

671-
<!---
672-
<section class="md-grid md-typeset">
673-
674-
</section>
675-
-->
676-
677671
{% include "partials/content.html" %}
678672

679673
{% endblock %}

docs/overrides/partials/source-file.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
{% import "partials/language.html" as lang with context %}
22

3-
<!-- taken from
4-
https://github.com/squidfunk/mkdocs-material/blob/master/src/partials/source-file.html -->
5-
63
<hr />
74
<div class="md-source-file">
85
<small>

docs/quick-start/ca-wagmi-quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const { writeContract, writeContractAsync } = useWriteContract();
6464
Use these Arcana hooks to access [[concept-unified-balance|unified balance]] via the plug-and-play widget. Additionally, you can enable chain abstracted bridge and transfer functions through `useCAFns`.
6565

6666
* [`useBalance`](#usebalance) - to get the unified balance value across all supported chains for the specified token string
67-
* [`useBalances`](#usebalances) - to get the unified balance values across all supported chains for all supported tokens associated with the EoA
67+
* [`useBalances`](#usebalances) - to get the unified balance values across all supported chains for all supported tokens associated with the EOA
6868
* [`useBalanceModal`](#usebalancemodal) - to display or hide the unified balance popup widget
6969
* [`useCAFn()`](#usecafn) - for chain abstracted bridging and token transfer functionality
7070

includes/code-snippets/auth_switch_account_type.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ console.log(accountType);
99

1010
/* If account Type is not eoa then switch to eoa */
1111
/* Before switching to scw accounts ensure that scw is enabled for that chain 8?
12-
/* SCW accounts are enabled for users in addition to EoA only if gas tank is set up for supported chains*/
12+
/* SCW accounts are enabled for users in addition to EOA only if gas tank is set up for supported chains*/
1313

1414
if (accountType != "eoa"){
1515
const output = await auth.provider.request({

0 commit comments

Comments
 (0)