You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User story - Bridge should be able to get signer aggregate pubkey in order to sign the tapleaves.
This info can be fetched from the contract
;; Get the current aggregate pubkey.
;; This function returns the current aggregate pubkey.
(define-read-only (get-current-aggregate-pubkey)
(var-get current-aggregate-pubkey)
)
The network rpc changes based on the network we're currently on
The text was updated successfully, but these errors were encountered:
constres=(awaitfetchCallReadOnlyFunction({
contractAddress,contractName: 'sbtc-registry',functionName: 'get-current-aggregate-pubkey',functionArgs: [],senderAddress: STACKS_DEVNET.bootAddress,// zero addressnetwork: 'devnet',// will use localhost:3999}))asBufferCV;constpub=res.value.slice(2);
User story - Bridge should be able to get signer aggregate pubkey in order to sign the tapleaves.
This info can be fetched from the contract
The network rpc changes based on the network we're currently on
The text was updated successfully, but these errors were encountered: