Skip to content

Commit d13818d

Browse files
authored
Merge pull request #9 from Blockstream/fix-readme
Fix readme
2 parents cb52f64 + 8baa035 commit d13818d

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

README.md

+12-9
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
# lwk-rn
1+
# Liquid Wallet Kit - react native
22

3-
Liquid Wallet Kit react native module
3+
**LWK-rn** is a React Native module for [Liquid Wallet Kit](https://github.com/Blockstream/lwk). Its goal is to provide all the necessary building blocks for mobile development of a liquid wallet.
44

5-
_Note: Caution this is an Alpha at this stage
6-
Please consider reviewing, experimenting and contributing ⚡️_
5+
** NOTE: LWK and LWK-rn is in public beta and still undergoing significant development. Use it at your own risk. **
76

8-
Thanks for taking a look!
7+
_Please consider reviewing, experimenting and contributing_
8+
9+
_Thanks for taking a look!_
910

1011
## Installation
1112

@@ -21,14 +22,16 @@ Using yarn:
2122
yarn add lwk-rn
2223
```
2324

24-
[IOS Only] Install pods:
25+
[iOS Only] Install pods:
2526

2627
```bash
2728
npx pod-install
2829
or
2930
cd ios && pod install
3031
```
3132

33+
Note: Use android sdk version >= 23 and iOS >= v13 .
34+
3235
### Examples
3336

3437
You could run the example in iOS or android by the following
@@ -64,8 +67,8 @@ console.log(address);
6467

6568
Get a transaction list:
6669
```js
67-
const address = await wollet.getTransactions();
68-
console.log(address);
70+
const transactions = await wollet.getTransactions();
71+
console.log(transactions);
6972
```
7073

7174
Get balance as `[AssetId : UInt64]`:
@@ -87,7 +90,7 @@ Build, sign and broadcast a Transaction:
8790
let finalized_pset = await wollet.finalize(signed_pset);
8891
const tx = await finalized_pset.extractTx();
8992
await client.broadcast(tx);
90-
console.log("BROADCASTED TX!\nTXID: {:?}", tx.txId.toString());
93+
console.log("BROADCASTED TX!\nTXID: {:?}", (await tx.txId.toString()));
9194
```
9295
## Contributing
9396

android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ android {
2929
compileSdkVersion safeExtGet('compileSdkVersion', 34)
3030
namespace 'io.lwkrn'
3131
defaultConfig {
32-
minSdkVersion safeExtGet('minSdkVersion', 34)
32+
minSdkVersion safeExtGet('minSdkVersion', 24)
3333
targetSdkVersion safeExtGet('targetSdkVersion', 34)
3434
}
3535
compileOptions {

0 commit comments

Comments
 (0)