Last active
August 20, 2019 08:31
-
-
Save kristjank/78a2aa4d38f8f7bf4f8f2773e147f988 to your computer and use it in GitHub Desktop.
builder-usafe.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// builder usage | |
const builder = new BusinessRegistrationBuilder(); | |
const businessRegistrationTransaction = builder | |
.nonce("3") | |
.businessRegistrationAsset({ | |
name: "businessName", | |
website: "www.website.com", | |
}) | |
.sign("clay harbor enemy utility margin pretty hub comic piece aerobic umbrella acquire"); | |
// testing | |
expect(actual.build().verified).toBeTrue(); | |
expect(actual.verify()).toBeTrue(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment