Skip to content

Commit b359c30

Browse files
committed
update readme
1 parent 351eab9 commit b359c30

2 files changed

Lines changed: 5 additions & 18 deletions

File tree

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ method on the `config` instance needs to be called, the `put` method returns the
6969
```kotlin
7070

7171
Fcl.config(
72-
appName = "FCLDemo",
73-
appIcon = "https://placekitten.com/g/200/200",
74-
location = "https://foo.com",
75-
env = FlowNetwork.MAINNET,
72+
appMetadata = AppMetadata(),
73+
env = FlowEnvironment(),
74+
// Not required: only required if you use the wallet connect function
75+
walletConnectMeta = WalletConnectMeta()
7676
)
7777

7878
```
@@ -96,8 +96,7 @@ Calling this method will authenticate the current user via any wallet that suppo
9696
Fcl.authenticate(WalletProvider.DAPPER)
9797
```
9898

99-
100-
### `authz`
99+
### `mutate`
101100
A **convenience method** that produces the needed authorization details for the current user to submit transactions to Flow. It defines a signing function that connects to a user's wallet provider to produce signatures to submit transactions.
102101

103102
#### Usage

fcl-android/src/main/java/io/outblock/fcl/Fcl.kt

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -167,18 +167,6 @@ object Fcl {
167167
}
168168
}
169169

170-
fun unauthenticate() {
171-
172-
}
173-
174-
fun reauthenticate() {
175-
176-
}
177-
178-
fun authorization() {
179-
180-
}
181-
182170
fun isMainnet(): Boolean = config.get(Config.KEY.Env) == FlowNetwork.MAINNET.network
183171
}
184172

0 commit comments

Comments
 (0)