Skip to content

Commit 73fa519

Browse files
xxhonggitbook-bot
authored andcommitted
GITBOOK-1120: No subject
1 parent 38cf193 commit 73fa519

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

developers/wallet-service/sdks/android.md

+11-13
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ ParticleNetwork.signAndSendTransaction(activity,
171171
{% endtab %}
172172
{% endtabs %}
173173

174-
#### Get Token info list 
174+
#### Get Token info list
175175

176176
{% tabs %}
177177
{% tab title="Kotlin" %}
@@ -182,7 +182,7 @@ ParticleNetwork.solana.getTokenList()
182182
{% endtab %}
183183
{% endtabs %}
184184

185-
#### Access 👉 [any RPC ](../../node-service/solana-api/)
185+
#### Access 👉 [any RPC](../../node-service/solana-api/)
186186

187187
{% tabs %}
188188
{% tab title="Kotlin" %}
@@ -261,7 +261,7 @@ ParticleNetwork.evm.suggestedGasFees()
261261
{% endtab %}
262262
{% endtabs %}
263263

264-
#### Get Token info list 
264+
#### Get Token info list
265265

266266
{% tabs %}
267267
{% tab title="Kotlin" %}
@@ -272,7 +272,7 @@ ParticleNetwork.evm.getTokenList()
272272
{% endtab %}
273273
{% endtabs %}
274274

275-
#### Access 👉 [any RPC ](../../node-service/evm-chains-api/)
275+
#### Access 👉 [any RPC](../../node-service/evm-chains-api/)
276276

277277
{% tabs %}
278278
{% tab title="Kotlin" %}
@@ -358,8 +358,6 @@ ParticleNetwork.evm.abiEncodeFunctionCall(contractAddress: String,method: String
358358
// For erc20/721/1155 methods we support, this parameter is not needed
359359
// And if your contract is verified at the chain's scan website, this parameter is not needed
360360
```
361-
362-
363361
{% endtab %}
364362
{% endtabs %}
365363

@@ -484,11 +482,11 @@ ParticleWallet.enablePay(ParticleNetwork.INSTANCE,false);
484482
{% endtab %}
485483
{% endtabs %}
486484

487-
### Custom Wallet UI  
485+
### Custom Wallet UI
488486

489487
Control show or hide test network, manage wallet page, support chain.
490488

491-
Because ParticleWalletGUI dependent on Particle Connect, Particle Connect initialize chain will add to support chain automatically. 
489+
Because ParticleWalletGUI dependent on Particle Connect, Particle Connect initialize chain will add to support chain automatically.
492490

493491
```kotlin
494492
// show or hide test network, default is false.
@@ -661,15 +659,15 @@ PNRouter.build(RouterPath.NftDetails, params).navigation()
661659
// every parameter is optional
662660
ParticleNetwork.openBuy(
663661
walletAddress: String? = null,
664-
amount: Int? = null,
665-
fiatCoin: String = "usd",
662+
amount: Int? = null, //1000
663+
fiatCoin: String = "usd",
666664
cryptoCoin: String = "eth",
667665
fixFiatCoin: Boolean = false,
668666
fixFiatAmt: Boolean = false,
669667
fixCryptoCoin: Boolean = false,
670-
theme: String = "light",
671-
language: String = "en-us",
672-
chainName: String? = null
668+
theme: String = "light", // light or dark
669+
language: String = "en-us", //en-us、ko-kr、zh-cn、zh-tw、ja-jp
670+
chainName: String? = null // ChainInfo.Ethereum.name、ChainInfo.Polygon.name ... , nullable,default ParticleNetwork.chainInfo.name
673671
)
674672
```
675673

0 commit comments

Comments
 (0)