@@ -469,167 +469,4 @@ export const TESTNET_SCRIPTS: Record<KnownScript, ScriptInfoLike> =
469469 } ,
470470 ] ,
471471 } ,
472- [ KnownScript . RgbppLock ] : {
473- codeHash :
474- "0x61ca7a4796a4eb19ca4f0d065cb9b10ddcf002f10f7cbb810c706cb6bb5c3248" ,
475- hashType : "type" ,
476- cellDeps : [
477- {
478- cellDep : {
479- outPoint : {
480- txHash :
481- "0xf1de59e973b85791ec32debbba08dff80c63197e895eb95d67fc1e9f6b413e00" ,
482- index : 0 ,
483- } ,
484- depType : "code" ,
485- } ,
486- type : {
487- codeHash :
488- "0x00000000000000000000000000000000000000000000000000545950455f4944" ,
489- hashType : "type" ,
490- args : "0xa3bc8441df149def76cfe15fec7b1e51d949548bc27fb7a75e9d4b3ef1c12c7f" ,
491- } ,
492- } ,
493- // Rgbpp lock config cell dep for Bitcoin Testnet3
494- {
495- cellDep : {
496- outPoint : {
497- txHash :
498- "0xf1de59e973b85791ec32debbba08dff80c63197e895eb95d67fc1e9f6b413e00" ,
499- index : 1 ,
500- } ,
501- depType : "code" ,
502- } ,
503- } ,
504- ] ,
505- } ,
506- [ KnownScript . BtcTimeLock ] : {
507- codeHash :
508- "0x00cdf8fab0f8ac638758ebf5ea5e4052b1d71e8a77b9f43139718621f6849326" ,
509- hashType : "type" ,
510- cellDeps : [
511- {
512- cellDep : {
513- outPoint : {
514- txHash :
515- "0xde0f87878a97500f549418e5d46d2f7704c565a262aa17036c9c1c13ad638529" ,
516- index : 0 ,
517- } ,
518- depType : "code" ,
519- } ,
520- type : {
521- codeHash :
522- "0x00000000000000000000000000000000000000000000000000545950455f4944" ,
523- hashType : "type" ,
524- args : "0xc9828585e6dd2afacb9e6e8ca7deb0975121aabee5c7983178a45509ffaec984" ,
525- } ,
526- } ,
527- // btc time lock config cell dep for Bitcoin Testnet3
528- {
529- cellDep : {
530- outPoint : {
531- txHash :
532- "0xde0f87878a97500f549418e5d46d2f7704c565a262aa17036c9c1c13ad638529" ,
533- index : 1 ,
534- } ,
535- depType : "code" ,
536- } ,
537- } ,
538- ] ,
539- } ,
540472 } ) ;
541-
542- /**
543- * Bitcoin Signet specific script overrides for testnet
544- *
545- * Contains script configurations that differ when using Bitcoin Signet
546- * instead of Bitcoin Testnet3. Only RgbppLock and BtcTimeLock are affected.
547- *
548- * @example
549- * ```typescript
550- * import { ClientPublicTestnet } from "@ckb-ccc/core";
551- * import { TESTNET_SCRIPTS, TESTNET_SCRIPTS_BTC_SIGNET_OVERRIDES } from "@ckb-ccc/core/advanced";
552- *
553- * // Use Bitcoin Testnet3 scripts (default)
554- * const testnet3Client = new ClientPublicTestnet();
555- *
556- * // Use Bitcoin Signet scripts by merging overrides
557- * const signetClient = new ClientPublicTestnet({
558- * scripts: {
559- * ...TESTNET_SCRIPTS,
560- * ...TESTNET_SCRIPTS_BTC_SIGNET_OVERRIDES
561- * }
562- * });
563- */
564- export const TESTNET_SCRIPTS_BTC_SIGNET_OVERRIDES : Partial <
565- Record < KnownScript , ScriptInfoLike >
566- > = Object . freeze ( {
567- [ KnownScript . RgbppLock ] : {
568- codeHash :
569- "0xd07598deec7ce7b5665310386b4abd06a6d48843e953c5cc2112ad0d5a220364" ,
570- hashType : "type" ,
571- cellDeps : [
572- {
573- cellDep : {
574- outPoint : {
575- txHash :
576- "0x61efdeddbaa0bb4132c0eb174b3e8002ff5ec430f61ba46f30768d683c516eec" ,
577- index : 0 ,
578- } ,
579- depType : "code" ,
580- } ,
581- type : {
582- codeHash :
583- "0x00000000000000000000000000000000000000000000000000545950455f4944" ,
584- hashType : "type" ,
585- args : "0xb69fe766ce3b7014a2a78ad1fe688d82f1679325805371d2856c3b8d18ebfa5a" ,
586- } ,
587- } ,
588- // Rgbpp lock config cell dep for Bitcoin Signet
589- {
590- cellDep : {
591- outPoint : {
592- txHash :
593- "0x61efdeddbaa0bb4132c0eb174b3e8002ff5ec430f61ba46f30768d683c516eec" ,
594- index : 1 ,
595- } ,
596- depType : "code" ,
597- } ,
598- } ,
599- ] ,
600- } ,
601- [ KnownScript . BtcTimeLock ] : {
602- codeHash :
603- "0x80a09eca26d77cea1f5a69471c59481be7404febf40ee90f886c36a948385b55" ,
604- hashType : "type" ,
605- cellDeps : [
606- {
607- cellDep : {
608- outPoint : {
609- txHash :
610- "0x5364b3535965e9eac9a35dd7af8e9e45a61d30a16e115923c032f80b28783e21" ,
611- index : 0 ,
612- } ,
613- depType : "code" ,
614- } ,
615- type : {
616- codeHash :
617- "0x00000000000000000000000000000000000000000000000000545950455f4944" ,
618- hashType : "type" ,
619- args : "0x32fc8c70a6451a1439fd91e214bba093f9cdd9276bc4ab223430dab5940aff92" ,
620- } ,
621- } ,
622- // btc time lock config cell dep for Bitcoin Signet
623- {
624- cellDep : {
625- outPoint : {
626- txHash :
627- "0x5364b3535965e9eac9a35dd7af8e9e45a61d30a16e115923c032f80b28783e21" ,
628- index : 1 ,
629- } ,
630- depType : "code" ,
631- } ,
632- } ,
633- ] ,
634- } ,
635- } ) ;
0 commit comments