@@ -30,7 +30,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
3030| [ FiatExchangeRates] ( #interface-fiatexchangerates ) | [ PurgeParams] ( #interface-purgeparams ) | [ TxScriptOffsets] ( #interface-txscriptoffsets ) |
3131| [ FindCertificateFieldsArgs] ( #interface-findcertificatefieldsargs ) | [ PurgeResults] ( #interface-purgeresults ) | [ UpdateProvenTxReqWithNewProvenTxArgs] ( #interface-updateproventxreqwithnewproventxargs ) |
3232| [ FindCertificatesArgs] ( #interface-findcertificatesargs ) | [ RequestSyncChunkArgs] ( #interface-requestsyncchunkargs ) | [ UpdateProvenTxReqWithNewProvenTxResult] ( #interface-updateproventxreqwithnewproventxresult ) |
33- | [ FindCommissionsArgs] ( #interface-findcommissionsargs ) | [ ScriptTemplateParamsSABPPP ] ( #interface-scripttemplateparamssabppp ) | [ ValidAbortActionArgs] ( #interface-validabortactionargs ) |
33+ | [ FindCommissionsArgs] ( #interface-findcommissionsargs ) | [ ScriptTemplateParamsBRC29 ] ( #interface-scripttemplateparamsbrc29 ) | [ ValidAbortActionArgs] ( #interface-validabortactionargs ) |
3434| [ FindForUserSincePagedArgs] ( #interface-findforusersincepagedargs ) | [ ScriptTemplateUnlock] ( #interface-scripttemplateunlock ) | [ ValidAcquireCertificateArgs] ( #interface-validacquirecertificateargs ) |
3535| [ FindMonitorEventsArgs] ( #interface-findmonitoreventsargs ) | [ SetupEnv] ( #interface-setupenv ) | [ ValidAcquireDirectCertificateArgs] ( #interface-validacquiredirectcertificateargs ) |
3636| [ FindOutputBasketsArgs] ( #interface-findoutputbasketsargs ) | [ SetupWallet] ( #interface-setupwallet ) | [ ValidAcquireIssuanceCertificateArgs] ( #interface-validacquireissuancecertificateargs ) |
@@ -1560,10 +1560,10 @@ toStorageIdentityKey: string
15601560Links: [ API] ( #api ) , [ Interfaces] ( #interfaces ) , [ Classes] ( #classes ) , [ Functions] ( #functions ) , [ Types] ( #types ) , [ Variables] ( #variables )
15611561
15621562---
1563- ##### Interface: ScriptTemplateParamsSABPPP
1563+ ##### Interface: ScriptTemplateParamsBRC29
15641564
15651565``` ts
1566- export interface ScriptTemplateParamsSABPPP {
1566+ export interface ScriptTemplateParamsBRC29 {
15671567 derivationPrefix? : string ;
15681568 derivationSuffix? : string ;
15691569 keyDeriver: KeyDeriverApi ;
@@ -3982,7 +3982,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
39823982| | | |
39833983| --- | --- | --- |
39843984| [ CertOps] ( #class-certops ) | [ PrivilegedKeyManager] ( #class-privilegedkeymanager ) | [ WERR_BAD_REQUEST] ( #class-werr_bad_request ) |
3985- | [ EntityBase] ( #class-entitybase ) | [ ScriptTemplateSABPPP ] ( #class-scripttemplatesabppp ) | [ WERR_INSUFFICIENT_FUNDS] ( #class-werr_insufficient_funds ) |
3985+ | [ EntityBase] ( #class-entitybase ) | [ ScriptTemplateBRC29 ] ( #class-scripttemplatebrc29 ) | [ WERR_INSUFFICIENT_FUNDS] ( #class-werr_insufficient_funds ) |
39863986| [ EntityCertificate] ( #class-entitycertificate ) | [ ServiceCollection] ( #class-servicecollection ) | [ WERR_INTERNAL] ( #class-werr_internal ) |
39873987| [ EntityCertificateField] ( #class-entitycertificatefield ) | [ Services] ( #class-services ) | [ WERR_INVALID_OPERATION] ( #class-werr_invalid_operation ) |
39883988| [ EntityCommission] ( #class-entitycommission ) | [ SetupClient] ( #class-setupclient ) | [ WERR_INVALID_PARAMETER] ( #class-werr_invalid_parameter ) |
@@ -5234,15 +5234,15 @@ destroyKey(): void
52345234Links: [ API] ( #api ) , [ Interfaces] ( #interfaces ) , [ Classes] ( #classes ) , [ Functions] ( #functions ) , [ Types] ( #types ) , [ Variables] ( #variables )
52355235
52365236---
5237- ##### Class: ScriptTemplateSABPPP
5237+ ##### Class: ScriptTemplateBRC29
52385238
52395239Simple Authenticated BSV P2PKH Payment Protocol
52405240https://brc.dev/29
52415241
52425242``` ts
5243- export class ScriptTemplateSABPPP implements ScriptTemplate {
5243+ export class ScriptTemplateBRC29 implements ScriptTemplate {
52445244 p2pkh: P2PKH ;
5245- constructor (public params : ScriptTemplateParamsSABPPP )
5245+ constructor (public params : ScriptTemplateParamsBRC29 )
52465246 getKeyID()
52475247 getKeyDeriver(privKey : PrivateKey | HexString ): KeyDeriverApi
52485248 lock(lockerPrivKey : string , unlockerPubKey : string ): LockingScript
@@ -5251,7 +5251,7 @@ export class ScriptTemplateSABPPP implements ScriptTemplate {
52515251}
52525252```
52535253
5254- See also: [ ScriptTemplateParamsSABPPP ] ( ./client.md#interface-scripttemplateparamssabppp ) , [ ScriptTemplateUnlock] ( ./client.md#interface-scripttemplateunlock )
5254+ See also: [ ScriptTemplateParamsBRC29 ] ( ./client.md#interface-scripttemplateparamsbrc29 ) , [ ScriptTemplateUnlock] ( ./client.md#interface-scripttemplateunlock )
52555255
52565256###### Property unlockLength
52575257
@@ -5371,21 +5371,21 @@ export abstract class SetupClient {
53715371 const mainPrivKey2 = PrivateKey .fromRandom ();
53725372 const mainIdentityKey2 = mainPrivKey2 .toPublicKey ().toString ();
53735373 const log = `
5374- # Add the following to .env file:
5375- MAIN_TAAL_API_KEY='mainnet_9596de07e92300c6287e4393594ae39c '
5376- TEST_TAAL_API_KEY='testnet_0e6cf72133b43ea2d7861da2a38684e3 '
5377- MY_TEST_IDENTITY = '${testIdentityKey1 }'
5378- MY_TEST_IDENTITY2 = '${testIdentityKey2 }'
5379- MY_MAIN_IDENTITY = '${ mainIdentityKey1 } '
5380- MY_MAIN_IDENTITY2 = '${ mainIdentityKey2 } '
5381- DEV_KEYS = '{
5382- "${ testIdentityKey1 }": "${ testPrivKey1 . toString ()}",
5383- "${testIdentityKey2 }": "${testPrivKey2 .toString ()}"
5384- "${mainIdentityKey1 }": "${mainPrivKey1 .toString ()}",
5385- "${mainIdentityKey2 }": "${mainPrivKey2 .toString ()}"
5386- }'
5387- MYSQL_CONNECTION='{"port":3306,"host":"127.0.0.1","user":"root","password":"<your_password>","database":"<your_database>", "timezone": "Z" }'
5388- ` ;
5374+ # .env file template for working with wallet-toolbox Setup functions.
5375+ MY_TEST_IDENTITY = '${ testIdentityKey1 } '
5376+ MY_TEST_IDENTITY2 = '${ testIdentityKey2 } '
5377+ MY_MAIN_IDENTITY = '${mainIdentityKey1 }'
5378+ MY_MAIN_IDENTITY2 = '${mainIdentityKey2 }'
5379+ MAIN_TAAL_API_KEY='mainnet_9596de07e92300c6287e4393594ae39c '
5380+ TEST_TAAL_API_KEY='testnet_0e6cf72133b43ea2d7861da2a38684e3 '
5381+ MYSQL_CONNECTION='{"port":3306,"host":"127.0.0.1","user":"root","password":"<your_password>","database":"<your_database>", "timezone": "Z"}'
5382+ DEV_KEYS = '{
5383+ "${testIdentityKey1 }": "${testPrivKey1 .toString ()}",
5384+ "${testIdentityKey2 }": "${testPrivKey2 .toString ()}"
5385+ "${mainIdentityKey1 }": "${mainPrivKey1 .toString ()}",
5386+ "${ mainIdentityKey2 }": "${ mainPrivKey2 . toString ()}"
5387+ }'
5388+ ` ;
53895389 console .log (log );
53905390 return log ;
53915391 }
@@ -5537,7 +5537,7 @@ export abstract class SetupClient {
55375537}
55385538```
55395539
5540- See also: [ Chain] ( ./client.md#type-chain ) , [ KeyPairAddress] ( ./setup.md#interface-keypairaddress ) , [ Monitor] ( ./monitor.md#class-monitor ) , [ PrivilegedKeyManager] ( ./client.md#class-privilegedkeymanager ) , [ ScriptTemplateUnlock] ( ./client.md#interface-scripttemplateunlock ) , [ Services] ( ./services.md#class-services ) , [ SetupEnv] ( ./setup.md#interface-setupenv ) , [ SetupWallet] ( ./setup.md#interface-setupwallet ) , [ SetupWalletArgs] ( ./setup.md#interface-setupwalletargs ) , [ SetupWalletClient] ( ./setup.md#interface-setupwalletclient ) , [ SetupWalletClientArgs] ( ./setup.md#interface-setupwalletclientargs ) , [ StorageClient] ( ./storage.md#class-storageclient ) , [ WERR_INVALID_OPERATION] ( ./client.md#class-werr_invalid_operation ) , [ WERR_INVALID_PARAMETER] ( ./client.md#class-werr_invalid_parameter ) , [ Wallet] ( ./client.md#class-wallet ) , [ WalletStorageManager] ( ./storage.md#class-walletstoragemanager ) , [ createAction] ( ./storage.md#function-createaction ) , [ verifyTruthy] ( ./client.md#function-verifytruthy )
5540+ See also: [ Chain] ( ./client.md#type-chain ) , [ KeyPairAddress] ( ./setup.md#interface-keypairaddress ) , [ Monitor] ( ./monitor.md#class-monitor ) , [ PrivilegedKeyManager] ( ./client.md#class-privilegedkeymanager ) , [ ScriptTemplateUnlock] ( ./client.md#interface-scripttemplateunlock ) , [ Services] ( ./services.md#class-services ) , [ Setup ] ( ./setup.md#class-setup ) , [ SetupEnv] ( ./setup.md#interface-setupenv ) , [ SetupWallet] ( ./setup.md#interface-setupwallet ) , [ SetupWalletArgs] ( ./setup.md#interface-setupwalletargs ) , [ SetupWalletClient] ( ./setup.md#interface-setupwalletclient ) , [ SetupWalletClientArgs] ( ./setup.md#interface-setupwalletclientargs ) , [ StorageClient] ( ./storage.md#class-storageclient ) , [ WERR_INVALID_OPERATION] ( ./client.md#class-werr_invalid_operation ) , [ WERR_INVALID_PARAMETER] ( ./client.md#class-werr_invalid_parameter ) , [ Wallet] ( ./client.md#class-wallet ) , [ WalletStorageManager] ( ./storage.md#class-walletstoragemanager ) , [ createAction] ( ./storage.md#function-createaction ) , [ verifyTruthy] ( ./client.md#function-verifytruthy )
55415541
55425542###### Method createWallet
55435543
@@ -5654,25 +5654,26 @@ static makeEnv(): string {
56545654 const mainPrivKey2 = PrivateKey .fromRandom ();
56555655 const mainIdentityKey2 = mainPrivKey2 .toPublicKey ().toString ();
56565656 const log = `
5657- # Add the following to .env file:
5658- MAIN_TAAL_API_KEY='mainnet_9596de07e92300c6287e4393594ae39c '
5659- TEST_TAAL_API_KEY='testnet_0e6cf72133b43ea2d7861da2a38684e3 '
5660- MY_TEST_IDENTITY = '${testIdentityKey1 }'
5661- MY_TEST_IDENTITY2 = '${testIdentityKey2 }'
5662- MY_MAIN_IDENTITY = '${ mainIdentityKey1 } '
5663- MY_MAIN_IDENTITY2 = '${ mainIdentityKey2 } '
5664- DEV_KEYS = '{
5665- "${ testIdentityKey1 }": "${ testPrivKey1 . toString ()}",
5666- "${testIdentityKey2 }": "${testPrivKey2 .toString ()}"
5667- "${mainIdentityKey1 }": "${mainPrivKey1 .toString ()}",
5668- "${mainIdentityKey2 }": "${mainPrivKey2 .toString ()}"
5669- }'
5670- MYSQL_CONNECTION='{"port":3306,"host":"127.0.0.1","user":"root","password":"<your_password>","database":"<your_database>", "timezone": "Z" }'
5671- ` ;
5657+ # .env file template for working with wallet-toolbox Setup functions.
5658+ MY_TEST_IDENTITY = '${ testIdentityKey1 } '
5659+ MY_TEST_IDENTITY2 = '${ testIdentityKey2 } '
5660+ MY_MAIN_IDENTITY = '${mainIdentityKey1 }'
5661+ MY_MAIN_IDENTITY2 = '${mainIdentityKey2 }'
5662+ MAIN_TAAL_API_KEY='mainnet_9596de07e92300c6287e4393594ae39c '
5663+ TEST_TAAL_API_KEY='testnet_0e6cf72133b43ea2d7861da2a38684e3 '
5664+ MYSQL_CONNECTION='{"port":3306,"host":"127.0.0.1","user":"root","password":"<your_password>","database":"<your_database>", "timezone": "Z"}'
5665+ DEV_KEYS = '{
5666+ "${testIdentityKey1 }": "${testPrivKey1 .toString ()}",
5667+ "${testIdentityKey2 }": "${testPrivKey2 .toString ()}"
5668+ "${mainIdentityKey1 }": "${mainPrivKey1 .toString ()}",
5669+ "${ mainIdentityKey2 }": "${ mainPrivKey2 . toString ()}"
5670+ }'
5671+ ` ;
56725672 console .log (log );
56735673 return log ;
56745674}
56755675```
5676+ See also: [ Setup] ( ./setup.md#class-setup )
56765677
56775678Links: [ API] ( #api ) , [ Interfaces] ( #interfaces ) , [ Classes] ( #classes ) , [ Functions] ( #functions ) , [ Types] ( #types ) , [ Variables] ( #variables )
56785679
0 commit comments