Skip to content

fix READEME #8

@BlakeKaufman

Description

@BlakeKaufman

The get transaction variable should be changed from

const address = await wollet.getTransactions();
console.log(address);

to

const transactions = await wollet.getTransactions();
console.log(transactions);

The txid string returned from a sent transaction should be changed from

 console.log("BROADCASTED TX!\nTXID: {:?}", tx.txId.toString());

to

 console.log("BROADCASTED TX!\nTXID: {:?}", (await tx.txId()).toString());

Also, we might want to add documentation saying you need to add in the android > build.gradle as well as the minSdkVersion being 24

allprojects {
    repositories {
        // * Your other repositories here *
        maven {
            name = "GitHubPackages"
            url = uri("https://maven.pkg.github.com/blockstream/lwk")
            // * Github personal access token *
            credentials { 
                username = System.getenv("GITHUB_USER")
                password = System.getenv("GITHUB_TOKEN")
            }
        }
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions