This file contains hidden or 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
| import NeucronSDK from "neucron-sdk"; | |
| const neucron = new NeucronSDK(); | |
| const authModule = neucron.authentication; | |
| const walletModule = neucron.wallet; | |
| // const signUpResponse = await authModule.signUp({ email: "rebecca@timechainlabs.io", password: "string" }); | |
| // console.log(signUpResponse); |
This file contains hidden or 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
| import { PrivateKey, P2PKH, Transaction, ARC } from '@bsv/sdk' | |
| const privKey = PrivateKey.fromRandom() | |
| const WIF = privKey.toWif() | |
| console.log("Private Key WIF format is ", WIF) | |
| const address = privKey.toAddress() | |
| console.log("Your bitcoin address is ", address) | |
| // const privKey = PrivateKey.fromWif('L5EY1SbTvvPNSdCYQe1EJHfXCBBT4PmnF6CDbzCm9iifZptUvDGB') |
This file contains hidden or 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
| // Docs for wallet javascript library: | |
| // https://docs.relysia.com/ | |
| // Swagger API to test | |
| // https://api.relysia.com/docs | |
| // ------------------------------------------------------------- | |
| // STEP 0 | |
| // signup first using email and password by | |
| // swagger UI at https://api.relysia.com/docs to make API call to |
This file contains hidden or 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
| // Docs for wallet javascript library: | |
| // https://docs.relysia.com/ | |
| // Swagger API to test | |
| // https://api.relysia.com/docs | |
| // ------------------------------------------------------------- | |
| // STEP 0 | |
| // signup first using email and password by | |
| // swagger UI at https://api.relysia.com/docs to make API call to |