diff --git a/README.md b/README.md index c3d8314d..0f3e2197 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ await tx.completeFeeBy(signer, 1000); // Transaction fee rate const txHash = await signer.sendTransaction(tx); ``` -We have done everything! Check [the demo source code](./packages/demo) for complete examples. +We have done everything! Check [the demo source code](https://github.com/ckb-ecofund/ccc/tree/master/packages/demo) for complete examples. ## Installing @@ -76,6 +76,7 @@ import { ccc } from "@ckb-ccc/"; ``` ## Build and Run + Run the demo of CCC in two steps: 1. Install packages and build the project @@ -85,6 +86,7 @@ Run the demo of CCC in two steps: pnpm install pnpm build ``` + 2. Run the demo in development mode ```shell @@ -93,14 +95,13 @@ cd packages/demo pnpm run dev ``` - ## Who uses CCC? -| [](https://utxoswap.xyz/) | [](https://mobit.app/) | [](https://d.id/) | [](https://omiga.io/) | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| [](https://utxoswap.xyz/) | [](https://mobit.app/) | [](https://d.id/) | [](https://omiga.io/) | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| [](https://www.nervape.com/) | [](https://utxo.global/) | [](https://bool.network/) | [](https://joydao.cc/) | [](https://world3.ai/) | -| ----------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| [](https://www.nervape.com/) | [](https://utxo.global/) | [](https://bool.network/) | [](https://joydao.cc/) | [](https://world3.ai/) | +| ------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ## FAQs diff --git a/config/typedoc.json b/config/typedoc.json new file mode 100644 index 00000000..80812edb --- /dev/null +++ b/config/typedoc.json @@ -0,0 +1,5 @@ +{ + "$schema": "https://typedoc.org/schema.json", + "entryPoints": ["./src/index.ts", "./src/advanced.ts"], + "extends": ["../../typedoc.base.json"] +} diff --git a/docs/.nojekyll b/docs/.nojekyll new file mode 100644 index 00000000..e2ac6616 --- /dev/null +++ b/docs/.nojekyll @@ -0,0 +1 @@ +TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/docs/assets/highlight.css b/docs/assets/highlight.css new file mode 100644 index 00000000..00cae70c --- /dev/null +++ b/docs/assets/highlight.css @@ -0,0 +1,106 @@ +:root { + --light-hl-0: #0000FF; + --dark-hl-0: #569CD6; + --light-hl-1: #000000; + --dark-hl-1: #D4D4D4; + --light-hl-2: #0070C1; + --dark-hl-2: #4FC1FF; + --light-hl-3: #001080; + --dark-hl-3: #9CDCFE; + --light-hl-4: #795E26; + --dark-hl-4: #DCDCAA; + --light-hl-5: #AF00DB; + --dark-hl-5: #C586C0; + --light-hl-6: #098658; + --dark-hl-6: #B5CEA8; + --light-hl-7: #008000; + --dark-hl-7: #6A9955; + --light-hl-8: #A31515; + --dark-hl-8: #CE9178; + --light-hl-9: #800000; + --dark-hl-9: #808080; + --light-hl-10: #800000; + --dark-hl-10: #569CD6; + --light-hl-11: #000000FF; + --dark-hl-11: #D4D4D4; + --light-code-background: #FFFFFF; + --dark-code-background: #1E1E1E; +} + +@media (prefers-color-scheme: light) { :root { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --hl-8: var(--light-hl-8); + --hl-9: var(--light-hl-9); + --hl-10: var(--light-hl-10); + --hl-11: var(--light-hl-11); + --code-background: var(--light-code-background); +} } + +@media (prefers-color-scheme: dark) { :root { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --hl-8: var(--dark-hl-8); + --hl-9: var(--dark-hl-9); + --hl-10: var(--dark-hl-10); + --hl-11: var(--dark-hl-11); + --code-background: var(--dark-code-background); +} } + +:root[data-theme='light'] { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --hl-8: var(--light-hl-8); + --hl-9: var(--light-hl-9); + --hl-10: var(--light-hl-10); + --hl-11: var(--light-hl-11); + --code-background: var(--light-code-background); +} + +:root[data-theme='dark'] { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --hl-8: var(--dark-hl-8); + --hl-9: var(--dark-hl-9); + --hl-10: var(--dark-hl-10); + --hl-11: var(--dark-hl-11); + --code-background: var(--dark-code-background); +} + +.hl-0 { color: var(--hl-0); } +.hl-1 { color: var(--hl-1); } +.hl-2 { color: var(--hl-2); } +.hl-3 { color: var(--hl-3); } +.hl-4 { color: var(--hl-4); } +.hl-5 { color: var(--hl-5); } +.hl-6 { color: var(--hl-6); } +.hl-7 { color: var(--hl-7); } +.hl-8 { color: var(--hl-8); } +.hl-9 { color: var(--hl-9); } +.hl-10 { color: var(--hl-10); } +.hl-11 { color: var(--hl-11); } +pre, code { background: var(--code-background); } diff --git a/docs/assets/icons.js b/docs/assets/icons.js new file mode 100644 index 00000000..e88e8ca7 --- /dev/null +++ b/docs/assets/icons.js @@ -0,0 +1,18 @@ +(function() { + addIcons(); + function addIcons() { + if (document.readyState === "loading") return document.addEventListener("DOMContentLoaded", addIcons); + const svg = document.body.appendChild(document.createElementNS("http://www.w3.org/2000/svg", "svg")); + svg.innerHTML = `""`; + svg.style.display = "none"; + if (location.protocol === "file:") updateUseElements(); + } + + function updateUseElements() { + document.querySelectorAll("use").forEach(el => { + if (el.getAttribute("href").includes("#icon-")) { + el.setAttribute("href", el.getAttribute("href").replace(/.*#/, "#")); + } + }); + } +})() \ No newline at end of file diff --git a/docs/assets/icons.svg b/docs/assets/icons.svg new file mode 100644 index 00000000..e371b8b5 --- /dev/null +++ b/docs/assets/icons.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/assets/main.js b/docs/assets/main.js new file mode 100644 index 00000000..21a5d74d --- /dev/null +++ b/docs/assets/main.js @@ -0,0 +1,60 @@ +"use strict"; +window.translations={"copy":"Copy","copied":"Copied!","normally_hidden":"This member is normally hidden due to your filter settings."}; +"use strict";(()=>{var Pe=Object.create;var ie=Object.defineProperty;var Oe=Object.getOwnPropertyDescriptor;var _e=Object.getOwnPropertyNames;var Re=Object.getPrototypeOf,Me=Object.prototype.hasOwnProperty;var Fe=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var De=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of _e(e))!Me.call(t,i)&&i!==n&&ie(t,i,{get:()=>e[i],enumerable:!(r=Oe(e,i))||r.enumerable});return t};var Ae=(t,e,n)=>(n=t!=null?Pe(Re(t)):{},De(e||!t||!t.__esModule?ie(n,"default",{value:t,enumerable:!0}):n,t));var ue=Fe((ae,le)=>{(function(){var t=function(e){var n=new t.Builder;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),n.searchPipeline.add(t.stemmer),e.call(n,n),n.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(n){e.console&&console.warn&&console.warn(n)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var n=Object.create(null),r=Object.keys(e),i=0;i0){var d=t.utils.clone(n)||{};d.position=[a,u],d.index=s.length,s.push(new t.Token(r.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. +`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");r=r+1,this._stack.splice(r,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");this._stack.splice(r,0,n)},t.Pipeline.prototype.remove=function(e){var n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ol?d+=2:a==l&&(n+=r[u+1]*i[d+1],u+=2,d+=2);return n},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}if(s.str.length==0&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}s.str.length==1&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),m=s.str.charAt(1),p;m in s.node.edges?p=s.node.edges[m]:(p=new t.TokenSet,s.node.edges[m]=p),s.str.length==1&&(p.final=!0),i.push({node:p,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,n){typeof define=="function"&&define.amd?define(n):typeof ae=="object"?le.exports=n():e.lunr=n()}(this,function(){return t})})()});var se=[];function G(t,e){se.push({selector:e,constructor:t})}var U=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible()),document.body.style.display||(this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}createComponents(e){se.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r,app:this}),r.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}showPage(){document.body.style.display&&(document.body.style.removeProperty("display"),this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}scrollToHash(){if(location.hash){let e=document.getElementById(location.hash.substring(1));if(!e)return;e.scrollIntoView({behavior:"instant",block:"start"})}}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),n=e?.parentElement;for(;n&&!n.classList.contains(".tsd-navigation");)n instanceof HTMLDetailsElement&&(n.open=!0),n=n.parentElement;if(e&&!Ve(e)){let r=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=r,document.querySelector(".col-sidebar").scrollTop=r}}updateIndexVisibility(){let e=document.querySelector(".tsd-index-content"),n=e?.open;e&&(e.open=!0),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let i=Array.from(r.querySelectorAll(".tsd-index-link")).every(s=>s.offsetParent==null);r.style.display=i?"none":"block"}),e&&(e.open=n)}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let n=e.parentElement;for(;n&&n.tagName!=="SECTION";)n=n.parentElement;if(!n)return;let r=n.offsetParent==null,i=n;for(;i!==document.body;)i instanceof HTMLDetailsElement&&(i.open=!0),i=i.parentElement;if(n.offsetParent==null){this.alwaysVisibleMember=n,n.classList.add("always-visible");let s=document.createElement("p");s.classList.add("warning"),s.textContent=window.translations.normally_hidden,n.prepend(s)}r&&e.scrollIntoView()}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let n;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent=window.translations.copied,e.classList.add("visible"),clearTimeout(n),n=setTimeout(()=>{e.classList.remove("visible"),n=setTimeout(()=>{e.textContent=window.translations.copy},100)},1e3)})})}};function Ve(t){let e=t.getBoundingClientRect(),n=Math.max(document.documentElement.clientHeight,window.innerHeight);return!(e.bottom<0||e.top-n>=0)}var oe=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var pe=Ae(ue());async function ce(t,e){if(!window.searchData)return;let n=await fetch(window.searchData),r=new Blob([await n.arrayBuffer()]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();t.data=i,t.index=pe.Index.load(i.index),e.classList.remove("loading"),e.classList.add("ready")}function fe(){let t=document.getElementById("tsd-search");if(!t)return;let e={base:t.dataset.base+"/"},n=document.getElementById("tsd-search-script");t.classList.add("loading"),n&&(n.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),n.addEventListener("load",()=>{ce(e,t)}),ce(e,t));let r=document.querySelector("#tsd-search input"),i=document.querySelector("#tsd-search .results");if(!r||!i)throw new Error("The input field or the result list wrapper was not found");i.addEventListener("mouseup",()=>{te(t)}),r.addEventListener("focus",()=>t.classList.add("has-focus")),He(t,i,r,e)}function He(t,e,n,r){n.addEventListener("input",oe(()=>{Ne(t,e,n,r)},200)),n.addEventListener("keydown",i=>{i.key=="Enter"?Be(e,t):i.key=="ArrowUp"?(de(e,n,-1),i.preventDefault()):i.key==="ArrowDown"&&(de(e,n,1),i.preventDefault())}),document.body.addEventListener("keypress",i=>{i.altKey||i.ctrlKey||i.metaKey||!n.matches(":focus")&&i.key==="/"&&(i.preventDefault(),n.focus())}),document.body.addEventListener("keyup",i=>{t.classList.contains("has-focus")&&(i.key==="Escape"||!e.matches(":focus-within")&&!n.matches(":focus"))&&(n.blur(),te(t))})}function te(t){t.classList.remove("has-focus")}function Ne(t,e,n,r){if(!r.index||!r.data)return;e.textContent="";let i=n.value.trim(),s;if(i){let o=i.split(" ").map(a=>a.length?`*${a}*`:"").join(" ");s=r.index.search(o)}else s=[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o`,d=he(l.name,i);globalThis.DEBUG_SEARCH_WEIGHTS&&(d+=` (score: ${s[o].score.toFixed(2)})`),l.parent&&(d=` + ${he(l.parent,i)}.${d}`);let m=document.createElement("li");m.classList.value=l.classes??"";let p=document.createElement("a");p.href=r.base+l.url,p.innerHTML=u+d,m.append(p),p.addEventListener("focus",()=>{e.querySelector(".current")?.classList.remove("current"),m.classList.add("current")}),e.appendChild(m)}}function de(t,e,n){let r=t.querySelector(".current");if(!r)r=t.querySelector(n==1?"li:first-child":"li:last-child"),r&&r.classList.add("current");else{let i=r;if(n===1)do i=i.nextElementSibling??void 0;while(i instanceof HTMLElement&&i.offsetParent==null);else do i=i.previousElementSibling??void 0;while(i instanceof HTMLElement&&i.offsetParent==null);i?(r.classList.remove("current"),i.classList.add("current")):n===-1&&(r.classList.remove("current"),e.focus())}}function Be(t,e){let n=t.querySelector(".current");if(n||(n=t.querySelector("li:first-child")),n){let r=n.querySelector("a");r&&(window.location.href=r.href),te(e)}}function he(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(ee(t.substring(s,o)),`${ee(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(ee(t.substring(s))),i.join("")}var je={"&":"&","<":"<",">":">","'":"'",'"':"""};function ee(t){return t.replace(/[&<>"'"]/g,e=>je[e])}var I=class{constructor(e){this.el=e.el,this.app=e.app}};var F="mousedown",ye="mousemove",N="mouseup",J={x:0,y:0},me=!1,ne=!1,qe=!1,D=!1,ve=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(ve?"is-mobile":"not-mobile");ve&&"ontouchstart"in document.documentElement&&(qe=!0,F="touchstart",ye="touchmove",N="touchend");document.addEventListener(F,t=>{ne=!0,D=!1;let e=F=="touchstart"?t.targetTouches[0]:t;J.y=e.pageY||0,J.x=e.pageX||0});document.addEventListener(ye,t=>{if(ne&&!D){let e=F=="touchstart"?t.targetTouches[0]:t,n=J.x-(e.pageX||0),r=J.y-(e.pageY||0);D=Math.sqrt(n*n+r*r)>10}});document.addEventListener(N,()=>{ne=!1});document.addEventListener("click",t=>{me&&(t.preventDefault(),t.stopImmediatePropagation(),me=!1)});var X=class extends I{constructor(e){super(e),this.className=this.el.dataset.toggle||"",this.el.addEventListener(N,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(F,n=>this.onDocumentPointerDown(n)),document.addEventListener(N,n=>this.onDocumentPointerUp(n))}setActive(e){if(this.active==e)return;this.active=e,document.documentElement.classList.toggle("has-"+this.className,e),this.el.classList.toggle("active",e);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(e){D||(this.setActive(!0),e.preventDefault())}onDocumentPointerDown(e){if(this.active){if(e.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(e){if(!D&&this.active&&e.target.closest(".col-sidebar")){let n=e.target.closest("a");if(n){let r=window.location.href;r.indexOf("#")!=-1&&(r=r.substring(0,r.indexOf("#"))),n.href.substring(0,r.length)==r&&setTimeout(()=>this.setActive(!1),250)}}}};var re;try{re=localStorage}catch{re={getItem(){return null},setItem(){}}}var Q=re;var ge=document.head.appendChild(document.createElement("style"));ge.dataset.for="filters";var Y=class extends I{constructor(e){super(e),this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),ge.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`,this.app.updateIndexVisibility()}fromLocalStorage(){let e=Q.getItem(this.key);return e?e==="true":this.el.checked}setLocalStorage(e){Q.setItem(this.key,e.toString()),this.value=e,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),this.app.updateIndexVisibility()}};var Z=class extends I{constructor(e){super(e),this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.dataset.key??this.summary.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`;let n=Q.getItem(this.key);this.el.open=n?n==="true":this.el.open,this.el.addEventListener("toggle",()=>this.update());let r=this.summary.querySelector("a");r&&r.addEventListener("click",()=>{location.assign(r.href)}),this.update()}update(){this.icon.style.transform=`rotate(${this.el.open?0:-90}deg)`,Q.setItem(this.key,this.el.open.toString())}};function Ee(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,xe(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),xe(t.value)})}function xe(t){document.documentElement.dataset.theme=t}var K;function we(){let t=document.getElementById("tsd-nav-script");t&&(t.addEventListener("load",Le),Le())}async function Le(){let t=document.getElementById("tsd-nav-container");if(!t||!window.navigationData)return;let n=await(await fetch(window.navigationData)).arrayBuffer(),r=new Blob([n]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();K=t.dataset.base,K.endsWith("/")||(K+="/"),t.innerHTML="";for(let s of i)Se(s,t,[]);window.app.createComponents(t),window.app.showPage(),window.app.ensureActivePageVisible()}function Se(t,e,n){let r=e.appendChild(document.createElement("li"));if(t.children){let i=[...n,t.text],s=r.appendChild(document.createElement("details"));s.className=t.class?`${t.class} tsd-accordion`:"tsd-accordion";let o=s.appendChild(document.createElement("summary"));o.className="tsd-accordion-summary",o.dataset.key=i.join("$"),o.innerHTML='',be(t,o);let a=s.appendChild(document.createElement("div"));a.className="tsd-accordion-details";let l=a.appendChild(document.createElement("ul"));l.className="tsd-nested-navigation";for(let u of t.children)Se(u,l,i)}else be(t,r,t.class)}function be(t,e,n){if(t.path){let r=e.appendChild(document.createElement("a"));r.href=K+t.path,n&&(r.className=n),location.pathname===r.pathname&&!r.href.includes("#")&&r.classList.add("current"),t.kind&&(r.innerHTML=``),r.appendChild(document.createElement("span")).textContent=t.text}else e.appendChild(document.createElement("span")).textContent=t.text}G(X,"a[data-toggle]");G(Z,".tsd-accordion");G(Y,".tsd-filter-item input[type=checkbox]");var Te=document.getElementById("tsd-theme");Te&&Ee(Te);var $e=new U;Object.defineProperty(window,"app",{value:$e});fe();we();})(); +/*! Bundled license information: + +lunr/lunr.js: + (** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + *) + (*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + *) + (*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + *) +*/ diff --git a/docs/assets/material-style.css b/docs/assets/material-style.css new file mode 100644 index 00000000..b7e1d318 --- /dev/null +++ b/docs/assets/material-style.css @@ -0,0 +1,247 @@ +@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap"); + +:root, +:root[data-theme="light"], +:root[data-theme="dark"] { + --font-sans: "Space Grotesk", sans-serif; + --font-mono: "Space Mono", monospace; + + --color-background: var(--md-sys-color-surface-container); + --color-background-secondary: var(--md-sys-color-surface-container-high); + --color-background-warning: var(--md-sys-color-error-container); + --color-warning-text: var(--md-sys-color-on-error-container); + --color-icon-background: var(--md-sys-color-on-primary); + --color-accent: var(--md-sys-color-secondary-container); + --color-active-menu-item: var(--md-sys-color-surface-container-highest); + --color-text: var(--md-sys-color-on-surface); + --color-text-aside: var(--md-sys-color-on-surface-variant); + --color-link: var(--md-sys-color-primary); + + --color-ts-project: var(--md-sys-color-secondary); + --color-ts-module: var(--color-ts-project); + --color-ts-namespace: var(--color-ts-project); + + --color-ts-enum: var(--md-sys-color-tertiary); + --color-ts-enum-member: var(--color-ts-enum); + + --color-ts-variable: var(--md-sys-color-primary); + --color-ts-function: var(--md-sys-color-secondary); + --color-ts-class: var(--md-sys-color-tertiary); + --color-ts-interface: var(--md-sys-color-tertiary); + + --color-ts-constructor: var(--md-sys-color-inverse-primary); + + --color-ts-property: var(--md-sys-color-on-background); + --color-ts-method: var(--color-ts-function); + + --color-ts-call-signature: var(--color-ts-method); + --color-ts-index-signature: var(--color-ts-property); /* ? */ + --color-ts-constructor-signature: var(--color-ts-function); + --color-ts-parameter: var(--md-sys-color-primary); + + --color-ts-type-parameter: var(--md-sys-color-tertiary); + --color-ts-accessor: var(--color-ts-property); + --color-ts-get-signature: var(--color-ts-accessor); + --color-ts-set-signature: var(--color-ts-accessor); + --color-ts-type-alias: var(--md-sys-color-tertiary); + + /* --external-icon: var(--md-sys-external-icon); + --color-scheme: var(--md-sys-color-scheme); */ + + --top-app-bar-height: 4.5rem; + --footer-height: 3.5rem; +} + +body { + font-family: var(--font-sans); +} +code, +pre { + font-family: var(--font-mono); +} + +img { + max-width: 100%; +} + +*::-webkit-scrollbar { + width: 8px; + height: 8px; +} +*::-webkit-scrollbar-track { + background: none; +} +*::-webkit-scrollbar-thumb { + border: none; +} + +.container-main { + min-height: calc(100vh - var(--top-app-bar-height) - var(--footer-height)); +} +.col-content { + overflow: hidden; + box-sizing: border-box; + padding: 1.75rem; + border-radius: 28px; + background-color: var(--md-sys-color-surface); +} +.page-menu { + height: fit-content; + padding: 0.75rem 1.75rem; + border-radius: 28px; + background-color: var(--md-sys-color-surface); +} +.site-menu > *, +.page-menu > * { + position: relative; +} +.title { + display: block; + max-width: calc(100% - 5rem); + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + font-size: 22px; +} + +.tsd-page-toolbar { + padding: 8px 0; + height: calc(var(--top-app-bar-height) - 16px); + background-color: var(--color-background); + border-bottom: none; +} +.tsd-page-toolbar .tsd-toolbar-contents { + height: 56px; +} +.tsd-page-toolbar .table-cell { + height: 56px; + margin-left: 1.5rem; +} +.tsd-page-toolbar .tsd-toolbar-icon { + padding: 20px 0; +} +#tsd-search { + line-height: 56px; + border-radius: 22px; +} +#tsd-search .results { + z-index: -1; + top: calc(56px - 22px); + padding-top: 22px; + box-shadow: 0px 4px 2px rgba(0, 0, 0, 0.125); + background-color: var(--color-background-secondary); + border-bottom-left-radius: 22px; + border-bottom-right-radius: 22px; + overflow: hidden; +} +#tsd-search .results li { + background: none; +} +#tsd-search .results a { + padding: 1rem 0.25rem; +} +.col-sidebar { + padding-top: 0; + margin-right: 1rem; +} + +.tsd-signature { + padding: 1rem 1.5rem; + border-radius: 24px; + background-color: var(--md-sys-color-surface-container); +} + +.tsd-page-navigation ul { + padding-left: 0.44rem; +} +.tsd-navigation a, +.tsd-navigation summary > span, +.tsd-page-navigation a { + padding: 0.88rem; + border-radius: 24px; +} +.tsd-navigation a:hover, +.tsd-page-navigation a:hover { + text-decoration: none; + background-color: var(--md-sys-color-surface-container-high); +} +.page-menu .tsd-accordion-summary svg { + position: absolute; + right: 0; +} +.site-menu .tsd-navigation .tsd-accordion-summary { + display: flex; + flex-direction: row-reverse; + width: 100%; +} + +.tsd-small-nested-navigation { + margin-left: 1rem; +} +.tsd-nested-navigation { + margin-left: 2.5rem; +} +.tsd-nested-navigation > li > a, +.tsd-nested-navigation > li > span { + width: 100%; +} +.tsd-navigation > a, +.tsd-navigation .tsd-accordion-summary { + width: 100%; +} +.tsd-index-accordion .tsd-accordion-summary > svg { + position: absolute; + right: 1.5rem; + margin-top: 1rem; +} +.tsd-accordion-summary .tsd-kind-icon ~ span { + margin-right: 2.5rem; +} +.tsd-accordion-summary .tsd-nested-navigation > li > a, +.tsd-nested-navigation > li > span { + width: calc(100% - 0.44rem); +} +.tsd-kind-icon ~ span { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.tsd-generator { + padding: 0; + border-top: none; + height: var(--footer-height); + line-height: var(--footer-height); +} +.tsd-generator > p { + padding: 0 2rem; +} + +@media (max-width: 769px) { + .container { + padding: 1rem; + } + .col-sidebar { + margin-right: 0; + } +} +@media (min-width: 770px) { + .container-main { + margin: 0 auto; + } + .site-menu { + margin-right: 0.5rem; + } +} +@media (min-width: 1200px) { + .page-menu, + .site-menu { + max-height: calc(100vh - var(--footer-height) - var(--top-app-bar-height)); + top: var(--top-app-bar-height); + } + .page-menu { + margin-left: 1rem; + } + .col-sidebar { + margin-right: 0; + } +} diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js new file mode 100644 index 00000000..13bdd7ab --- /dev/null +++ b/docs/assets/navigation.js @@ -0,0 +1 @@ +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA7Vd23IbuRH9lZSe7WRF21rbTxEleq21JKpEWk6y5WJBQ0ia5RCYzGBkMan8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8g0tIxPJUU3mtTfPNC7QySXy1rU+K4zaiuoQChyafpt9DdSSwUwW317WoxNrh1vT4GWzuTLuWa64m4IFTl8yMnrUeqZh/+QdmbMoCEs7jEMnS1yWB6jMVS1el+on7AYfHjs7v4MjSBRHgoVGl7SAxD4s2iYiHRJtEtMNhJ+BxMGxagKZszT0Og9AZzcSMGkGtLepQZtJQGfDDiaX5L78CwWr+P9ZQasm8BtJ1DYHGkcLZ2kccRGZ++wjyS++WHZ/c16juavmu9a4LTWydFpXVjSmiyqjTy2B8OtM0P/lw8gaIUGcRK6V7Oq+knqX58fGHN1Baa7w9JmJq2zUwC8Qt/XdFS4FZJexCEsnhy5FdCFqPXo07psb7dkyDQXXMKWO8YgntA4x4RGMXNJJBQewNz6kgaRYqK7Ng9OSHGmFq+sMN/9m2V8HPtzP0fNJyzkyzS+isa6bGvo75ROrSFvQADeLv0B4XqFm15eXrvC6ljd8xawFr7FadHaoTHimjBRHdH2SSk8mwmsgCOhgo9PXG5/SBVJkYMPCezKyokwDKddcUwkemQ5jWxv8DsofcgJqQAAA=" \ No newline at end of file diff --git a/docs/assets/search.js b/docs/assets/search.js new file mode 100644 index 00000000..66af2550 --- /dev/null +++ b/docs/assets/search.js @@ -0,0 +1 @@ +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA9y9XZPctpKu+1d2qG/l3kUABMF1dSRZHnuWbSkk2Wuf45joKFVTUo26q3qqqmVpJs5/P1FEfZDJFyQBJNitc2WHuph8E0jiIx98/M+Tzfrv7ZN//PU/Tz4vV9dP/iGePlnNb6sn/3jyfy0+v/9hsVj8r8V6Uz15+uR+c/PkH09u19f3N9X2f18tPr+/WiwWV/u/Xn7a3d48efpkcTPfbqvtk388efL/Pu1anF9/ma8W1fWAsePPgNWnT+7mm2q168g7v06dXrdYLJ6NfdX+tx7vOz3YeLFWDUevN9V2+3r+7WY9v/5ps759u9ssVx9Paj7crxa75XrVr8dlJkRobbGpNs+lPgm+utp9u6s45V04/3p6l7d89xud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DEGM/L1vi5jJwU6FsZe39+vh0erC8VDRfm+MScWxDNyrS6KFw2qgoFclCuMqKQVPBUIGvtu34rR2iB97yyE8Lzdi6HFPVnc4RvzF75mKNxs9IZet6X47EsOgtFOzJl487nXbptYxFDVS6s161QS5Uid0bZAW3fULWE34WWktbuWuUOJmORXaH1R56ljxSK2rygbM6WWseU8xZN9US3ED1AjKuir4fxYQyqosu3F96lD+g/5qC+wSA1xuAxqJ1Xixiyt7mBm82hS5vjE9ZifDLvbJXDOthrGrcfx+i2HfFD/pvsHSMRczkW4rJD7PJtcUpX7SffXpBWkeONxEJr5brt53I7ff8j0kMaYs/x7xnr+Idhp257+5AdIOwNvncSh5/w6ZhhD8rjd7iV0z4IDBI2gzzP4EZ12LHeWOxMYPEKLA4cuzcrQRbo9qGnLNIrbtnr47gc3+7Fy+jLTuLKWaKQbTUThzKYp/SGC+nl58fncrvzHt5QbFZplWlxhXK1ZROUcTrl/C3sFE2LfHOcMfeW8PlF8hkzBNzYDOsvlRlivw7n88I6whSheyThDpeuXsl8ovav0+NvaVvtoleFtvjt1/J6vH58Xi/L5ZGKwFlqWYEJnDIq9ut0PtcOEoTiEpVtsdbfWzdBo2mF2iyHValucUerG/OEPClXBY0kW0vfMYcd4JRhZiJax1tp4qnybSB6VU+1ItFN98KKO5wXu6bkTlb7poB5Cz9l9On3841tykJ/trL50H8vt2vpntMmzBp0/J/f/vo8rZsZX5a//vkf//nvf/9f0OE4iz4lBwA="; \ No newline at end of file diff --git a/docs/assets/style.css b/docs/assets/style.css new file mode 100644 index 00000000..9d619a64 --- /dev/null +++ b/docs/assets/style.css @@ -0,0 +1,1448 @@ +:root { + /* Light */ + --light-color-background: #f2f4f8; + --light-color-background-secondary: #eff0f1; + --light-color-warning-text: #222; + --light-color-background-warning: #e6e600; + --light-color-icon-background: var(--light-color-background); + --light-color-accent: #c5c7c9; + --light-color-active-menu-item: var(--light-color-accent); + --light-color-text: #222; + --light-color-text-aside: #6e6e6e; + --light-color-link: #1f70c2; + --light-color-focus-outline: #3584e4; + + --light-color-ts-keyword: #056bd6; + --light-color-ts-project: #b111c9; + --light-color-ts-module: var(--light-color-ts-project); + --light-color-ts-namespace: var(--light-color-ts-project); + --light-color-ts-enum: #7e6f15; + --light-color-ts-enum-member: var(--light-color-ts-enum); + --light-color-ts-variable: #4760ec; + --light-color-ts-function: #572be7; + --light-color-ts-class: #1f70c2; + --light-color-ts-interface: #108024; + --light-color-ts-constructor: var(--light-color-ts-class); + --light-color-ts-property: var(--light-color-ts-variable); + --light-color-ts-method: var(--light-color-ts-function); + --light-color-ts-call-signature: var(--light-color-ts-method); + --light-color-ts-index-signature: var(--light-color-ts-property); + --light-color-ts-constructor-signature: var(--light-color-ts-constructor); + --light-color-ts-parameter: var(--light-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --light-color-ts-type-parameter: #a55c0e; + --light-color-ts-accessor: var(--light-color-ts-property); + --light-color-ts-get-signature: var(--light-color-ts-accessor); + --light-color-ts-set-signature: var(--light-color-ts-accessor); + --light-color-ts-type-alias: #d51270; + /* reference not included as links will be colored with the kind that it points to */ + --light-color-document: #000000; + + --light-external-icon: url("data:image/svg+xml;utf8,"); + --light-color-scheme: light; + + /* Dark */ + --dark-color-background: #2b2e33; + --dark-color-background-secondary: #1e2024; + --dark-color-background-warning: #bebe00; + --dark-color-warning-text: #222; + --dark-color-icon-background: var(--dark-color-background-secondary); + --dark-color-accent: #9096a2; + --dark-color-active-menu-item: #5d5d6a; + --dark-color-text: #f5f5f5; + --dark-color-text-aside: #dddddd; + --dark-color-link: #00aff4; + --dark-color-focus-outline: #4c97f2; + + --dark-color-ts-keyword: #3399ff; + --dark-color-ts-project: #e358ff; + --dark-color-ts-module: var(--dark-color-ts-project); + --dark-color-ts-namespace: var(--dark-color-ts-project); + --dark-color-ts-enum: #f4d93e; + --dark-color-ts-enum-member: var(--dark-color-ts-enum); + --dark-color-ts-variable: #798dff; + --dark-color-ts-function: #a280ff; + --dark-color-ts-class: #8ac4ff; + --dark-color-ts-interface: #6cff87; + --dark-color-ts-constructor: var(--dark-color-ts-class); + --dark-color-ts-property: var(--dark-color-ts-variable); + --dark-color-ts-method: var(--dark-color-ts-function); + --dark-color-ts-call-signature: var(--dark-color-ts-method); + --dark-color-ts-index-signature: var(--dark-color-ts-property); + --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor); + --dark-color-ts-parameter: var(--dark-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --dark-color-ts-type-parameter: #e07d13; + --dark-color-ts-accessor: var(--dark-color-ts-property); + --dark-color-ts-get-signature: var(--dark-color-ts-accessor); + --dark-color-ts-set-signature: var(--dark-color-ts-accessor); + --dark-color-ts-type-alias: #ff6492; + /* reference not included as links will be colored with the kind that it points to */ + --dark-color-document: #ffffff; + + --dark-external-icon: url("data:image/svg+xml;utf8,"); + --dark-color-scheme: dark; +} + +@media (prefers-color-scheme: light) { + :root { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + --color-focus-outline: var(--light-color-focus-outline); + + --color-ts-keyword: var(--light-color-ts-keyword); + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + --color-document: var(--light-color-document); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); + } +} + +@media (prefers-color-scheme: dark) { + :root { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + --color-focus-outline: var(--dark-color-focus-outline); + + --color-ts-keyword: var(--dark-color-ts-keyword); + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + --color-document: var(--dark-color-document); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); + } +} + +html { + color-scheme: var(--color-scheme); +} + +body { + margin: 0; +} + +:root[data-theme="light"] { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + --color-focus-outline: var(--light-color-focus-outline); + + --color-ts-keyword: var(--light-color-ts-keyword); + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + --color-document: var(--light-color-document); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); +} + +:root[data-theme="dark"] { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + --color-focus-outline: var(--dark-color-focus-outline); + + --color-ts-keyword: var(--dark-color-ts-keyword); + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + --color-document: var(--dark-color-document); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); +} + +*:focus-visible, +.tsd-accordion-summary:focus-visible svg { + outline: 2px solid var(--color-focus-outline); +} + +.always-visible, +.always-visible .tsd-signatures { + display: inherit !important; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + line-height: 1.2; +} + +h1 { + font-size: 1.875rem; + margin: 0.67rem 0; +} + +h2 { + font-size: 1.5rem; + margin: 0.83rem 0; +} + +h3 { + font-size: 1.25rem; + margin: 1rem 0; +} + +h4 { + font-size: 1.05rem; + margin: 1.33rem 0; +} + +h5 { + font-size: 1rem; + margin: 1.5rem 0; +} + +h6 { + font-size: 0.875rem; + margin: 2.33rem 0; +} + +dl, +menu, +ol, +ul { + margin: 1em 0; +} + +dd { + margin: 0 0 0 40px; +} + +.container { + max-width: 1700px; + padding: 0 2rem; +} + +/* Footer */ +footer { + border-top: 1px solid var(--color-accent); + padding-top: 1rem; + padding-bottom: 1rem; + max-height: 3.5rem; +} +footer > p { + margin: 0 1em; +} + +.container-main { + margin: 0 auto; + /* toolbar, footer, margin */ + min-height: calc(100vh - 41px - 56px - 4rem); +} + +@keyframes fade-in { + from { + opacity: 0; + } + to { + opacity: 1; + } +} +@keyframes fade-out { + from { + opacity: 1; + visibility: visible; + } + to { + opacity: 0; + } +} +@keyframes fade-in-delayed { + 0% { + opacity: 0; + } + 33% { + opacity: 0; + } + 100% { + opacity: 1; + } +} +@keyframes fade-out-delayed { + 0% { + opacity: 1; + visibility: visible; + } + 66% { + opacity: 0; + } + 100% { + opacity: 0; + } +} +@keyframes pop-in-from-right { + from { + transform: translate(100%, 0); + } + to { + transform: translate(0, 0); + } +} +@keyframes pop-out-to-right { + from { + transform: translate(0, 0); + visibility: visible; + } + to { + transform: translate(100%, 0); + } +} +body { + background: var(--color-background); + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", + Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; + font-size: 16px; + color: var(--color-text); +} + +a { + color: var(--color-link); + text-decoration: none; +} +a:hover { + text-decoration: underline; +} +a.external[target="_blank"] { + background-image: var(--external-icon); + background-position: top 3px right; + background-repeat: no-repeat; + padding-right: 13px; +} +a.tsd-anchor-link { + color: var(--color-text); +} + +code, +pre { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + padding: 0.2em; + margin: 0; + font-size: 0.875rem; + border-radius: 0.8em; +} + +pre { + position: relative; + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; + padding: 10px; + border: 1px solid var(--color-accent); +} +pre code { + padding: 0; + font-size: 100%; +} +pre > button { + position: absolute; + top: 10px; + right: 10px; + opacity: 0; + transition: opacity 0.1s; + box-sizing: border-box; +} +pre:hover > button, +pre > button.visible { + opacity: 1; +} + +blockquote { + margin: 1em 0; + padding-left: 1em; + border-left: 4px solid gray; +} + +.tsd-typography { + line-height: 1.333em; +} +.tsd-typography ul { + list-style: square; + padding: 0 0 0 20px; + margin: 0; +} +.tsd-typography .tsd-index-panel h3, +.tsd-index-panel .tsd-typography h3, +.tsd-typography h4, +.tsd-typography h5, +.tsd-typography h6 { + font-size: 1em; +} +.tsd-typography h5, +.tsd-typography h6 { + font-weight: normal; +} +.tsd-typography p, +.tsd-typography ul, +.tsd-typography ol { + margin: 1em 0; +} +.tsd-typography table { + border-collapse: collapse; + border: none; +} +.tsd-typography td, +.tsd-typography th { + padding: 6px 13px; + border: 1px solid var(--color-accent); +} +.tsd-typography thead, +.tsd-typography tr:nth-child(even) { + background-color: var(--color-background-secondary); +} + +.tsd-breadcrumb { + margin: 0; + padding: 0; + color: var(--color-text-aside); +} +.tsd-breadcrumb a { + color: var(--color-text-aside); + text-decoration: none; +} +.tsd-breadcrumb a:hover { + text-decoration: underline; +} +.tsd-breadcrumb li { + display: inline; +} +.tsd-breadcrumb li:after { + content: " / "; +} + +.tsd-comment-tags { + display: flex; + flex-direction: column; +} +dl.tsd-comment-tag-group { + display: flex; + align-items: center; + overflow: hidden; + margin: 0.5em 0; +} +dl.tsd-comment-tag-group dt { + display: flex; + margin-right: 0.5em; + font-size: 0.875em; + font-weight: normal; +} +dl.tsd-comment-tag-group dd { + margin: 0; +} +code.tsd-tag { + padding: 0.25em 0.4em; + border: 0.1em solid var(--color-accent); + margin-right: 0.25em; + font-size: 70%; +} +h1 code.tsd-tag:first-of-type { + margin-left: 0.25em; +} + +dl.tsd-comment-tag-group dd:before, +dl.tsd-comment-tag-group dd:after { + content: " "; +} +dl.tsd-comment-tag-group dd pre, +dl.tsd-comment-tag-group dd:after { + clear: both; +} +dl.tsd-comment-tag-group p { + margin: 0; +} + +.tsd-panel.tsd-comment .lead { + font-size: 1.1em; + line-height: 1.333em; + margin-bottom: 2em; +} +.tsd-panel.tsd-comment .lead:last-child { + margin-bottom: 0; +} + +.tsd-filter-visibility h4 { + font-size: 1rem; + padding-top: 0.75rem; + padding-bottom: 0.5rem; + margin: 0; +} +.tsd-filter-item:not(:last-child) { + margin-bottom: 0.5rem; +} +.tsd-filter-input { + display: flex; + width: -moz-fit-content; + width: fit-content; + align-items: center; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; +} +.tsd-filter-input input[type="checkbox"] { + cursor: pointer; + position: absolute; + width: 1.5em; + height: 1.5em; + opacity: 0; +} +.tsd-filter-input input[type="checkbox"]:disabled { + pointer-events: none; +} +.tsd-filter-input svg { + cursor: pointer; + width: 1.5em; + height: 1.5em; + margin-right: 0.5em; + border-radius: 0.33em; + /* Leaving this at full opacity breaks event listeners on Firefox. + Don't remove unless you know what you're doing. */ + opacity: 0.99; +} +.tsd-filter-input input[type="checkbox"]:focus-visible + svg { + outline: 2px solid var(--color-focus-outline); +} +.tsd-checkbox-background { + fill: var(--color-accent); +} +input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { + stroke: var(--color-text); +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { + fill: var(--color-background); + stroke: var(--color-accent); + stroke-width: 0.25rem; +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { + stroke: var(--color-accent); +} + +.settings-label { + font-weight: bold; + text-transform: uppercase; + display: inline-block; +} + +.tsd-filter-visibility .settings-label { + margin: 0.75rem 0 0.5rem 0; +} + +.tsd-theme-toggle .settings-label { + margin: 0.75rem 0.75rem 0 0; +} + +.tsd-hierarchy { + list-style: square; + margin: 0; +} +.tsd-hierarchy .target { + font-weight: bold; +} + +.tsd-full-hierarchy:not(:last-child) { + margin-bottom: 1em; + padding-bottom: 1em; + border-bottom: 1px solid var(--color-accent); +} +.tsd-full-hierarchy, +.tsd-full-hierarchy ul { + list-style: none; + margin: 0; + padding: 0; +} +.tsd-full-hierarchy ul { + padding-left: 1.5rem; +} +.tsd-full-hierarchy a { + padding: 0.25rem 0 !important; + font-size: 1rem; + display: inline-flex; + align-items: center; + color: var(--color-text); +} + +.tsd-panel-group.tsd-index-group { + margin-bottom: 0; +} +.tsd-index-panel .tsd-index-list { + list-style: none; + line-height: 1.333em; + margin: 0; + padding: 0.25rem 0 0 0; + overflow: hidden; + display: grid; + grid-template-columns: repeat(3, 1fr); + column-gap: 1rem; + grid-template-rows: auto; +} +@media (max-width: 1024px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(2, 1fr); + } +} +@media (max-width: 768px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(1, 1fr); + } +} +.tsd-index-panel .tsd-index-list li { + -webkit-page-break-inside: avoid; + -moz-page-break-inside: avoid; + -ms-page-break-inside: avoid; + -o-page-break-inside: avoid; + page-break-inside: avoid; +} + +.tsd-flag { + display: inline-block; + padding: 0.25em 0.4em; + border-radius: 4px; + color: var(--color-comment-tag-text); + background-color: var(--color-comment-tag); + text-indent: 0; + font-size: 75%; + line-height: 1; + font-weight: normal; +} + +.tsd-anchor { + position: relative; + top: -100px; +} + +.tsd-member { + position: relative; +} +.tsd-member .tsd-anchor + h3 { + display: flex; + align-items: center; + margin-top: 0; + margin-bottom: 0; + border-bottom: none; +} + +.tsd-navigation.settings { + margin: 1rem 0; +} +.tsd-navigation > a, +.tsd-navigation .tsd-accordion-summary { + width: calc(100% - 0.25rem); + display: flex; + align-items: center; +} +.tsd-navigation a, +.tsd-navigation summary > span, +.tsd-page-navigation a { + display: flex; + width: calc(100% - 0.25rem); + align-items: center; + padding: 0.25rem; + color: var(--color-text); + text-decoration: none; + box-sizing: border-box; +} +.tsd-navigation a.current, +.tsd-page-navigation a.current { + background: var(--color-active-menu-item); +} +.tsd-navigation a:hover, +.tsd-page-navigation a:hover { + text-decoration: underline; +} +.tsd-navigation ul, +.tsd-page-navigation ul { + margin-top: 0; + margin-bottom: 0; + padding: 0; + list-style: none; +} +.tsd-navigation li, +.tsd-page-navigation li { + padding: 0; + max-width: 100%; +} +.tsd-navigation .tsd-nav-link { + display: none; +} +.tsd-nested-navigation { + margin-left: 3rem; +} +.tsd-nested-navigation > li > details { + margin-left: -1.5rem; +} +.tsd-small-nested-navigation { + margin-left: 1.5rem; +} +.tsd-small-nested-navigation > li > details { + margin-left: -1.5rem; +} + +.tsd-page-navigation-section { + margin-left: 10px; +} +.tsd-page-navigation-section > summary { + padding: 0.25rem; +} +.tsd-page-navigation-section > div { + margin-left: 20px; +} +.tsd-page-navigation ul { + padding-left: 1.75rem; +} + +#tsd-sidebar-links a { + margin-top: 0; + margin-bottom: 0.5rem; + line-height: 1.25rem; +} +#tsd-sidebar-links a:last-of-type { + margin-bottom: 0; +} + +a.tsd-index-link { + padding: 0.25rem 0 !important; + font-size: 1rem; + line-height: 1.25rem; + display: inline-flex; + align-items: center; + color: var(--color-text); +} +.tsd-accordion-summary { + list-style-type: none; /* hide marker on non-safari */ + outline: none; /* broken on safari, so just hide it */ +} +.tsd-accordion-summary::-webkit-details-marker { + display: none; /* hide marker on safari */ +} +.tsd-accordion-summary, +.tsd-accordion-summary a { + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + user-select: none; + + cursor: pointer; +} +.tsd-accordion-summary a { + width: calc(100% - 1.5rem); +} +.tsd-accordion-summary > * { + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; +} +.tsd-accordion .tsd-accordion-summary > svg { + margin-left: 0.25rem; + vertical-align: text-top; +} +.tsd-index-content > :not(:first-child) { + margin-top: 0.75rem; +} +.tsd-index-heading { + margin-top: 1.5rem; + margin-bottom: 0.75rem; +} + +.tsd-kind-icon { + margin-right: 0.5rem; + width: 1.25rem; + height: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} +.tsd-kind-icon path { + transform-origin: center; + transform: scale(1.1); +} +.tsd-signature > .tsd-kind-icon { + margin-right: 0.8rem; +} + +.tsd-panel { + margin-bottom: 2.5rem; +} +.tsd-panel.tsd-member { + margin-bottom: 4rem; +} +.tsd-panel:empty { + display: none; +} +.tsd-panel > h1, +.tsd-panel > h2, +.tsd-panel > h3 { + margin: 1.5rem -1.5rem 0.75rem -1.5rem; + padding: 0 1.5rem 0.75rem 1.5rem; +} +.tsd-panel > h1.tsd-before-signature, +.tsd-panel > h2.tsd-before-signature, +.tsd-panel > h3.tsd-before-signature { + margin-bottom: 0; + border-bottom: none; +} + +.tsd-panel-group { + margin: 2rem 0; +} +.tsd-panel-group.tsd-index-group { + margin: 2rem 0; +} +.tsd-panel-group.tsd-index-group details { + margin: 2rem 0; +} +.tsd-panel-group > .tsd-accordion-summary { + margin-bottom: 1rem; +} + +#tsd-search { + transition: background-color 0.2s; +} +#tsd-search .title { + position: relative; + z-index: 2; +} +#tsd-search .field { + position: absolute; + left: 0; + top: 0; + right: 2.5rem; + height: 100%; +} +#tsd-search .field input { + box-sizing: border-box; + position: relative; + top: -50px; + z-index: 1; + width: 100%; + padding: 0 10px; + opacity: 0; + outline: 0; + border: 0; + background: transparent; + color: var(--color-text); +} +#tsd-search .field label { + position: absolute; + overflow: hidden; + right: -40px; +} +#tsd-search .field input, +#tsd-search .title, +#tsd-toolbar-links a { + transition: opacity 0.2s; +} +#tsd-search .results { + position: absolute; + visibility: hidden; + top: 40px; + width: 100%; + margin: 0; + padding: 0; + list-style: none; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); +} +#tsd-search .results li { + background-color: var(--color-background); + line-height: initial; + padding: 4px; +} +#tsd-search .results li:nth-child(even) { + background-color: var(--color-background-secondary); +} +#tsd-search .results li.state { + display: none; +} +#tsd-search .results li.current:not(.no-results), +#tsd-search .results li:hover:not(.no-results) { + background-color: var(--color-accent); +} +#tsd-search .results a { + display: flex; + align-items: center; + padding: 0.25rem; + box-sizing: border-box; +} +#tsd-search .results a:before { + top: 10px; +} +#tsd-search .results span.parent { + color: var(--color-text-aside); + font-weight: normal; +} +#tsd-search.has-focus { + background-color: var(--color-accent); +} +#tsd-search.has-focus .field input { + top: 0; + opacity: 1; +} +#tsd-search.has-focus .title, +#tsd-search.has-focus #tsd-toolbar-links a { + z-index: 0; + opacity: 0; +} +#tsd-search.has-focus .results { + visibility: visible; +} +#tsd-search.loading .results li.state.loading { + display: block; +} +#tsd-search.failure .results li.state.failure { + display: block; +} + +#tsd-toolbar-links { + position: absolute; + top: 0; + right: 2rem; + height: 100%; + display: flex; + align-items: center; + justify-content: flex-end; +} +#tsd-toolbar-links a { + margin-left: 1.5rem; +} +#tsd-toolbar-links a:hover { + text-decoration: underline; +} + +.tsd-signature { + margin: 0 0 1rem 0; + padding: 1rem 0.5rem; + border: 1px solid var(--color-accent); + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + font-size: 14px; + overflow-x: auto; +} + +.tsd-signature-keyword { + color: var(--color-ts-keyword); + font-weight: normal; +} + +.tsd-signature-symbol { + color: var(--color-text-aside); + font-weight: normal; +} + +.tsd-signature-type { + font-style: italic; + font-weight: normal; +} + +.tsd-signatures { + padding: 0; + margin: 0 0 1em 0; + list-style-type: none; +} +.tsd-signatures .tsd-signature { + margin: 0; + border-color: var(--color-accent); + border-width: 1px 0; + transition: background-color 0.1s; +} +.tsd-signatures .tsd-index-signature:not(:last-child) { + margin-bottom: 1em; +} +.tsd-signatures .tsd-index-signature .tsd-signature { + border-width: 1px; +} +.tsd-description .tsd-signatures .tsd-signature { + border-width: 1px; +} + +ul.tsd-parameter-list, +ul.tsd-type-parameter-list { + list-style: square; + margin: 0; + padding-left: 20px; +} +ul.tsd-parameter-list > li.tsd-parameter-signature, +ul.tsd-type-parameter-list > li.tsd-parameter-signature { + list-style: none; + margin-left: -20px; +} +ul.tsd-parameter-list h5, +ul.tsd-type-parameter-list h5 { + font-size: 16px; + margin: 1em 0 0.5em 0; +} +.tsd-sources { + margin-top: 1rem; + font-size: 0.875em; +} +.tsd-sources a { + color: var(--color-text-aside); + text-decoration: underline; +} +.tsd-sources ul { + list-style: none; + padding: 0; +} + +.tsd-page-toolbar { + position: sticky; + z-index: 1; + top: 0; + left: 0; + width: 100%; + color: var(--color-text); + background: var(--color-background-secondary); + border-bottom: 1px var(--color-accent) solid; + transition: transform 0.3s ease-in-out; +} +.tsd-page-toolbar a { + color: var(--color-text); + text-decoration: none; +} +.tsd-page-toolbar a.title { + font-weight: bold; +} +.tsd-page-toolbar a.title:hover { + text-decoration: underline; +} +.tsd-page-toolbar .tsd-toolbar-contents { + display: flex; + justify-content: space-between; + height: 2.5rem; + margin: 0 auto; +} +.tsd-page-toolbar .table-cell { + position: relative; + white-space: nowrap; + line-height: 40px; +} +.tsd-page-toolbar .table-cell:first-child { + width: 100%; +} +.tsd-page-toolbar .tsd-toolbar-icon { + box-sizing: border-box; + line-height: 0; + padding: 12px 0; +} + +.tsd-widget { + display: inline-block; + overflow: hidden; + opacity: 0.8; + height: 40px; + transition: + opacity 0.1s, + background-color 0.2s; + vertical-align: bottom; + cursor: pointer; +} +.tsd-widget:hover { + opacity: 0.9; +} +.tsd-widget.active { + opacity: 1; + background-color: var(--color-accent); +} +.tsd-widget.no-caption { + width: 40px; +} +.tsd-widget.no-caption:before { + margin: 0; +} + +.tsd-widget.options, +.tsd-widget.menu { + display: none; +} +input[type="checkbox"] + .tsd-widget:before { + background-position: -120px 0; +} +input[type="checkbox"]:checked + .tsd-widget:before { + background-position: -160px 0; +} + +img { + max-width: 100%; +} + +.tsd-anchor-icon { + display: inline-flex; + align-items: center; + margin-left: 0.5rem; + vertical-align: middle; + color: var(--color-text); +} + +.tsd-anchor-icon svg { + width: 1em; + height: 1em; + visibility: hidden; +} + +.tsd-anchor-link:hover > .tsd-anchor-icon svg { + visibility: visible; +} + +.deprecated { + text-decoration: line-through !important; +} + +.warning { + padding: 1rem; + color: var(--color-warning-text); + background: var(--color-background-warning); +} + +.tsd-kind-project { + color: var(--color-ts-project); +} +.tsd-kind-module { + color: var(--color-ts-module); +} +.tsd-kind-namespace { + color: var(--color-ts-namespace); +} +.tsd-kind-enum { + color: var(--color-ts-enum); +} +.tsd-kind-enum-member { + color: var(--color-ts-enum-member); +} +.tsd-kind-variable { + color: var(--color-ts-variable); +} +.tsd-kind-function { + color: var(--color-ts-function); +} +.tsd-kind-class { + color: var(--color-ts-class); +} +.tsd-kind-interface { + color: var(--color-ts-interface); +} +.tsd-kind-constructor { + color: var(--color-ts-constructor); +} +.tsd-kind-property { + color: var(--color-ts-property); +} +.tsd-kind-method { + color: var(--color-ts-method); +} +.tsd-kind-call-signature { + color: var(--color-ts-call-signature); +} +.tsd-kind-index-signature { + color: var(--color-ts-index-signature); +} +.tsd-kind-constructor-signature { + color: var(--color-ts-constructor-signature); +} +.tsd-kind-parameter { + color: var(--color-ts-parameter); +} +.tsd-kind-type-literal { + color: var(--color-ts-type-literal); +} +.tsd-kind-type-parameter { + color: var(--color-ts-type-parameter); +} +.tsd-kind-accessor { + color: var(--color-ts-accessor); +} +.tsd-kind-get-signature { + color: var(--color-ts-get-signature); +} +.tsd-kind-set-signature { + color: var(--color-ts-set-signature); +} +.tsd-kind-type-alias { + color: var(--color-ts-type-alias); +} + +/* if we have a kind icon, don't color the text by kind */ +.tsd-kind-icon ~ span { + color: var(--color-text); +} + +* { + scrollbar-width: thin; + scrollbar-color: var(--color-accent) var(--color-icon-background); +} + +*::-webkit-scrollbar { + width: 0.75rem; +} + +*::-webkit-scrollbar-track { + background: var(--color-icon-background); +} + +*::-webkit-scrollbar-thumb { + background-color: var(--color-accent); + border-radius: 999rem; + border: 0.25rem solid var(--color-icon-background); +} + +/* mobile */ +@media (max-width: 769px) { + .tsd-widget.options, + .tsd-widget.menu { + display: inline-block; + } + + .container-main { + display: flex; + } + html .col-content { + float: none; + max-width: 100%; + width: 100%; + } + html .col-sidebar { + position: fixed !important; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + z-index: 1024; + top: 0 !important; + bottom: 0 !important; + left: auto !important; + right: 0 !important; + padding: 1.5rem 1.5rem 0 0; + width: 75vw; + visibility: hidden; + background-color: var(--color-background); + transform: translate(100%, 0); + } + html .col-sidebar > *:last-child { + padding-bottom: 20px; + } + html .overlay { + content: ""; + display: block; + position: fixed; + z-index: 1023; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.75); + visibility: hidden; + } + + .to-has-menu .overlay { + animation: fade-in 0.4s; + } + + .to-has-menu .col-sidebar { + animation: pop-in-from-right 0.4s; + } + + .from-has-menu .overlay { + animation: fade-out 0.4s; + } + + .from-has-menu .col-sidebar { + animation: pop-out-to-right 0.4s; + } + + .has-menu body { + overflow: hidden; + } + .has-menu .overlay { + visibility: visible; + } + .has-menu .col-sidebar { + visibility: visible; + transform: translate(0, 0); + display: flex; + flex-direction: column; + gap: 1.5rem; + max-height: 100vh; + padding: 1rem 2rem; + } + .has-menu .tsd-navigation { + max-height: 100%; + } + #tsd-toolbar-links { + display: none; + } + .tsd-navigation .tsd-nav-link { + display: flex; + } +} + +/* one sidebar */ +@media (min-width: 770px) { + .container-main { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); + grid-template-areas: "sidebar content"; + margin: 2rem auto; + } + + .col-sidebar { + grid-area: sidebar; + } + .col-content { + grid-area: content; + padding: 0 1rem; + } +} +@media (min-width: 770px) and (max-width: 1399px) { + .col-sidebar { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + padding-top: 1rem; + } + .site-menu { + margin-top: 1rem; + } +} + +/* two sidebars */ +@media (min-width: 1200px) { + .container-main { + grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 20rem); + grid-template-areas: "sidebar content toc"; + } + + .col-sidebar { + display: contents; + } + + .page-menu { + grid-area: toc; + padding-left: 1rem; + } + .site-menu { + grid-area: sidebar; + } + + .site-menu { + margin-top: 1rem 0; + } + + .page-menu, + .site-menu { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + } +} diff --git a/docs/classes/_ckb_ccc_ccc.index.ccc.SignersController.html b/docs/classes/_ckb_ccc_ccc.index.ccc.SignersController.html new file mode 100644 index 00000000..54d80ddb --- /dev/null +++ b/docs/classes/_ckb_ccc_ccc.index.ccc.SignersController.html @@ -0,0 +1,217 @@ +SignersController | Documentation +

Constructors

Methods

Constructors

Methods

  • Parameters

    • Optionalconfigs: {
          preferredNetworks?: NetworkPreference[];
          name?: string;
          icon?: string;
      }
      • OptionalpreferredNetworks?: NetworkPreference[]
      • Optionalname?: string
      • Optionalicon?: string

    Returns {
        name: string;
        icon: string;
        preferredNetworks: NetworkPreference[];
    }

  • Parameters

    • client: Client
    • onUpdate: ((wallets: WalletWithSigners[]) => void)
    • Optionalconfigs: {
          signerFilter?: ((signerInfo: SignerInfo, wallet: Wallet) => Promise<boolean>);
          preferredNetworks?: NetworkPreference[];
          name?: string;
          icon?: string;
      }
      • OptionalsignerFilter?: ((signerInfo: SignerInfo, wallet: Wallet) => Promise<boolean>)
          • (signerInfo, wallet): Promise<boolean>
          • Parameters

            Returns Promise<boolean>

      • OptionalpreferredNetworks?: NetworkPreference[]
      • Optionalname?: string
      • Optionalicon?: string

    Returns Promise<void>

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_connector.index.ccc.WebComponentConnector.html b/docs/classes/_ckb_ccc_connector.index.ccc.WebComponentConnector.html new file mode 100644 index 00000000..5bc059bc --- /dev/null +++ b/docs/classes/_ckb_ccc_connector.index.ccc.WebComponentConnector.html @@ -0,0 +1,269 @@ +WebComponentConnector | Documentation +

Hierarchy

  • LitElement
    • WebComponentConnector

Other

  • Returns WebComponentConnector

name?: string
icon?: string
preferredNetworks?: NetworkPreference[]
signerFilter?: ((signerInfo: SignerInfo, wallet: Wallet) => Promise<boolean>)
client: Client = ...
wallet?: Wallet
signer?: SignerInfo

lifecycle

  • Invoked when the component is added to the document's DOM.

    +

    In connectedCallback() you should setup tasks that should only occur when +the element is connected to the document. The most common of these is +adding event listeners to nodes external to the element, like a keydown +event handler added to the window.

    +
    connectedCallback() {
    super.connectedCallback();
    addEventListener('keydown', this._handleKeydown);
    } +
    + +

    Typically, anything done in connectedCallback() should be undone when the +element is disconnected, in disconnectedCallback().

    +

    Returns void

rendering

  • Invoked on each update to perform rendering tasks. This method may return +any value renderable by lit-html's ChildPart - typically a +TemplateResult. Setting properties inside this method will not trigger +the element to update.

    +

    Returns TemplateResult<1>

styles

styles: CSSResult = ...

Array of styles to apply to the element. The styles should be defined +using the css tag function, via constructible stylesheets, or +imported from native CSS module scripts.

+

Note on Content Security Policy:

+

Element styles are implemented with <style> tags when the browser doesn't +support adopted StyleSheets. To use such <style> tags with the style-src +CSP directive, the style-src value must either include 'unsafe-inline' or +nonce-<base64-value> with <base64-value> replaced be a server-generated +nonce.

+

To provide a nonce to use on generated <style> elements, set +window.litNonce to a server-generated nonce in your page's HTML, before +loading application code:

+
<script>
// Generated and unique per request:
window.litNonce = 'a1b2c3d4';
</script> +
+ +

updates

  • Invoked before update() to compute values needed during the update.

    +

    Implement willUpdate to compute property values that depend on other +properties and are used in the rest of the update process.

    +
    willUpdate(changedProperties) {
    // only need to check changed properties for an expensive computation.
    if (changedProperties.has('firstName') || changedProperties.has('lastName')) {
    this.sha = computeSHA(`${this.firstName} ${this.lastName}`);
    }
    }

    render() {
    return html`SHA: ${this.sha}`;
    } +
    + +

    Parameters

    • changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>

    Returns void

  • Invoked whenever the element is updated. Implement to perform +post-updating tasks via DOM APIs, for example, focusing an element.

    +

    Setting properties inside this method will trigger the element to update +again after this update cycle completes.

    +

    Returns void

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.JsonRpcTransformers.html b/docs/classes/_ckb_ccc_core.advanced.cccA.JsonRpcTransformers.html new file mode 100644 index 00000000..2260fbb5 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.JsonRpcTransformers.html @@ -0,0 +1,240 @@ +JsonRpcTransformers | Documentation +

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Block.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Block.html new file mode 100644 index 00000000..1c952acc --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Block.html @@ -0,0 +1,219 @@ +Block | Documentation +

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BlockV1.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BlockV1.html new file mode 100644 index 00000000..861c26fe --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BlockV1.html @@ -0,0 +1,220 @@ +BlockV1 | Documentation +

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Byte32.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Byte32.html new file mode 100644 index 00000000..8bcb6cfe --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Byte32.html @@ -0,0 +1,218 @@ +Byte32 | Documentation +

Constructors

Methods

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Byte32Vec.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Byte32Vec.html new file mode 100644 index 00000000..6a402452 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Byte32Vec.html @@ -0,0 +1,217 @@ +Byte32Vec | Documentation +

Constructors

Methods

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Bytes.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Bytes.html new file mode 100644 index 00000000..a1635dc5 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Bytes.html @@ -0,0 +1,218 @@ +Bytes | Documentation +

Constructors

Methods

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesOpt.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesOpt.html new file mode 100644 index 00000000..ba979b00 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesOpt.html @@ -0,0 +1,217 @@ +BytesOpt | Documentation +

Constructors

Methods

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesOptVec.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesOptVec.html new file mode 100644 index 00000000..801639aa --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesOptVec.html @@ -0,0 +1,217 @@ +BytesOptVec | Documentation +

Constructors

Methods

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesVec.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesVec.html new file mode 100644 index 00000000..70e2c0fd --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesVec.html @@ -0,0 +1,217 @@ +BytesVec | Documentation +

Constructors

Methods

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellDep.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellDep.html new file mode 100644 index 00000000..f8acd9f3 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellDep.html @@ -0,0 +1,218 @@ +CellDep | Documentation +

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellDepVec.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellDepVec.html new file mode 100644 index 00000000..22b0d002 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellDepVec.html @@ -0,0 +1,217 @@ +CellDepVec | Documentation +

Constructors

Methods

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellInput.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellInput.html new file mode 100644 index 00000000..52255da9 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellInput.html @@ -0,0 +1,218 @@ +CellInput | Documentation +

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellInputVec.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellInputVec.html new file mode 100644 index 00000000..578303b0 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellInputVec.html @@ -0,0 +1,217 @@ +CellInputVec | Documentation +

Constructors

Methods

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellOutput.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellOutput.html new file mode 100644 index 00000000..e1cab8e7 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellOutput.html @@ -0,0 +1,218 @@ +CellOutput | Documentation +

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellOutputVec.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellOutputVec.html new file mode 100644 index 00000000..35fc2a44 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellOutputVec.html @@ -0,0 +1,217 @@ +CellOutputVec | Documentation +

Constructors

Methods

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellbaseWitness.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellbaseWitness.html new file mode 100644 index 00000000..5be8f450 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellbaseWitness.html @@ -0,0 +1,217 @@ +CellbaseWitness | Documentation +

Constructors

Methods

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Header.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Header.html new file mode 100644 index 00000000..189d8e1c --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Header.html @@ -0,0 +1,218 @@ +Header | Documentation +

Constructors

Methods

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.OutPoint.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.OutPoint.html new file mode 100644 index 00000000..43e4c3a3 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.OutPoint.html @@ -0,0 +1,218 @@ +OutPoint | Documentation +

Constructors

Methods

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ProposalShortId.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ProposalShortId.html new file mode 100644 index 00000000..84bf5f55 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ProposalShortId.html @@ -0,0 +1,218 @@ +ProposalShortId | Documentation +

Constructors

Methods

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ProposalShortIdVec.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ProposalShortIdVec.html new file mode 100644 index 00000000..3c26bdb3 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ProposalShortIdVec.html @@ -0,0 +1,217 @@ +ProposalShortIdVec | Documentation +

Constructors

Methods

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.RawHeader.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.RawHeader.html new file mode 100644 index 00000000..164b4603 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.RawHeader.html @@ -0,0 +1,226 @@ +RawHeader | Documentation +

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.RawTransaction.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.RawTransaction.html new file mode 100644 index 00000000..2c638c6d --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.RawTransaction.html @@ -0,0 +1,221 @@ +RawTransaction | Documentation +

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Script.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Script.html new file mode 100644 index 00000000..9cdf9150 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Script.html @@ -0,0 +1,218 @@ +Script | Documentation +

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ScriptOpt.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ScriptOpt.html new file mode 100644 index 00000000..12a369c8 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ScriptOpt.html @@ -0,0 +1,217 @@ +ScriptOpt | Documentation +

Constructors

Methods

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Transaction.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Transaction.html new file mode 100644 index 00000000..57ed69e8 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Transaction.html @@ -0,0 +1,217 @@ +Transaction | Documentation +

Constructors

Methods

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.TransactionVec.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.TransactionVec.html new file mode 100644 index 00000000..fae7e920 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.TransactionVec.html @@ -0,0 +1,217 @@ +TransactionVec | Documentation +

Constructors

Methods

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint128.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint128.html new file mode 100644 index 00000000..31609fe4 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint128.html @@ -0,0 +1,218 @@ +Uint128 | Documentation +

Constructors

Methods

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint256.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint256.html new file mode 100644 index 00000000..c1fdcf74 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint256.html @@ -0,0 +1,218 @@ +Uint256 | Documentation +

Constructors

Methods

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint32.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint32.html new file mode 100644 index 00000000..0305d452 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint32.html @@ -0,0 +1,220 @@ +Uint32 | Documentation +

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint64.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint64.html new file mode 100644 index 00000000..41918ff1 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint64.html @@ -0,0 +1,218 @@ +Uint64 | Documentation +

Constructors

Methods

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.UncleBlock.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.UncleBlock.html new file mode 100644 index 00000000..496b1bd9 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.UncleBlock.html @@ -0,0 +1,217 @@ +UncleBlock | Documentation +

Constructors

Methods

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.UncleBlockVec.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.UncleBlockVec.html new file mode 100644 index 00000000..e7a2436b --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.UncleBlockVec.html @@ -0,0 +1,217 @@ +UncleBlockVec | Documentation +

Constructors

Methods

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.WitnessArgs.html b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.WitnessArgs.html new file mode 100644 index 00000000..e801233b --- /dev/null +++ b/docs/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.WitnessArgs.html @@ -0,0 +1,218 @@ +WitnessArgs | Documentation +

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.Address.html b/docs/classes/_ckb_ccc_core.index.ccc.Address.html new file mode 100644 index 00000000..f74574a4 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.Address.html @@ -0,0 +1,241 @@ +Address | Documentation +

Represents a ckb address with associated script and prefix.

+

Constructors

  • Creates an instance of Address.

    +

    Parameters

    • script: ccc.Script

      The script associated with the address.

      +
    • prefix: string

      The address prefix.

      +

    Returns Address

Properties

script: ccc.Script

The script associated with the address.

+
prefix: string

The address prefix.

+

Methods

  • Creates an Address instance from an AddressLike object.

    +

    Parameters

    • address: AddressLike

      An AddressLike object or an instance of Address.

      +

    Returns Address

    An Address instance.

    +
  • Creates an Address instance from an address string.

    +

    Parameters

    • address: string

      The address string to parse.

      +
    • clients: Client | Record<string, Client>

      A Client instance or a record of Client instances keyed by prefix.

      +

    Returns Promise<Address>

    A promise that resolves to an Address instance.

    +

    Will throw an error if the address prefix is unknown or mismatched.

    +
  • Creates an Address instance from a script and client.

    +

    Parameters

    • script: ScriptLike

      The script-like object.

      +
    • client: Client

      The client instance used to fetch the address prefix.

      +

    Returns Address

    A promise that resolves to an Address instance.

    +
  • Converts the Address instance to a string.

    +

    Returns string

    The address as a string.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.Cell.html b/docs/classes/_ckb_ccc_core.index.ccc.Cell.html new file mode 100644 index 00000000..285843b6 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.Cell.html @@ -0,0 +1,234 @@ +Cell | Documentation +

Constructors

Properties

Methods

Constructors

  • Creates an instance of Cell.

    +

    Parameters

    • outPoint: ccc.OutPoint

      The output point of the cell.

      +
    • cellOutput: ccc.CellOutput

      The cell output of the cell.

      +
    • outputData: `0x${string}`

      The output data of the cell.

      +

    Returns Cell

Properties

outPoint: ccc.OutPoint

The output point of the cell.

+
cellOutput: ccc.CellOutput

The cell output of the cell.

+
outputData: `0x${string}`

The output data of the cell.

+

Methods

  • Creates a Cell instance from a CellLike object.

    +

    Parameters

    • cell: CellLike

      A CellLike object or an instance of Cell.

      +

    Returns Cell

    A Cell instance.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.CellDep.html b/docs/classes/_ckb_ccc_core.index.ccc.CellDep.html new file mode 100644 index 00000000..8d9a292c --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.CellDep.html @@ -0,0 +1,257 @@ +CellDep | Documentation +

Constructors

Properties

Methods

Constructors

Properties

outPoint: ccc.OutPoint

The outpoint of the cell dependency.

+
depType: DepType

The dependency type.

+

Methods

  • Creates a CellDep instance from a CellDepLike object.

    +

    Parameters

    • cellDep: CellDepLike

      A CellDepLike object or an instance of CellDep.

      +

    Returns ccc.CellDep

    A CellDep instance.

    +
    const cellDep = CellDep.from({
    outPoint: { txHash: "0x...", index: 0 },
    depType: "depGroup"
    }); +
    + +
  • Converts the CellDep instance to bytes.

    +

    Returns Uint8Array

    A Uint8Array containing the cell dependency bytes.

    +
    const cellDepBytes = cellDep.toBytes();
    +
    + +
  • Compares the current CellDep instance with another CellDepLike object for equality.

    +

    Parameters

    • val: CellDepLike

      The CellDepLike object to compare with.

      +

    Returns boolean

    True if the cell deps are equal, otherwise false.

    +
    const isEqual = cellDep.eq(anotherCellDep);
    +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.CellDepInfo.html b/docs/classes/_ckb_ccc_core.index.ccc.CellDepInfo.html new file mode 100644 index 00000000..22e4ed4b --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.CellDepInfo.html @@ -0,0 +1,217 @@ +CellDepInfo | Documentation +

Constructors

Properties

Methods

Constructors

Properties

cellDep: ccc.CellDep
type?: ccc.Script

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.CellInput.html b/docs/classes/_ckb_ccc_core.index.ccc.CellInput.html new file mode 100644 index 00000000..b0696955 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.CellInput.html @@ -0,0 +1,263 @@ +CellInput | Documentation +

Constructors

  • Creates an instance of CellInput.

    +

    Parameters

    • previousOutput: ccc.OutPoint

      The previous outpoint of the cell.

      +
    • since: bigint

      The since value of the cell input.

      +
    • OptionalcellOutput: ccc.CellOutput

      The optional cell output associated with the cell input.

      +
    • OptionaloutputData: `0x${string}`

      The optional output data associated with the cell input.

      +

    Returns ccc.CellInput

Properties

previousOutput: ccc.OutPoint

The previous outpoint of the cell.

+
since: bigint

The since value of the cell input.

+
cellOutput?: ccc.CellOutput

The optional cell output associated with the cell input.

+
outputData?: `0x${string}`

The optional output data associated with the cell input.

+

Methods

  • Creates a CellInput instance from a CellInputLike object.

    +

    Parameters

    • cellInput: CellInputLike

      A CellInputLike object or an instance of CellInput.

      +

    Returns ccc.CellInput

    A CellInput instance.

    +
    const cellInput = CellInput.from({
    previousOutput: { txHash: "0x...", index: 0 },
    since: 0n
    }); +
    + +
  • Complete extra infos in the input. Like the output of the out point. +The instance will be modified.

    +

    Parameters

    Returns Promise<void>

    true if succeed.

    +
    await cellInput.completeExtraInfos();
    +
    + +
  • Converts the CellInput instance to bytes.

    +

    Returns Uint8Array

    A Uint8Array containing the cell input bytes.

    +
    const cellInputBytes = cellInput.toBytes();
    +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.CellOutput.html b/docs/classes/_ckb_ccc_core.index.ccc.CellOutput.html new file mode 100644 index 00000000..1df23db1 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.CellOutput.html @@ -0,0 +1,254 @@ +CellOutput | Documentation +

Constructors

Properties

Accessors

Methods

Constructors

Properties

capacity: bigint

The capacity of the cell.

+
lock: ccc.Script

The lock script of the cell.

+
type?: ccc.Script

The optional type script of the cell.

+

Accessors

Methods

  • Creates a CellOutput instance from a CellOutputLike object.

    +

    Parameters

    • cellOutput: CellOutputLike

      A CellOutputLike object or an instance of CellOutput.

      +

    Returns ccc.CellOutput

    A CellOutput instance.

    +
    const cellOutput = CellOutput.from({
    capacity: 1000n,
    lock: { codeHash: "0x...", hashType: "type", args: "0x..." },
    type: { codeHash: "0x...", hashType: "type", args: "0x..." }
    }); +
    + +
  • Converts the CellOutput instance to bytes.

    +

    Returns Uint8Array

    A Uint8Array containing the cell output bytes.

    +
    const cellOutputBytes = cellOutput.toBytes();
    +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.Client.html b/docs/classes/_ckb_ccc_core.index.ccc.Client.html new file mode 100644 index 00000000..f24f0070 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.Client.html @@ -0,0 +1,245 @@ +Client | Documentation +

Hierarchy (view full)

Constructors

Accessors

Methods

  • Parameters

    • blockNumber: NumLike
    • Optionalverbosity: null | number
    • OptionalwithCycles: null | boolean

    Returns Promise<undefined | ClientBlock>

  • Parameters

    • blockHash: BytesLike
    • Optionalverbosity: null | number
    • OptionalwithCycles: null | boolean

    Returns Promise<undefined | ClientBlock>

  • Find cells by search key designed for collectable cells.

    +

    Parameters

    Returns AsyncGenerator<Cell, any, unknown>

    A async generator for yielding cells.

    +
  • Parameters

    • lock: ScriptLike
    • Optionaltype: null | ScriptLike
    • withData: boolean = true
    • Optionalorder: "asc" | "desc"
    • limit: number = 10

    Returns AsyncGenerator<Cell, any, unknown>

  • Parameters

    • type: ScriptLike
    • withData: boolean = true
    • Optionalorder: "asc" | "desc"
    • limit: number = 10

    Returns AsyncGenerator<Cell, any, unknown>

  • Parameters

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

  • Parameters

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    }, any, unknown>

  • Parameters

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    } | {
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

  • Parameters

    • lock: ScriptLike
    • type: undefined | null | ScriptLike
    • groupByTransaction: true
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

  • Parameters

    • lock: ScriptLike
    • Optionaltype: null | ScriptLike
    • OptionalgroupByTransaction: null | false
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    }, any, unknown>

  • Parameters

    • lock: ScriptLike
    • Optionaltype: null | ScriptLike
    • OptionalgroupByTransaction: null | boolean
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    } | {
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

  • Parameters

    • type: ScriptLike
    • groupByTransaction: true
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

  • Parameters

    • type: ScriptLike
    • OptionalgroupByTransaction: null | false
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    }, any, unknown>

  • Parameters

    • type: ScriptLike
    • OptionalgroupByTransaction: null | boolean
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    } | {
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.ClientIndexerSearchKey.html b/docs/classes/_ckb_ccc_core.index.ccc.ClientIndexerSearchKey.html new file mode 100644 index 00000000..43e15bb2 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.ClientIndexerSearchKey.html @@ -0,0 +1,220 @@ +ClientIndexerSearchKey | Documentation +

Constructors

Properties

Methods

Constructors

Properties

script: ccc.Script
scriptType: "lock" | "type"
scriptSearchMode: "prefix" | "exact" | "partial"
filter: undefined | ClientIndexerSearchKeyFilter
withData: undefined | boolean

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.ClientIndexerSearchKeyFilter.html b/docs/classes/_ckb_ccc_core.index.ccc.ClientIndexerSearchKeyFilter.html new file mode 100644 index 00000000..b4ac279b --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.ClientIndexerSearchKeyFilter.html @@ -0,0 +1,222 @@ +ClientIndexerSearchKeyFilter | Documentation +

Constructors

  • Parameters

    • script: undefined | ccc.Script
    • scriptLenRange: undefined | [bigint, bigint]
    • outputData: undefined | `0x${string}`
    • outputDataSearchMode:
          | undefined
          | "prefix"
          | "exact"
          | "partial"
    • outputDataLenRange: undefined | [bigint, bigint]
    • outputCapacityRange: undefined | [bigint, bigint]
    • blockRange: undefined | [bigint, bigint]

    Returns ClientIndexerSearchKeyFilter

Properties

script: undefined | ccc.Script
scriptLenRange: undefined | [bigint, bigint]
outputData: undefined | `0x${string}`
outputDataSearchMode:
    | undefined
    | "prefix"
    | "exact"
    | "partial"
outputDataLenRange: undefined | [bigint, bigint]
outputCapacityRange: undefined | [bigint, bigint]
blockRange: undefined | [bigint, bigint]

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.ClientIndexerSearchKeyTransaction.html b/docs/classes/_ckb_ccc_core.index.ccc.ClientIndexerSearchKeyTransaction.html new file mode 100644 index 00000000..0a512a89 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.ClientIndexerSearchKeyTransaction.html @@ -0,0 +1,220 @@ +ClientIndexerSearchKeyTransaction | Documentation +

Constructors

Properties

script: ccc.Script
scriptType: "lock" | "type"
scriptSearchMode: "prefix" | "exact" | "partial"
filter: undefined | ClientIndexerSearchKeyFilter
groupByTransaction: undefined | boolean

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.ClientJsonRpc.html b/docs/classes/_ckb_ccc_core.index.ccc.ClientJsonRpc.html new file mode 100644 index 00000000..99a9930c --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.ClientJsonRpc.html @@ -0,0 +1,302 @@ +ClientJsonRpc | Documentation +

An abstract class implementing JSON-RPC client functionality for a specific URL and timeout. +Provides methods for sending transactions and building JSON-RPC payloads.

+

Hierarchy (view full)

Constructors

Properties

getTip: (() => Promise<bigint>) = ...

Get tip block number

+

Type declaration

    • (): Promise<bigint>
    • Returns Promise<bigint>

      Tip block number

      +
getBlockByNumber: ((blockNumber: NumLike, verbosity?: null | number, withCycles?: null | boolean) => Promise<undefined | ClientBlock>) = ...

Get block by block hash

+

Type declaration

    • (blockNumber, verbosity?, withCycles?): Promise<undefined | ClientBlock>
    • Parameters

      • blockNumber: NumLike

        The block number.

        +
      • Optionalverbosity: null | number

        result format which allows 0 and 2. (Optional, the default is 2.)

        +
      • OptionalwithCycles: null | boolean

        whether the return cycles of block transactions. (Optional, default false.)

        +

      Returns Promise<undefined | ClientBlock>

      Block

      +
getBlockByHash: ((blockHash: BytesLike, verbosity?: null | number, withCycles?: null | boolean) => Promise<undefined | ClientBlock>) = ...

Get block by block hash

+

Type declaration

    • (blockHash, verbosity?, withCycles?): Promise<undefined | ClientBlock>
    • Parameters

      • blockHash: BytesLike

        The block hash.

        +
      • Optionalverbosity: null | number

        result format which allows 0 and 2. (Optional, the default is 2.)

        +
      • OptionalwithCycles: null | boolean

        whether the return cycles of block transactions. (Optional, default false.)

        +

      Returns Promise<undefined | ClientBlock>

      Block

      +
sendTransactionNoCache: ((transaction: TransactionLike, validator?: OutputsValidator) => Promise<`0x${string}`>) = ...

Send a transaction to node.

+

Type declaration

    • (transaction, validator?): Promise<`0x${string}`>
    • Parameters

      • transaction: TransactionLike

        The transaction to send.

        +
      • Optionalvalidator: OutputsValidator

        "passthrough": Disable validation. "well_known_scripts_only": Only accept well known scripts in the transaction.

        +

      Returns Promise<`0x${string}`>

      Transaction hash.

      +
getTransactionNoCache: ((txHash: BytesLike) => Promise<undefined | ClientTransactionResponse>) = ...

Get a transaction from node.

+

Type declaration

findCellsPagedNoCache: ((key: ClientIndexerSearchKeyLike, order?: "asc" | "desc", limit?: NumLike, after?: string) => Promise<ClientFindCellsResponse>) = ...

find cells from node.

+

Type declaration

findTransactionsPaged: {
    (key: Omit<ClientIndexerSearchKeyTransactionLike, "groupByTransaction"> & {
        groupByTransaction: true;
    }, order?: "asc" | "desc", limit?: NumLike, after?: string): Promise<ClientFindTransactionsGroupedResponse>;
    (key: Omit<ClientIndexerSearchKeyTransactionLike, "groupByTransaction"> & {
        groupByTransaction?: null | false;
    }, order?: "asc" | "desc", limit?: NumLike, after?: string): Promise<ClientFindTransactionsResponse>;
    (key: ClientIndexerSearchKeyTransactionLike, order?: "asc" | "desc", limit?: NumLike, after?: string): Promise<ClientFindTransactionsResponse | ClientFindTransactionsGroupedResponse>;
} = ...

find transactions from node.

+

The search key of transactions.

+

The order of transactions.

+

The max return size of transactions.

+

Pagination parameter.

+

The found transactions.

+
getCellsCapacity: ((key: ClientIndexerSearchKeyLike) => Promise<bigint>) = ...

get cells capacity from node.

+

Type declaration

    • (key): Promise<bigint>
    • Parameters

      Returns Promise<bigint>

      The sum of cells capacity.

      +

Accessors

  • get addressPrefix(): string
  • Returns string

  • get url(): string
  • Returns the URL of the JSON-RPC server.

    +

    Returns string

    The URL of the JSON-RPC server.

    +

Methods

  • Parameters

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

  • Parameters

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    }, any, unknown>

  • Parameters

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    } | {
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

  • Parameters

    • lock: ScriptLike
    • type: undefined | null | ScriptLike
    • groupByTransaction: true
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

  • Parameters

    • lock: ScriptLike
    • Optionaltype: null | ScriptLike
    • OptionalgroupByTransaction: null | false
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    }, any, unknown>

  • Parameters

    • lock: ScriptLike
    • Optionaltype: null | ScriptLike
    • OptionalgroupByTransaction: null | boolean
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    } | {
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

  • Parameters

    • type: ScriptLike
    • groupByTransaction: true
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

  • Parameters

    • type: ScriptLike
    • OptionalgroupByTransaction: null | false
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    }, any, unknown>

  • Parameters

    • type: ScriptLike
    • OptionalgroupByTransaction: null | boolean
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    } | {
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

  • Builds a sender function for a JSON-RPC method.

    +

    Parameters

    • rpcMethod: string

      The JSON-RPC method.

      +
    • inTransformers: (undefined | ((_: any) => unknown))[]

      An array of input transformers.

      +
    • OptionaloutTransformer: ((_: any) => unknown)

      An output transformer function.

      +
        • (_): unknown
        • Parameters

          • _: any

          Returns unknown

    Returns ((...req: unknown[]) => Promise<unknown>)

    A function that sends a JSON-RPC request with the given method and transformed parameters.

    +
      • (...req): Promise<unknown>
      • Parameters

        • Rest...req: unknown[]

        Returns Promise<unknown>

  • Sends a JSON-RPC request to the server.

    +

    Parameters

    Returns Promise<unknown>

    The result of the JSON-RPC request.

    +

    Will throw an error if the response ID does not match the request ID, or if the response contains an error.

    +
  • Builds a JSON-RPC payload for the given method and parameters.

    +

    Parameters

    • method: string

      The JSON-RPC method name.

      +
    • req: unknown[]

      The parameters for the JSON-RPC method.

      +

    Returns JsonRpcPayload

    The JSON-RPC payload.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.ClientPublicMainnet.html b/docs/classes/_ckb_ccc_core.index.ccc.ClientPublicMainnet.html new file mode 100644 index 00000000..07638fb8 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.ClientPublicMainnet.html @@ -0,0 +1,299 @@ +ClientPublicMainnet | Documentation +

An abstract class implementing JSON-RPC client functionality for a specific URL and timeout. +Provides methods for sending transactions and building JSON-RPC payloads.

+

Hierarchy (view full)

Constructors

Properties

getTip: (() => Promise<bigint>) = ...

Get tip block number

+

Type declaration

    • (): Promise<bigint>
    • Returns Promise<bigint>

      Tip block number

      +
getBlockByNumber: ((blockNumber: NumLike, verbosity?: null | number, withCycles?: null | boolean) => Promise<undefined | ClientBlock>) = ...

Get block by block hash

+

Type declaration

    • (blockNumber, verbosity?, withCycles?): Promise<undefined | ClientBlock>
    • Parameters

      • blockNumber: NumLike

        The block number.

        +
      • Optionalverbosity: null | number

        result format which allows 0 and 2. (Optional, the default is 2.)

        +
      • OptionalwithCycles: null | boolean

        whether the return cycles of block transactions. (Optional, default false.)

        +

      Returns Promise<undefined | ClientBlock>

      Block

      +
getBlockByHash: ((blockHash: BytesLike, verbosity?: null | number, withCycles?: null | boolean) => Promise<undefined | ClientBlock>) = ...

Get block by block hash

+

Type declaration

    • (blockHash, verbosity?, withCycles?): Promise<undefined | ClientBlock>
    • Parameters

      • blockHash: BytesLike

        The block hash.

        +
      • Optionalverbosity: null | number

        result format which allows 0 and 2. (Optional, the default is 2.)

        +
      • OptionalwithCycles: null | boolean

        whether the return cycles of block transactions. (Optional, default false.)

        +

      Returns Promise<undefined | ClientBlock>

      Block

      +
sendTransactionNoCache: ((transaction: TransactionLike, validator?: OutputsValidator) => Promise<`0x${string}`>) = ...

Send a transaction to node.

+

Type declaration

    • (transaction, validator?): Promise<`0x${string}`>
    • Parameters

      • transaction: TransactionLike

        The transaction to send.

        +
      • Optionalvalidator: OutputsValidator

        "passthrough": Disable validation. "well_known_scripts_only": Only accept well known scripts in the transaction.

        +

      Returns Promise<`0x${string}`>

      Transaction hash.

      +
getTransactionNoCache: ((txHash: BytesLike) => Promise<undefined | ClientTransactionResponse>) = ...

Get a transaction from node.

+

Type declaration

findCellsPagedNoCache: ((key: ClientIndexerSearchKeyLike, order?: "asc" | "desc", limit?: NumLike, after?: string) => Promise<ClientFindCellsResponse>) = ...

find cells from node.

+

Type declaration

findTransactionsPaged: {
    (key: Omit<ClientIndexerSearchKeyTransactionLike, "groupByTransaction"> & {
        groupByTransaction: true;
    }, order?: "asc" | "desc", limit?: NumLike, after?: string): Promise<ClientFindTransactionsGroupedResponse>;
    (key: Omit<ClientIndexerSearchKeyTransactionLike, "groupByTransaction"> & {
        groupByTransaction?: null | false;
    }, order?: "asc" | "desc", limit?: NumLike, after?: string): Promise<ClientFindTransactionsResponse>;
    (key: ClientIndexerSearchKeyTransactionLike, order?: "asc" | "desc", limit?: NumLike, after?: string): Promise<ClientFindTransactionsResponse | ClientFindTransactionsGroupedResponse>;
} = ...

find transactions from node.

+

The search key of transactions.

+

The order of transactions.

+

The max return size of transactions.

+

Pagination parameter.

+

The found transactions.

+
getCellsCapacity: ((key: ClientIndexerSearchKeyLike) => Promise<bigint>) = ...

get cells capacity from node.

+

Type declaration

    • (key): Promise<bigint>
    • Parameters

      Returns Promise<bigint>

      The sum of cells capacity.

      +

Accessors

  • get url(): string
  • Returns the URL of the JSON-RPC server.

    +

    Returns string

    The URL of the JSON-RPC server.

    +

Methods

  • Parameters

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

  • Parameters

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    }, any, unknown>

  • Parameters

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    } | {
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

  • Parameters

    • lock: ScriptLike
    • type: undefined | null | ScriptLike
    • groupByTransaction: true
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

  • Parameters

    • lock: ScriptLike
    • Optionaltype: null | ScriptLike
    • OptionalgroupByTransaction: null | false
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    }, any, unknown>

  • Parameters

    • lock: ScriptLike
    • Optionaltype: null | ScriptLike
    • OptionalgroupByTransaction: null | boolean
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    } | {
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

  • Parameters

    • type: ScriptLike
    • groupByTransaction: true
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

  • Parameters

    • type: ScriptLike
    • OptionalgroupByTransaction: null | false
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    }, any, unknown>

  • Parameters

    • type: ScriptLike
    • OptionalgroupByTransaction: null | boolean
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    } | {
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

  • Builds a sender function for a JSON-RPC method.

    +

    Parameters

    • rpcMethod: string

      The JSON-RPC method.

      +
    • inTransformers: (undefined | ((_: any) => unknown))[]

      An array of input transformers.

      +
    • OptionaloutTransformer: ((_: any) => unknown)

      An output transformer function.

      +
        • (_): unknown
        • Parameters

          • _: any

          Returns unknown

    Returns ((...req: unknown[]) => Promise<unknown>)

    A function that sends a JSON-RPC request with the given method and transformed parameters.

    +
      • (...req): Promise<unknown>
      • Parameters

        • Rest...req: unknown[]

        Returns Promise<unknown>

  • Sends a JSON-RPC request to the server.

    +

    Parameters

    Returns Promise<unknown>

    The result of the JSON-RPC request.

    +

    Will throw an error if the response ID does not match the request ID, or if the response contains an error.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.ClientPublicTestnet.html b/docs/classes/_ckb_ccc_core.index.ccc.ClientPublicTestnet.html new file mode 100644 index 00000000..37fa00d7 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.ClientPublicTestnet.html @@ -0,0 +1,299 @@ +ClientPublicTestnet | Documentation +

An abstract class implementing JSON-RPC client functionality for a specific URL and timeout. +Provides methods for sending transactions and building JSON-RPC payloads.

+

Hierarchy (view full)

Constructors

Properties

getTip: (() => Promise<bigint>) = ...

Get tip block number

+

Type declaration

    • (): Promise<bigint>
    • Returns Promise<bigint>

      Tip block number

      +
getBlockByNumber: ((blockNumber: NumLike, verbosity?: null | number, withCycles?: null | boolean) => Promise<undefined | ClientBlock>) = ...

Get block by block hash

+

Type declaration

    • (blockNumber, verbosity?, withCycles?): Promise<undefined | ClientBlock>
    • Parameters

      • blockNumber: NumLike

        The block number.

        +
      • Optionalverbosity: null | number

        result format which allows 0 and 2. (Optional, the default is 2.)

        +
      • OptionalwithCycles: null | boolean

        whether the return cycles of block transactions. (Optional, default false.)

        +

      Returns Promise<undefined | ClientBlock>

      Block

      +
getBlockByHash: ((blockHash: BytesLike, verbosity?: null | number, withCycles?: null | boolean) => Promise<undefined | ClientBlock>) = ...

Get block by block hash

+

Type declaration

    • (blockHash, verbosity?, withCycles?): Promise<undefined | ClientBlock>
    • Parameters

      • blockHash: BytesLike

        The block hash.

        +
      • Optionalverbosity: null | number

        result format which allows 0 and 2. (Optional, the default is 2.)

        +
      • OptionalwithCycles: null | boolean

        whether the return cycles of block transactions. (Optional, default false.)

        +

      Returns Promise<undefined | ClientBlock>

      Block

      +
sendTransactionNoCache: ((transaction: TransactionLike, validator?: OutputsValidator) => Promise<`0x${string}`>) = ...

Send a transaction to node.

+

Type declaration

    • (transaction, validator?): Promise<`0x${string}`>
    • Parameters

      • transaction: TransactionLike

        The transaction to send.

        +
      • Optionalvalidator: OutputsValidator

        "passthrough": Disable validation. "well_known_scripts_only": Only accept well known scripts in the transaction.

        +

      Returns Promise<`0x${string}`>

      Transaction hash.

      +
getTransactionNoCache: ((txHash: BytesLike) => Promise<undefined | ClientTransactionResponse>) = ...

Get a transaction from node.

+

Type declaration

findCellsPagedNoCache: ((key: ClientIndexerSearchKeyLike, order?: "asc" | "desc", limit?: NumLike, after?: string) => Promise<ClientFindCellsResponse>) = ...

find cells from node.

+

Type declaration

findTransactionsPaged: {
    (key: Omit<ClientIndexerSearchKeyTransactionLike, "groupByTransaction"> & {
        groupByTransaction: true;
    }, order?: "asc" | "desc", limit?: NumLike, after?: string): Promise<ClientFindTransactionsGroupedResponse>;
    (key: Omit<ClientIndexerSearchKeyTransactionLike, "groupByTransaction"> & {
        groupByTransaction?: null | false;
    }, order?: "asc" | "desc", limit?: NumLike, after?: string): Promise<ClientFindTransactionsResponse>;
    (key: ClientIndexerSearchKeyTransactionLike, order?: "asc" | "desc", limit?: NumLike, after?: string): Promise<ClientFindTransactionsResponse | ClientFindTransactionsGroupedResponse>;
} = ...

find transactions from node.

+

The search key of transactions.

+

The order of transactions.

+

The max return size of transactions.

+

Pagination parameter.

+

The found transactions.

+
getCellsCapacity: ((key: ClientIndexerSearchKeyLike) => Promise<bigint>) = ...

get cells capacity from node.

+

Type declaration

    • (key): Promise<bigint>
    • Parameters

      Returns Promise<bigint>

      The sum of cells capacity.

      +

Accessors

  • get url(): string
  • Returns the URL of the JSON-RPC server.

    +

    Returns string

    The URL of the JSON-RPC server.

    +

Methods

  • Parameters

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

  • Parameters

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    }, any, unknown>

  • Parameters

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    } | {
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

  • Parameters

    • lock: ScriptLike
    • type: undefined | null | ScriptLike
    • groupByTransaction: true
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

  • Parameters

    • lock: ScriptLike
    • Optionaltype: null | ScriptLike
    • OptionalgroupByTransaction: null | false
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    }, any, unknown>

  • Parameters

    • lock: ScriptLike
    • Optionaltype: null | ScriptLike
    • OptionalgroupByTransaction: null | boolean
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    } | {
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

  • Parameters

    • type: ScriptLike
    • groupByTransaction: true
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

  • Parameters

    • type: ScriptLike
    • OptionalgroupByTransaction: null | false
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    }, any, unknown>

  • Parameters

    • type: ScriptLike
    • OptionalgroupByTransaction: null | boolean
    • Optionalorder: "asc" | "desc"
    • Optionallimit: number

    Returns AsyncGenerator<{
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        isInput: boolean;
        cellIndex: bigint;
    } | {
        txHash: `0x${string}`;
        blockNumber: bigint;
        txIndex: bigint;
        cells: {
            isInput: boolean;
            cellIndex: bigint;
        }[];
    }, any, unknown>

  • Builds a sender function for a JSON-RPC method.

    +

    Parameters

    • rpcMethod: string

      The JSON-RPC method.

      +
    • inTransformers: (undefined | ((_: any) => unknown))[]

      An array of input transformers.

      +
    • OptionaloutTransformer: ((_: any) => unknown)

      An output transformer function.

      +
        • (_): unknown
        • Parameters

          • _: any

          Returns unknown

    Returns ((...req: unknown[]) => Promise<unknown>)

    A function that sends a JSON-RPC request with the given method and transformed parameters.

    +
      • (...req): Promise<unknown>
      • Parameters

        • Rest...req: unknown[]

        Returns Promise<unknown>

  • Sends a JSON-RPC request to the server.

    +

    Parameters

    Returns Promise<unknown>

    The result of the JSON-RPC request.

    +

    Will throw an error if the response ID does not match the request ID, or if the response contains an error.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.HasherCkb.html b/docs/classes/_ckb_ccc_core.index.ccc.HasherCkb.html new file mode 100644 index 00000000..8cc86dce --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.HasherCkb.html @@ -0,0 +1,230 @@ +HasherCkb | Documentation +

Implements

Constructors

Methods

Constructors

  • Creates an instance of Hasher.

    +

    Parameters

    • outLength: number = 32

      The output length of the hash in bytes. Default is 32.

      +
    • personal: string = CKB_BLAKE2B_PERSONAL

      The personal string for the Blake2b algorithm. Default is CKB_BLAKE2B_PERSONAL.

      +

    Returns HasherCkb

Methods

  • Updates the hash with the given data.

    +

    Parameters

    • data: BytesLike

      The data to update the hash with.

      +

    Returns HasherCkb

    The current Hasher instance for chaining.

    +
    const hasher = new Hasher();
    hasher.update("some data").update("more data");
    const hash = hasher.digest(); +
    + +
  • Finalizes the hash and returns the digest as a hexadecimal string.

    +

    Returns `0x${string}`

    The hexadecimal string representation of the hash.

    +
    const hasher = new Hasher();
    hasher.update("some data");
    const hash = hasher.digest(); // Outputs something like "0x..." +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.HasherKeecak256.html b/docs/classes/_ckb_ccc_core.index.ccc.HasherKeecak256.html new file mode 100644 index 00000000..538c9311 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.HasherKeecak256.html @@ -0,0 +1,228 @@ +HasherKeecak256 | Documentation +

Implements

Constructors

Methods

Constructors

Methods

  • Finalizes the hash and returns the digest as a hexadecimal string.

    +

    Returns `0x${string}`

    The hexadecimal string representation of the hash.

    +
    const hasher = new Hasher();
    hasher.update("some data");
    const hash = hasher.digest(); // Outputs something like "0x..." +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.OutPoint.html b/docs/classes/_ckb_ccc_core.index.ccc.OutPoint.html new file mode 100644 index 00000000..6fc634d8 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.OutPoint.html @@ -0,0 +1,257 @@ +OutPoint | Documentation +

Constructors

Properties

Methods

Constructors

  • Creates an instance of OutPoint.

    +

    Parameters

    • txHash: `0x${string}`

      The transaction hash.

      +
    • index: bigint

      The index of the output in the transaction.

      +

    Returns ccc.OutPoint

Properties

txHash: `0x${string}`

The transaction hash.

+
index: bigint

The index of the output in the transaction.

+

Methods

  • Creates an OutPoint instance from an OutPointLike object.

    +

    Parameters

    • outPoint: OutPointLike

      An OutPointLike object or an instance of OutPoint.

      +

    Returns ccc.OutPoint

    An OutPoint instance.

    +
    const outPoint = OutPoint.from({ txHash: "0x...", index: 0 });
    +
    + +
  • Converts the OutPoint instance to bytes.

    +

    Returns Uint8Array

    A Uint8Array containing the outpoint bytes.

    +
    const outPointBytes = outPoint.toBytes();
    +
    + +
  • Compares the current OutPoint instance with another OutPointLike object for equality.

    +

    Parameters

    Returns boolean

    True if the out points are equal, otherwise false.

    +
    const isEqual = outPoint.eq(anotherOutPoint);
    +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.Script.html b/docs/classes/_ckb_ccc_core.index.ccc.Script.html new file mode 100644 index 00000000..759abf2f --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.Script.html @@ -0,0 +1,276 @@ +Script | Documentation +

Constructors

  • Creates an instance of Script.

    +

    Parameters

    • codeHash: `0x${string}`

      The code hash of the script.

      +
    • hashType: HashType

      The hash type of the script.

      +
    • args: `0x${string}`

      The arguments for the script.

      +

    Returns ccc.Script

Properties

codeHash: `0x${string}`

The code hash of the script.

+
hashType: HashType

The hash type of the script.

+
args: `0x${string}`

The arguments for the script.

+

Accessors

Methods

  • Creates a Script instance from a ScriptLike object.

    +

    Parameters

    • script: ScriptLike

      A ScriptLike object or an instance of Script.

      +

    Returns ccc.Script

    A Script instance.

    +
    const script = Script.from({
    codeHash: "0x1234...",
    hashType: "type",
    args: "0xabcd..."
    }); +
    + +
  • Creates a Script instance from client and known script.

    +

    Parameters

    • client: Client

      A ScriptLike object or an instance of Script.

      +
    • knownScript: KnownScript

      A KnownScript enum.

      +
    • args: BytesLike

      Args for the script.

      +

    Returns Promise<ccc.Script>

    A promise that resolves to the script instance.

    +
    const script = await Script.fromKnownScript(
    client,
    KnownScript.XUdt,
    args: "0xabcd..."
    ); +
    + +
  • Converts the Script instance to molecule data format.

    +

    Returns ScriptType

    An object representing the script in molecule data format.

    +
  • Converts the Script instance to bytes.

    +

    Returns Uint8Array

    A Uint8Array containing the script bytes.

    +
    const scriptBytes = script.toBytes();
    +
    + +
  • Get hash of a script

    +

    Returns `0x${string}`

    Hash of this script

    +
    const hash = script.hash();
    +
    + +
  • Creates a Script instance from a byte-like value or molecule Script.

    +

    Parameters

    Returns ccc.Script

    A Script instance.

    +
    const script = Script.fromBytes(new Uint8Array([/* script bytes */]));
    +
    + +
  • Compares the current Script instance with another ScriptLike object for equality.

    +

    Parameters

    • val: ScriptLike

      The ScriptLike object to compare with.

      +

    Returns boolean

    True if the scripts are equal, otherwise false.

    +
    const isEqual = script.eq(anotherScript);
    +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.Signature.html b/docs/classes/_ckb_ccc_core.index.ccc.Signature.html new file mode 100644 index 00000000..f7c96d31 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.Signature.html @@ -0,0 +1,217 @@ +Signature | Documentation +

Constructors

Properties

Constructors

Properties

signature: string
identity: string
signType: SignerSignType

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.Signer.html b/docs/classes/_ckb_ccc_core.index.ccc.Signer.html new file mode 100644 index 00000000..39380f6e --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.Signer.html @@ -0,0 +1,291 @@ +Signer | Documentation +

An abstract class representing a generic signer. +This class provides methods to connect, get addresses, and sign transactions.

+

Hierarchy (view full)

Constructors

Properties

client_: Client

Accessors

Methods

  • Connects to the signer.

    +

    Returns Promise<void>

    A promise that resolves when the connection is complete.

    +
  • Register a listener to be called when this signer is replaced.

    +

    Parameters

    • _: (() => void)
        • (): void
        • Returns void

    Returns (() => void)

    A function for unregister

    +
      • (): void
      • Returns void

  • Disconnects to the signer.

    +

    Returns Promise<void>

    A promise that resolves when the signer is disconnected.

    +
  • Check if the signer is connected.

    +

    Returns Promise<boolean>

    A promise that resolves the connection status.

    +
  • Gets the internal address associated with the signer.

    +

    Returns Promise<string>

    A promise that resolves to a string representing the internal address.

    +
  • Gets the identity for verifying signature, usually it's address

    +

    Returns Promise<string>

    A promise that resolves to a string representing the identity

    +
  • Gets an array of Address objects associated with the signer.

    +

    Returns Promise<Address[]>

    A promise that resolves to an array of Address objects.

    +
  • Gets the recommended Address object for the signer.

    +

    Parameters

    • Optional_preference: unknown

      Optional preference parameter.

      +

    Returns Promise<Address>

    A promise that resolves to the recommended Address object.

    +
  • Gets the recommended address for the signer as a string.

    +

    Parameters

    • Optionalpreference: unknown

      Optional preference parameter.

      +

    Returns Promise<string>

    A promise that resolves to the recommended address as a string.

    +
  • Gets an array of addresses associated with the signer as strings.

    +

    Returns Promise<string[]>

    A promise that resolves to an array of addresses as strings.

    +
  • Gets balance of all addresses

    +

    Returns Promise<bigint>

    A promise that resolves to the balance

    +
  • Signs a message.

    +

    Parameters

    • message: BytesLike

      The message to sign, as a string or BytesLike object.

      +

    Returns Promise<Signature>

    A promise that resolves to the signature info.

    +

    Will throw an error if not implemented.

    +
  • Signs a message and returns signature only. This method is not implemented and should be overridden by subclasses.

    +

    Parameters

    • _: BytesLike

      The message to sign, as a string or BytesLike object.

      +

    Returns Promise<string>

    A promise that resolves to the signature as a string.

    +

    Will throw an error if not implemented.

    +
  • Verify a signature.

    +

    Parameters

    • message: BytesLike

      The original message.

      +
    • signature: string | Signature

      The signature to verify.

      +

    Returns Promise<boolean>

    A promise that resolves to the verification result.

    +

    Will throw an error if not implemented.

    +
  • Sends a transaction after signing it.

    +

    Parameters

    • tx: TransactionLike

      The transaction to send, represented as a TransactionLike object.

      +

    Returns Promise<`0x${string}`>

    A promise that resolves to the transaction hash as a Hex string.

    +
  • prepare a transaction before signing. This method is not implemented and should be overridden by subclasses.

    +

    Parameters

    • _: TransactionLike

      The transaction to prepare, represented as a TransactionLike object.

      +

    Returns Promise<ccc.Transaction>

    A promise that resolves to the prepared Transaction object.

    +

    Will throw an error if not implemented.

    +
  • Signs a transaction without preparing information for it. This method is not implemented and should be overridden by subclasses.

    +

    Parameters

    • _: TransactionLike

      The transaction to sign, represented as a TransactionLike object.

      +

    Returns Promise<ccc.Transaction>

    A promise that resolves to the signed Transaction object.

    +

    Will throw an error if not implemented.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.SignerAlwaysError.html b/docs/classes/_ckb_ccc_core.index.ccc.SignerAlwaysError.html new file mode 100644 index 00000000..b031e0a7 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.SignerAlwaysError.html @@ -0,0 +1,291 @@ +SignerAlwaysError | Documentation +

An abstract class representing a generic signer. +This class provides methods to connect, get addresses, and sign transactions.

+

Hierarchy (view full)

Constructors

Properties

client_: Client

Accessors

Methods

  • Gets the internal address associated with the signer.

    +

    Returns Promise<string>

    A promise that resolves to a string representing the internal address.

    +
  • Register a listener to be called when this signer is replaced.

    +

    Parameters

    • _: (() => void)
        • (): void
        • Returns void

    Returns (() => void)

    A function for unregister

    +
      • (): void
      • Returns void

  • Gets the identity for verifying signature, usually it's address

    +

    Returns Promise<string>

    A promise that resolves to a string representing the identity

    +
  • Gets the recommended address for the signer as a string.

    +

    Parameters

    • Optionalpreference: unknown

      Optional preference parameter.

      +

    Returns Promise<string>

    A promise that resolves to the recommended address as a string.

    +
  • Gets an array of addresses associated with the signer as strings.

    +

    Returns Promise<string[]>

    A promise that resolves to an array of addresses as strings.

    +
  • Signs a message and returns signature only. This method is not implemented and should be overridden by subclasses.

    +

    Parameters

    • _: BytesLike

      The message to sign, as a string or BytesLike object.

      +

    Returns Promise<string>

    A promise that resolves to the signature as a string.

    +

    Will throw an error if not implemented.

    +
  • Verify a signature.

    +

    Parameters

    • message: BytesLike

      The original message.

      +
    • signature: string | Signature

      The signature to verify.

      +

    Returns Promise<boolean>

    A promise that resolves to the verification result.

    +

    Will throw an error if not implemented.

    +
  • Sends a transaction after signing it.

    +

    Parameters

    • tx: TransactionLike

      The transaction to send, represented as a TransactionLike object.

      +

    Returns Promise<`0x${string}`>

    A promise that resolves to the transaction hash as a Hex string.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.SignerBtc.html b/docs/classes/_ckb_ccc_core.index.ccc.SignerBtc.html new file mode 100644 index 00000000..8020d2e1 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.SignerBtc.html @@ -0,0 +1,296 @@ +SignerBtc | Documentation +

An abstract class extending the Signer class for Bitcoin-like signing operations. +This class provides methods to get Bitcoin account, public key, and internal address, +as well as signing transactions.

+

Hierarchy (view full)

Constructors

Properties

client_: Client

Accessors

Methods

  • Gets the Bitcoin account associated with the signer.

    +

    Returns Promise<string>

    A promise that resolves to a string representing the Bitcoin account.

    +
  • Gets the Bitcoin public key associated with the signer.

    +

    Returns Promise<BytesLike>

    A promise that resolves to a HexLike value representing the Bitcoin public key.

    +
  • Gets the internal address, which is the Bitcoin account in this case.

    +

    Returns Promise<string>

    A promise that resolves to a string representing the internal address.

    +
  • Gets the identity, which is the Bitcoin public key in this case.

    +

    Returns Promise<string>

    A promise that resolves to a string representing the identity

    +
  • Register a listener to be called when this signer is replaced.

    +

    Parameters

    • _: (() => void)
        • (): void
        • Returns void

    Returns (() => void)

    A function for unregister

    +
      • (): void
      • Returns void

  • Gets the recommended address for the signer as a string.

    +

    Parameters

    • Optionalpreference: unknown

      Optional preference parameter.

      +

    Returns Promise<string>

    A promise that resolves to the recommended address as a string.

    +
  • Gets an array of addresses associated with the signer as strings.

    +

    Returns Promise<string[]>

    A promise that resolves to an array of addresses as strings.

    +
  • Signs a message and returns signature only. This method is not implemented and should be overridden by subclasses.

    +

    Parameters

    • _: BytesLike

      The message to sign, as a string or BytesLike object.

      +

    Returns Promise<string>

    A promise that resolves to the signature as a string.

    +

    Will throw an error if not implemented.

    +
  • Verify a signature.

    +

    Parameters

    • message: BytesLike

      The original message.

      +
    • signature: string | Signature

      The signature to verify.

      +

    Returns Promise<boolean>

    A promise that resolves to the verification result.

    +

    Will throw an error if not implemented.

    +
  • Sends a transaction after signing it.

    +

    Parameters

    • tx: TransactionLike

      The transaction to send, represented as a TransactionLike object.

      +

    Returns Promise<`0x${string}`>

    A promise that resolves to the transaction hash as a Hex string.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.SignerBtcPublicKeyReadonly.html b/docs/classes/_ckb_ccc_core.index.ccc.SignerBtcPublicKeyReadonly.html new file mode 100644 index 00000000..353feecc --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.SignerBtcPublicKeyReadonly.html @@ -0,0 +1,305 @@ +SignerBtcPublicKeyReadonly | Documentation +

A class extending SignerBtc that provides read-only access to a Bitcoin public key and account. +This class does not support signing operations.

+

Hierarchy (view full)

Constructors

Properties

client_: Client

Accessors

Methods

  • Gets the internal address, which is the Bitcoin account in this case.

    +

    Returns Promise<string>

    A promise that resolves to a string representing the internal address.

    +
  • Gets the identity, which is the Bitcoin public key in this case.

    +

    Returns Promise<string>

    A promise that resolves to a string representing the identity

    +
  • Gets the Bitcoin account associated with the signer.

    +

    Returns Promise<string>

    A promise that resolves to a string representing the Bitcoin account.

    +
    const account = await signer.getBtcAccount(); // Outputs the Bitcoin account
    +
    + +
  • Gets the Bitcoin public key associated with the signer.

    +

    Returns Promise<`0x${string}`>

    A promise that resolves to a Hex string representing the Bitcoin public key.

    +
    const publicKey = await signer.getBtcPublicKey(); // Outputs the Bitcoin public key
    +
    + +
  • Register a listener to be called when this signer is replaced.

    +

    Parameters

    • _: (() => void)
        • (): void
        • Returns void

    Returns (() => void)

    A function for unregister

    +
      • (): void
      • Returns void

  • Gets the recommended address for the signer as a string.

    +

    Parameters

    • Optionalpreference: unknown

      Optional preference parameter.

      +

    Returns Promise<string>

    A promise that resolves to the recommended address as a string.

    +
  • Gets an array of addresses associated with the signer as strings.

    +

    Returns Promise<string[]>

    A promise that resolves to an array of addresses as strings.

    +
  • Signs a message and returns signature only. This method is not implemented and should be overridden by subclasses.

    +

    Parameters

    • _: BytesLike

      The message to sign, as a string or BytesLike object.

      +

    Returns Promise<string>

    A promise that resolves to the signature as a string.

    +

    Will throw an error if not implemented.

    +
  • Verify a signature.

    +

    Parameters

    • message: BytesLike

      The original message.

      +
    • signature: string | Signature

      The signature to verify.

      +

    Returns Promise<boolean>

    A promise that resolves to the verification result.

    +

    Will throw an error if not implemented.

    +
  • Sends a transaction after signing it.

    +

    Parameters

    • tx: TransactionLike

      The transaction to send, represented as a TransactionLike object.

      +

    Returns Promise<`0x${string}`>

    A promise that resolves to the transaction hash as a Hex string.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.SignerCkbPrivateKey.html b/docs/classes/_ckb_ccc_core.index.ccc.SignerCkbPrivateKey.html new file mode 100644 index 00000000..0aeea524 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.SignerCkbPrivateKey.html @@ -0,0 +1,291 @@ +SignerCkbPrivateKey | Documentation +

An abstract class representing a generic signer. +This class provides methods to connect, get addresses, and sign transactions.

+

Hierarchy (view full)

Constructors

Properties

privateKey: `0x${string}`
publicKey: `0x${string}`
client_: Client

Accessors

Methods

  • Signs a message and returns signature only. This method is not implemented and should be overridden by subclasses.

    +

    Parameters

    Returns Promise<`0x${string}`>

    A promise that resolves to the signature as a string.

    +

    Will throw an error if not implemented.

    +
  • Register a listener to be called when this signer is replaced.

    +

    Parameters

    • _: (() => void)
        • (): void
        • Returns void

    Returns (() => void)

    A function for unregister

    +
      • (): void
      • Returns void

  • Gets the recommended address for the signer as a string.

    +

    Parameters

    • Optionalpreference: unknown

      Optional preference parameter.

      +

    Returns Promise<string>

    A promise that resolves to the recommended address as a string.

    +
  • Verify a signature.

    +

    Parameters

    • message: BytesLike

      The original message.

      +
    • signature: string | Signature

      The signature to verify.

      +

    Returns Promise<boolean>

    A promise that resolves to the verification result.

    +

    Will throw an error if not implemented.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.SignerCkbPublicKey.html b/docs/classes/_ckb_ccc_core.index.ccc.SignerCkbPublicKey.html new file mode 100644 index 00000000..36ffdae6 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.SignerCkbPublicKey.html @@ -0,0 +1,291 @@ +SignerCkbPublicKey | Documentation +

An abstract class representing a generic signer. +This class provides methods to connect, get addresses, and sign transactions.

+

Hierarchy (view full)

Constructors

Properties

publicKey: `0x${string}`
client_: Client

Accessors

Methods

  • Register a listener to be called when this signer is replaced.

    +

    Parameters

    • _: (() => void)
        • (): void
        • Returns void

    Returns (() => void)

    A function for unregister

    +
      • (): void
      • Returns void

  • Gets the recommended address for the signer as a string.

    +

    Parameters

    • Optionalpreference: unknown

      Optional preference parameter.

      +

    Returns Promise<string>

    A promise that resolves to the recommended address as a string.

    +
  • Gets an array of addresses associated with the signer as strings.

    +

    Returns Promise<string[]>

    A promise that resolves to an array of addresses as strings.

    +
  • Signs a message and returns signature only. This method is not implemented and should be overridden by subclasses.

    +

    Parameters

    • _: BytesLike

      The message to sign, as a string or BytesLike object.

      +

    Returns Promise<string>

    A promise that resolves to the signature as a string.

    +

    Will throw an error if not implemented.

    +
  • Verify a signature.

    +

    Parameters

    • message: BytesLike

      The original message.

      +
    • signature: string | Signature

      The signature to verify.

      +

    Returns Promise<boolean>

    A promise that resolves to the verification result.

    +

    Will throw an error if not implemented.

    +
  • Sends a transaction after signing it.

    +

    Parameters

    • tx: TransactionLike

      The transaction to send, represented as a TransactionLike object.

      +

    Returns Promise<`0x${string}`>

    A promise that resolves to the transaction hash as a Hex string.

    +
  • Signs a transaction without preparing information for it. This method is not implemented and should be overridden by subclasses.

    +

    Parameters

    • _: TransactionLike

      The transaction to sign, represented as a TransactionLike object.

      +

    Returns Promise<ccc.Transaction>

    A promise that resolves to the signed Transaction object.

    +

    Will throw an error if not implemented.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.SignerCkbScriptReadonly.html b/docs/classes/_ckb_ccc_core.index.ccc.SignerCkbScriptReadonly.html new file mode 100644 index 00000000..6d8e55d6 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.SignerCkbScriptReadonly.html @@ -0,0 +1,300 @@ +SignerCkbScriptReadonly | Documentation +

A class extending Signer that provides read-only access to a CKB script. +This class does not support signing operations.

+

Hierarchy (view full)

Constructors

Properties

client_: Client

Accessors

Methods

  • Gets the internal address for the script.

    +

    Returns Promise<string>

    A promise that resolves to a string representing the internal address.

    +
    const internalAddress = await signer.getInternalAddress(); // Outputs the internal address
    +
    + +
  • Gets an array of Address objects representing the script address.

    +

    Returns Promise<Address[]>

    A promise that resolves to an array of Address objects.

    +
    const addressObjs = await signer.getAddressObjs(); // Outputs the array of Address objects
    +
    + +
  • Register a listener to be called when this signer is replaced.

    +

    Parameters

    • _: (() => void)
        • (): void
        • Returns void

    Returns (() => void)

    A function for unregister

    +
      • (): void
      • Returns void

  • Gets the identity for verifying signature, usually it's address

    +

    Returns Promise<string>

    A promise that resolves to a string representing the identity

    +
  • Gets the recommended address for the signer as a string.

    +

    Parameters

    • Optionalpreference: unknown

      Optional preference parameter.

      +

    Returns Promise<string>

    A promise that resolves to the recommended address as a string.

    +
  • Gets an array of addresses associated with the signer as strings.

    +

    Returns Promise<string[]>

    A promise that resolves to an array of addresses as strings.

    +
  • Signs a message and returns signature only. This method is not implemented and should be overridden by subclasses.

    +

    Parameters

    • _: BytesLike

      The message to sign, as a string or BytesLike object.

      +

    Returns Promise<string>

    A promise that resolves to the signature as a string.

    +

    Will throw an error if not implemented.

    +
  • Verify a signature.

    +

    Parameters

    • message: BytesLike

      The original message.

      +
    • signature: string | Signature

      The signature to verify.

      +

    Returns Promise<boolean>

    A promise that resolves to the verification result.

    +

    Will throw an error if not implemented.

    +
  • Sends a transaction after signing it.

    +

    Parameters

    • tx: TransactionLike

      The transaction to send, represented as a TransactionLike object.

      +

    Returns Promise<`0x${string}`>

    A promise that resolves to the transaction hash as a Hex string.

    +
  • prepare a transaction before signing. This method is not implemented and should be overridden by subclasses.

    +

    Parameters

    • _: TransactionLike

      The transaction to prepare, represented as a TransactionLike object.

      +

    Returns Promise<ccc.Transaction>

    A promise that resolves to the prepared Transaction object.

    +

    Will throw an error if not implemented.

    +
  • Signs a transaction without preparing information for it. This method is not implemented and should be overridden by subclasses.

    +

    Parameters

    • _: TransactionLike

      The transaction to sign, represented as a TransactionLike object.

      +

    Returns Promise<ccc.Transaction>

    A promise that resolves to the signed Transaction object.

    +

    Will throw an error if not implemented.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.SignerDummy.html b/docs/classes/_ckb_ccc_core.index.ccc.SignerDummy.html new file mode 100644 index 00000000..6e1fc26f --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.SignerDummy.html @@ -0,0 +1,291 @@ +SignerDummy | Documentation +

An abstract class representing a generic signer. +This class provides methods to connect, get addresses, and sign transactions.

+

Hierarchy (view full)

Constructors

Properties

client_: Client

Accessors

Methods

  • Gets the internal address associated with the signer.

    +

    Returns Promise<string>

    A promise that resolves to a string representing the internal address.

    +
  • Register a listener to be called when this signer is replaced.

    +

    Parameters

    • _: (() => void)
        • (): void
        • Returns void

    Returns (() => void)

    A function for unregister

    +
      • (): void
      • Returns void

  • Gets the identity for verifying signature, usually it's address

    +

    Returns Promise<string>

    A promise that resolves to a string representing the identity

    +
  • Gets the recommended address for the signer as a string.

    +

    Parameters

    • Optionalpreference: unknown

      Optional preference parameter.

      +

    Returns Promise<string>

    A promise that resolves to the recommended address as a string.

    +
  • Gets an array of addresses associated with the signer as strings.

    +

    Returns Promise<string[]>

    A promise that resolves to an array of addresses as strings.

    +
  • Signs a message and returns signature only. This method is not implemented and should be overridden by subclasses.

    +

    Parameters

    • _: BytesLike

      The message to sign, as a string or BytesLike object.

      +

    Returns Promise<string>

    A promise that resolves to the signature as a string.

    +

    Will throw an error if not implemented.

    +
  • Verify a signature.

    +

    Parameters

    • message: BytesLike

      The original message.

      +
    • signature: string | Signature

      The signature to verify.

      +

    Returns Promise<boolean>

    A promise that resolves to the verification result.

    +

    Will throw an error if not implemented.

    +
  • Sends a transaction after signing it.

    +

    Parameters

    • tx: TransactionLike

      The transaction to send, represented as a TransactionLike object.

      +

    Returns Promise<`0x${string}`>

    A promise that resolves to the transaction hash as a Hex string.

    +
  • prepare a transaction before signing. This method is not implemented and should be overridden by subclasses.

    +

    Parameters

    • _: TransactionLike

      The transaction to prepare, represented as a TransactionLike object.

      +

    Returns Promise<ccc.Transaction>

    A promise that resolves to the prepared Transaction object.

    +

    Will throw an error if not implemented.

    +
  • Signs a transaction without preparing information for it. This method is not implemented and should be overridden by subclasses.

    +

    Parameters

    • _: TransactionLike

      The transaction to sign, represented as a TransactionLike object.

      +

    Returns Promise<ccc.Transaction>

    A promise that resolves to the signed Transaction object.

    +

    Will throw an error if not implemented.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.SignerEvm.html b/docs/classes/_ckb_ccc_core.index.ccc.SignerEvm.html new file mode 100644 index 00000000..1bf62186 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.SignerEvm.html @@ -0,0 +1,300 @@ +SignerEvm | Documentation +

An abstract class extending Signer for Ethereum Virtual Machine (EVM) based signing operations. +This class provides methods to get EVM account, internal address, and signing transactions.

+

Hierarchy (view full)

Constructors

Properties

client_: Client

Accessors

Methods

  • Gets the EVM account associated with the signer.

    +

    Returns Promise<`0x${string}`>

    A promise that resolves to a string representing the EVM account.

    +
  • Gets the internal address, which is the EVM account in this case.

    +

    Returns Promise<string>

    A promise that resolves to a string representing the internal address.

    +
  • Parameters

    Returns Promise<undefined | {
        signature: Uint8Array;
        position: number;
    }>

  • Register a listener to be called when this signer is replaced.

    +

    Parameters

    • _: (() => void)
        • (): void
        • Returns void

    Returns (() => void)

    A function for unregister

    +
      • (): void
      • Returns void

  • Gets the identity for verifying signature, usually it's address

    +

    Returns Promise<string>

    A promise that resolves to a string representing the identity

    +
  • Gets the recommended address for the signer as a string.

    +

    Parameters

    • Optionalpreference: unknown

      Optional preference parameter.

      +

    Returns Promise<string>

    A promise that resolves to the recommended address as a string.

    +
  • Gets an array of addresses associated with the signer as strings.

    +

    Returns Promise<string[]>

    A promise that resolves to an array of addresses as strings.

    +
  • Signs a message and returns signature only. This method is not implemented and should be overridden by subclasses.

    +

    Parameters

    • _: BytesLike

      The message to sign, as a string or BytesLike object.

      +

    Returns Promise<string>

    A promise that resolves to the signature as a string.

    +

    Will throw an error if not implemented.

    +
  • Verify a signature.

    +

    Parameters

    • message: BytesLike

      The original message.

      +
    • signature: string | Signature

      The signature to verify.

      +

    Returns Promise<boolean>

    A promise that resolves to the verification result.

    +

    Will throw an error if not implemented.

    +
  • Sends a transaction after signing it.

    +

    Parameters

    • tx: TransactionLike

      The transaction to send, represented as a TransactionLike object.

      +

    Returns Promise<`0x${string}`>

    A promise that resolves to the transaction hash as a Hex string.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.SignerEvmAddressReadonly.html b/docs/classes/_ckb_ccc_core.index.ccc.SignerEvmAddressReadonly.html new file mode 100644 index 00000000..47b30178 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.SignerEvmAddressReadonly.html @@ -0,0 +1,309 @@ +SignerEvmAddressReadonly | Documentation +

A class extending SignerEvm that provides read-only access to an EVM address. +This class does not support signing operations.

+

Hierarchy (view full)

Constructors

Properties

client_: Client

Accessors

Methods

  • Gets the internal address, which is the EVM account in this case.

    +

    Returns Promise<string>

    A promise that resolves to a string representing the internal address.

    +
  • Connects to the client. This implementation does nothing as the class is read-only.

    +

    Returns Promise<void>

    A promise that resolves when the connection is complete.

    +
    await signer.connect();
    +
    + +
  • Gets the EVM account associated with the signer.

    +

    Returns Promise<`0x${string}`>

    A promise that resolves to a string representing the EVM account.

    +
    const account = await signer.getEvmAccount(); // Outputs the EVM account
    +
    + +
  • Register a listener to be called when this signer is replaced.

    +

    Parameters

    • _: (() => void)
        • (): void
        • Returns void

    Returns (() => void)

    A function for unregister

    +
      • (): void
      • Returns void

  • Gets the identity for verifying signature, usually it's address

    +

    Returns Promise<string>

    A promise that resolves to a string representing the identity

    +
  • Gets the recommended address for the signer as a string.

    +

    Parameters

    • Optionalpreference: unknown

      Optional preference parameter.

      +

    Returns Promise<string>

    A promise that resolves to the recommended address as a string.

    +
  • Gets an array of addresses associated with the signer as strings.

    +

    Returns Promise<string[]>

    A promise that resolves to an array of addresses as strings.

    +
  • Signs a message and returns signature only. This method is not implemented and should be overridden by subclasses.

    +

    Parameters

    • _: BytesLike

      The message to sign, as a string or BytesLike object.

      +

    Returns Promise<string>

    A promise that resolves to the signature as a string.

    +

    Will throw an error if not implemented.

    +
  • Verify a signature.

    +

    Parameters

    • message: BytesLike

      The original message.

      +
    • signature: string | Signature

      The signature to verify.

      +

    Returns Promise<boolean>

    A promise that resolves to the verification result.

    +

    Will throw an error if not implemented.

    +
  • Sends a transaction after signing it.

    +

    Parameters

    • tx: TransactionLike

      The transaction to send, represented as a TransactionLike object.

      +

    Returns Promise<`0x${string}`>

    A promise that resolves to the transaction hash as a Hex string.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.SignerInfo.html b/docs/classes/_ckb_ccc_core.index.ccc.SignerInfo.html new file mode 100644 index 00000000..8e45fdf9 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.SignerInfo.html @@ -0,0 +1,217 @@ +SignerInfo | Documentation +

A class representing information about a signer, including its type and the signer instance.

+

Constructors

Properties

Constructors

Properties

name: string
signer: ccc.Signer

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.SignerNostr.html b/docs/classes/_ckb_ccc_core.index.ccc.SignerNostr.html new file mode 100644 index 00000000..9b9263f4 --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.SignerNostr.html @@ -0,0 +1,296 @@ +SignerNostr | Documentation +

An abstract class representing a generic signer. +This class provides methods to connect, get addresses, and sign transactions.

+

Hierarchy (view full)

Constructors

Properties

CKB_SIG_HASH_ALL_TAG: string = "ckb_sighash_all"
CKB_UNLOCK_EVENT_KIND: number = 23334
CKB_UNLOCK_EVENT_CONTENT: string = "Signing a CKB transaction\n\nIMPORTANT: Please verify the integrity and authenticity of connected Nostr client before signing this message\n"
client_: Client

Accessors

Methods

  • Gets the Nostr public key associated with the signer.

    +

    Returns Promise<`0x${string}`>

    A promise that resolves to a string representing the Nostr public key.

    +
  • Gets the internal address, which is the EVM account in this case.

    +

    Returns Promise<string>

    A promise that resolves to a string representing the internal address.

    +
  • Register a listener to be called when this signer is replaced.

    +

    Parameters

    • _: (() => void)
        • (): void
        • Returns void

    Returns (() => void)

    A function for unregister

    +
      • (): void
      • Returns void

  • Gets the identity for verifying signature, usually it's address

    +

    Returns Promise<string>

    A promise that resolves to a string representing the identity

    +
  • Gets the recommended address for the signer as a string.

    +

    Parameters

    • Optionalpreference: unknown

      Optional preference parameter.

      +

    Returns Promise<string>

    A promise that resolves to the recommended address as a string.

    +
  • Gets an array of addresses associated with the signer as strings.

    +

    Returns Promise<string[]>

    A promise that resolves to an array of addresses as strings.

    +
  • Verify a signature.

    +

    Parameters

    • message: BytesLike

      The original message.

      +
    • signature: string | Signature

      The signature to verify.

      +

    Returns Promise<boolean>

    A promise that resolves to the verification result.

    +

    Will throw an error if not implemented.

    +
  • Sends a transaction after signing it.

    +

    Parameters

    • tx: TransactionLike

      The transaction to send, represented as a TransactionLike object.

      +

    Returns Promise<`0x${string}`>

    A promise that resolves to the transaction hash as a Hex string.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.SignerOpenLink.html b/docs/classes/_ckb_ccc_core.index.ccc.SignerOpenLink.html new file mode 100644 index 00000000..6840aaad --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.SignerOpenLink.html @@ -0,0 +1,291 @@ +SignerOpenLink | Documentation +

An abstract class representing a generic signer. +This class provides methods to connect, get addresses, and sign transactions.

+

Hierarchy (view full)

Constructors

Properties

client_: Client

Accessors

Methods

  • Gets the internal address associated with the signer.

    +

    Returns Promise<string>

    A promise that resolves to a string representing the internal address.

    +
  • Register a listener to be called when this signer is replaced.

    +

    Parameters

    • _: (() => void)
        • (): void
        • Returns void

    Returns (() => void)

    A function for unregister

    +
      • (): void
      • Returns void

  • Gets the identity for verifying signature, usually it's address

    +

    Returns Promise<string>

    A promise that resolves to a string representing the identity

    +
  • Gets the recommended address for the signer as a string.

    +

    Parameters

    • Optionalpreference: unknown

      Optional preference parameter.

      +

    Returns Promise<string>

    A promise that resolves to the recommended address as a string.

    +
  • Gets an array of addresses associated with the signer as strings.

    +

    Returns Promise<string[]>

    A promise that resolves to an array of addresses as strings.

    +
  • Signs a message and returns signature only. This method is not implemented and should be overridden by subclasses.

    +

    Parameters

    • _: BytesLike

      The message to sign, as a string or BytesLike object.

      +

    Returns Promise<string>

    A promise that resolves to the signature as a string.

    +

    Will throw an error if not implemented.

    +
  • Verify a signature.

    +

    Parameters

    • message: BytesLike

      The original message.

      +
    • signature: string | Signature

      The signature to verify.

      +

    Returns Promise<boolean>

    A promise that resolves to the verification result.

    +

    Will throw an error if not implemented.

    +
  • Sends a transaction after signing it.

    +

    Parameters

    • tx: TransactionLike

      The transaction to send, represented as a TransactionLike object.

      +

    Returns Promise<`0x${string}`>

    A promise that resolves to the transaction hash as a Hex string.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.Transaction.html b/docs/classes/_ckb_ccc_core.index.ccc.Transaction.html new file mode 100644 index 00000000..19b1c2fa --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.Transaction.html @@ -0,0 +1,403 @@ +Transaction | Documentation +

Constructors

  • Creates an instance of Transaction.

    +

    Parameters

    • version: bigint

      The version of the transaction.

      +
    • cellDeps: ccc.CellDep[]

      The cell dependencies of the transaction.

      +
    • headerDeps: `0x${string}`[]

      The header dependencies of the transaction.

      +
    • inputs: ccc.CellInput[]

      The inputs of the transaction.

      +
    • outputs: ccc.CellOutput[]

      The outputs of the transaction.

      +
    • outputsData: `0x${string}`[]

      The data associated with the outputs.

      +
    • witnesses: `0x${string}`[]

      The witnesses of the transaction.

      +

    Returns ccc.Transaction

Properties

version: bigint

The version of the transaction.

+
cellDeps: ccc.CellDep[]

The cell dependencies of the transaction.

+
headerDeps: `0x${string}`[]

The header dependencies of the transaction.

+
inputs: ccc.CellInput[]

The inputs of the transaction.

+
outputs: ccc.CellOutput[]

The outputs of the transaction.

+
outputsData: `0x${string}`[]

The data associated with the outputs.

+
witnesses: `0x${string}`[]

The witnesses of the transaction.

+

Methods

  • Copy every properties from another transaction.

    +

    Parameters

    Returns void

    this.copy(Transaction.default());
    +
    + +
  • Creates a Transaction instance from a TransactionLike object.

    +

    Parameters

    • tx: TransactionLike

      A TransactionLike object or an instance of Transaction.

      +

    Returns ccc.Transaction

    A Transaction instance.

    +
    const transaction = Transaction.from({
    version: 0,
    cellDeps: [],
    headerDeps: [],
    inputs: [],
    outputs: [],
    outputsData: [],
    witnesses: []
    }); +
    + +
  • Creates a Transaction instance from a Lumos skeleton.

    +

    Parameters

    • skeleton: TransactionSkeletonType

      The Lumos transaction skeleton.

      +

    Returns ccc.Transaction

    A Transaction instance.

    +

    Will throw an error if an input's outPoint is missing.

    +
    const transaction = Transaction.fromLumosSkeleton(skeleton);
    +
    + +
  • Converts the raw transaction data to bytes.

    +

    Returns Uint8Array

    A Uint8Array containing the raw transaction bytes.

    +
    const rawTxBytes = transaction.rawToBytes();
    +
    + +
  • Converts the whole transaction data to bytes.

    +

    Returns Uint8Array

    A Uint8Array containing the full transaction bytes.

    +
    const txBytes = transaction.toBytes();
    +
    + +
  • Calculates the hash of the transaction.

    +

    Returns `0x${string}`

    The hash of the transaction.

    +
    const txHash = transaction.hash();
    +
    + +
  • Hashes a witness and updates the hasher.

    +

    Parameters

    • witness: BytesLike

      The witness to hash.

      +
    • hasher: Hasher

      The hasher instance to update.

      +

    Returns void

    Transaction.hashWitnessToHasher("0x...", hasher);
    +
    + +
  • Computes the signing hash information for a given script.

    +

    Parameters

    • scriptLike: ScriptLike

      The script associated with the transaction, represented as a ScriptLike object.

      +
    • client: Client

      The client for complete extra infos in the transaction.

      +
    • hasher: Hasher = ...

    Returns Promise<undefined | {
        message: `0x${string}`;
        position: number;
    }>

    A promise that resolves to an object containing the signing message and the witness position, +or undefined if no matching input is found.

    +
    const signHashInfo = await tx.getSignHashInfo(scriptLike, client);
    if (signHashInfo) {
    console.log(signHashInfo.message); // Outputs the signing message
    console.log(signHashInfo.position); // Outputs the witness position
    } +
    + +
  • Find the first occurrence of a input with the specified lock id

    +

    Parameters

    • scriptIdLike: Pick<ScriptLike, "codeHash" | "hashType">

      The script associated with the transaction, represented as a ScriptLike object without args.

      +
    • client: Client

      The client for complete extra infos in the transaction.

      +

    Returns Promise<undefined | number>

    A promise that resolves to the found index

    +
    const index = await tx.findInputIndexByLockId(scriptIdLike, client);
    +
    + +
  • Find the first occurrence of a input with the specified lock

    +

    Parameters

    • scriptLike: ScriptLike

      The script associated with the transaction, represented as a ScriptLike object.

      +
    • client: Client

      The client for complete extra infos in the transaction.

      +

    Returns Promise<undefined | number>

    A promise that resolves to the prepared transaction

    +
    const index = await tx.findInputIndexByLock(scriptLike, client);
    +
    + +
  • Find the last occurrence of a input with the specified lock

    +

    Parameters

    • scriptLike: ScriptLike

      The script associated with the transaction, represented as a ScriptLike object.

      +
    • client: Client

      The client for complete extra infos in the transaction.

      +

    Returns Promise<undefined | number>

    A promise that resolves to the prepared transaction

    +
    const index = await tx.findLastInputIndexByLock(scriptLike, client);
    +
    + +
  • Add cell deps if they are not existed

    +

    Parameters

    Returns void

    tx.addCellDeps(cellDep);
    +
    + +
  • Add cell deps at the start if they are not existed

    +

    Parameters

    Returns void

    tx.addCellDepsAtBegin(cellDep);
    +
    + +
  • Add cell dep from infos if they are not existed

    +

    Parameters

    Returns Promise<void>

    tx.addCellDepInfos(client, cellDepInfos);
    +
    + +
  • Add cell deps from known script

    +

    Parameters

    • client: Client

      The client for searching known script and cell deps

      +
    • Rest...scripts: (KnownScript | KnownScript[])[]

      The known scripts to add

      +

    Returns Promise<void>

    tx.addCellDepsOfKnownScripts(client, KnownScript.OmniLock);
    +
    + +
  • Set output data at index.

    +

    Parameters

    • index: number

      The index of the output data.

      +
    • witness: BytesLike

      The data to set.

      +

    Returns void

    await tx.setOutputDataAt(0, "0x00");
    +
    + +
  • Add output

    +

    Parameters

    Returns void

    await tx.addOutput(cellOutput, "0xabcd");
    +
    + +
  • Get witness at index as WitnessArgs

    +

    Parameters

    • index: number

      The index of the witness.

      +

    Returns undefined | ccc.WitnessArgs

    The witness parsed as WitnessArgs.

    +
    const witnessArgs = await tx.getWitnessArgsAt(0);
    +
    + +
  • Set witness at index by WitnessArgs

    +

    Parameters

    • index: number

      The index of the witness.

      +
    • witness: ccc.WitnessArgs

      The WitnessArgs to set.

      +

    Returns void

    await tx.setWitnessArgsAt(0, witnessArgs);
    +
    + +
  • Prepare dummy witness for sighash all method

    +

    Parameters

    • scriptLike: ScriptLike

      The script associated with the transaction, represented as a ScriptLike object.

      +
    • lockLen: number

      The length of dummy lock bytes.

      +
    • client: Client

      The client for complete extra infos in the transaction.

      +

    Returns Promise<void>

    A promise that resolves to the prepared transaction

    +
    await tx.prepareSighashAllWitness(scriptLike, 85, client);
    +
    + +
  • Type Parameters

    • T

    Parameters

    Returns Promise<{
        addedCount: number;
        accumulated?: T;
    }>

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_core.index.ccc.WitnessArgs.html b/docs/classes/_ckb_ccc_core.index.ccc.WitnessArgs.html new file mode 100644 index 00000000..79f811af --- /dev/null +++ b/docs/classes/_ckb_ccc_core.index.ccc.WitnessArgs.html @@ -0,0 +1,247 @@ +WitnessArgs | Documentation +

Constructors

Properties

Methods

Constructors

  • Creates an instance of WitnessArgs.

    +

    Parameters

    • Optionallock: `0x${string}`

      The optional lock field of the witness.

      +
    • OptionalinputType: `0x${string}`

      The optional input type field of the witness.

      +
    • OptionaloutputType: `0x${string}`

      The optional output type field of the witness.

      +

    Returns ccc.WitnessArgs

Properties

lock?: `0x${string}`

The optional lock field of the witness.

+
inputType?: `0x${string}`

The optional input type field of the witness.

+
outputType?: `0x${string}`

The optional output type field of the witness.

+

Methods

  • Creates a WitnessArgs instance from a WitnessArgsLike object.

    +

    Parameters

    • witnessArgs: WitnessArgsLike

      A WitnessArgsLike object or an instance of WitnessArgs.

      +

    Returns ccc.WitnessArgs

    A WitnessArgs instance.

    +
    const witnessArgs = WitnessArgs.from({
    lock: "0x...",
    inputType: "0x...",
    outputType: "0x..."
    }); +
    + +
  • Converts the WitnessArgs instance to bytes.

    +

    Returns Uint8Array

    A Uint8Array containing the witness arguments bytes.

    +
    const witnessArgsBytes = witnessArgs.toBytes();
    +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_eip6963.index.Eip6963.Signer.html b/docs/classes/_ckb_ccc_eip6963.index.Eip6963.Signer.html new file mode 100644 index 00000000..146b1f5c --- /dev/null +++ b/docs/classes/_ckb_ccc_eip6963.index.Eip6963.Signer.html @@ -0,0 +1,236 @@ +Signer | Documentation +

Class representing an EVM signer that extends SignerEvm

+

Hierarchy (view full)

Constructors

Properties

provider: Eip1193A.Provider

The provider.

+

Methods

  • Gets the EVM account address.

    +

    Returns Promise<`0x${string}`>

    A promise that resolves to the EVM account address.

    +
  • Connects to the provider by requesting accounts.

    +

    Returns Promise<void>

    A promise that resolves when the connection is established.

    +
  • Register a listener to be called when this signer is replaced.

    +

    Parameters

    • listener: (() => void)
        • (): void
        • Returns void

    Returns (() => void)

    A function for unregister

    +
      • (): void
      • Returns void

  • Checks if the provider is connected.

    +

    Returns Promise<boolean>

    A promise that resolves to true if connected, false otherwise.

    +
  • Signs a raw message with the personal account.

    +

    Parameters

    Returns Promise<`0x${string}`>

    A promise that resolves to the signed message.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_eip6963.index.Eip6963.SignerFactory.html b/docs/classes/_ckb_ccc_eip6963.index.Eip6963.SignerFactory.html new file mode 100644 index 00000000..13b3a8a6 --- /dev/null +++ b/docs/classes/_ckb_ccc_eip6963.index.Eip6963.SignerFactory.html @@ -0,0 +1,221 @@ +SignerFactory | Documentation +

Class representing a factory for creating and managing Signer instances.

+

Constructors

Methods

Constructors

Methods

  • Subscribes to new signers and triggers a callback when a new signer is available.

    +

    Parameters

    Returns (() => void)

    A function to unsubscribe from the signer events.

    +
      • (): void
      • Returns void

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_joy_id.advanced.JoyIdA.ConnectionsRepoLocalStorage.html b/docs/classes/_ckb_ccc_joy_id.advanced.JoyIdA.ConnectionsRepoLocalStorage.html new file mode 100644 index 00000000..ec052844 --- /dev/null +++ b/docs/classes/_ckb_ccc_joy_id.advanced.JoyIdA.ConnectionsRepoLocalStorage.html @@ -0,0 +1,228 @@ +ConnectionsRepoLocalStorage | Documentation +

Class representing a local storage-based repository for managing connections.

+

Implements

Constructors

Methods

Constructors

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_joy_id.index.JoyId.BitcoinSigner.html b/docs/classes/_ckb_ccc_joy_id.index.JoyId.BitcoinSigner.html new file mode 100644 index 00000000..d1e99638 --- /dev/null +++ b/docs/classes/_ckb_ccc_joy_id.index.JoyId.BitcoinSigner.html @@ -0,0 +1,247 @@ +BitcoinSigner | Documentation +

Class representing a Bitcoin signer that extends SignerBtc

+

Hierarchy (view full)

Constructors

  • Creates an instance of BitcoinSigner.

    +

    Parameters

    • client: Client

      The client instance.

      +
    • name: string

      The name of the signer.

      +
    • icon: string

      The icon URL of the signer.

      +
    • preferredNetworks: NetworkPreference[] = ...
    • addressType: "auto" | "p2wpkh" | "p2tr" = "auto"

      The address type.

      +
    • Optional_appUri: string

      The application URI.

      +
    • connectionsRepo: ConnectionsRepo = ...

      The connections repository.

      +

    Returns JoyId.BitcoinSigner

Properties

name: string

The name of the signer.

+
icon: string

The icon URL of the signer.

+
addressType: "auto" | "p2wpkh" | "p2tr" = "auto"

The address type.

+

Methods

  • Disconnects to the signer.

    +

    Returns Promise<void>

    A promise that resolves when the signer is disconnected.

    +
  • Gets the Bitcoin account address.

    +

    Returns Promise<string>

    A promise that resolves to the Bitcoin account address.

    +
  • Gets the Bitcoin public key.

    +

    Returns Promise<`0x${string}`>

    A promise that resolves to the Bitcoin public key.

    +
  • Connects to the provider by requesting authentication.

    +

    Returns Promise<void>

    A promise that resolves when the connection is established.

    +
  • Checks if the signer is connected.

    +

    Returns Promise<boolean>

    A promise that resolves to true if connected, false otherwise.

    +
  • Signs a raw message with the Bitcoin account.

    +

    Parameters

    Returns Promise<string>

    A promise that resolves to the signed message.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_joy_id.index.JoyId.CkbSigner.html b/docs/classes/_ckb_ccc_joy_id.index.JoyId.CkbSigner.html new file mode 100644 index 00000000..46d6fb41 --- /dev/null +++ b/docs/classes/_ckb_ccc_joy_id.index.JoyId.CkbSigner.html @@ -0,0 +1,261 @@ +CkbSigner | Documentation +

Class representing a CKB signer that extends Signer

+

Hierarchy (view full)

Constructors

  • Creates an instance of CkbSigner.

    +

    Parameters

    • client: Client

      The client instance.

      +
    • name: string

      The name of the signer.

      +
    • icon: string

      The icon URL of the signer.

      +
    • Optional_appUri: string

      The application URI.

      +
    • Optional_aggregatorUri: string

      The aggregator URI.

      +
    • connectionsRepo: ConnectionsRepo = ...

      The connections repository.

      +

    Returns CkbSigner

Accessors

Methods

  • Connects to the provider by requesting authentication.

    +

    Returns Promise<void>

    A promise that resolves when the connection is established.

    +
  • Disconnects to the signer.

    +

    Returns Promise<void>

    A promise that resolves when the signer is disconnected.

    +
  • Checks if the signer is connected.

    +

    Returns Promise<boolean>

    A promise that resolves to true if connected, false otherwise.

    +
  • Gets the internal address.

    +

    Returns Promise<string>

    A promise that resolves to the internal address.

    +
  • Gets the identity of the signer.

    +

    Returns Promise<string>

    A promise that resolves to the identity.

    +
  • Gets the address object.

    +

    Returns Promise<Address>

    A promise that resolves to the address object.

    +
  • Signs a raw message with the account.

    +

    Parameters

    Returns Promise<string>

    A promise that resolves to the signed message.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_joy_id.index.JoyId.EvmSigner.html b/docs/classes/_ckb_ccc_joy_id.index.JoyId.EvmSigner.html new file mode 100644 index 00000000..798b497f --- /dev/null +++ b/docs/classes/_ckb_ccc_joy_id.index.JoyId.EvmSigner.html @@ -0,0 +1,237 @@ +EvmSigner | Documentation +

Class representing an EVM signer that extends SignerEvm

+

Hierarchy (view full)

Constructors

  • Creates an instance of EvmSigner.

    +

    Parameters

    • client: Client

      The client instance.

      +
    • name: string

      The name of the signer.

      +
    • icon: string

      The icon URL of the signer.

      +
    • Optional_appUri: string

      The application URI.

      +
    • connectionsRepo: ConnectionsRepo = ...

      The connections repository.

      +

    Returns EvmSigner

Methods

  • Gets the EVM account address.

    +

    Returns Promise<`0x${string}`>

    A promise that resolves to the EVM account address.

    +
  • Connects to the provider by requesting authentication.

    +

    Returns Promise<void>

    A promise that resolves when the connection is established.

    +
  • Disconnects to the signer.

    +

    Returns Promise<void>

    A promise that resolves when the signer is disconnected.

    +
  • Checks if the signer is connected.

    +

    Returns Promise<boolean>

    A promise that resolves to true if connected, false otherwise.

    +
  • Signs a raw message with the EVM account.

    +

    Parameters

    Returns Promise<`0x${string}`>

    A promise that resolves to the signed message.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_joy_id.index.JoyId.NostrSigner.html b/docs/classes/_ckb_ccc_joy_id.index.JoyId.NostrSigner.html new file mode 100644 index 00000000..9e62f424 --- /dev/null +++ b/docs/classes/_ckb_ccc_joy_id.index.JoyId.NostrSigner.html @@ -0,0 +1,236 @@ +NostrSigner | Documentation +

Class representing a Nostr signer that extends SignerNostr

+

Hierarchy (view full)

Constructors

  • Creates an instance of NostrSigner.

    +

    Parameters

    • client: Client

      The client instance.

      +
    • name: string

      The name of the signer.

      +
    • icon: string

      The icon URL of the signer.

      +
    • Optional_appUri: string

      The application URI.

      +
    • connectionsRepo: ConnectionsRepo = ...

      The connections repository.

      +

    Returns NostrSigner

Methods

  • Connects to the provider by requesting authentication.

    +

    Returns Promise<void>

    A promise that resolves when the connection is established.

    +
  • Disconnects to the signer.

    +

    Returns Promise<void>

    A promise that resolves when the signer is disconnected.

    +
  • Checks if the signer is connected.

    +

    Returns Promise<boolean>

    A promise that resolves to true if connected, false otherwise.

    +
  • Gets the Nostr public key associated with the signer.

    +

    Returns Promise<`0x${string}`>

    A promise that resolves to a string representing the Nostr public key.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_nip07.index.Nip07.Signer.html b/docs/classes/_ckb_ccc_nip07.index.Nip07.Signer.html new file mode 100644 index 00000000..196cc3d5 --- /dev/null +++ b/docs/classes/_ckb_ccc_nip07.index.Nip07.Signer.html @@ -0,0 +1,229 @@ +Signer | Documentation +

An abstract class representing a generic signer. +This class provides methods to connect, get addresses, and sign transactions.

+

Hierarchy (view full)

Constructors

Properties

provider: Nip07A.Provider

Methods

  • Gets the Nostr public key associated with the signer.

    +

    Returns Promise<`0x${string}`>

    A promise that resolves to a string representing the Nostr public key.

    +
  • Connects to the signer.

    +

    Returns Promise<void>

    A promise that resolves when the connection is complete.

    +
  • Check if the signer is connected.

    +

    Returns Promise<boolean>

    A promise that resolves the connection status.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_okx.index.Okx.BitcoinSigner.html b/docs/classes/_ckb_ccc_okx.index.Okx.BitcoinSigner.html new file mode 100644 index 00000000..e0137a2a --- /dev/null +++ b/docs/classes/_ckb_ccc_okx.index.Okx.BitcoinSigner.html @@ -0,0 +1,241 @@ +BitcoinSigner | Documentation +

Class representing a Bitcoin signer that extends SignerBtc

+

Hierarchy (view full)

Constructors

Properties

providers: Record<string, BitcoinProvider>

The providers instance.

+

Accessors

Methods

  • Gets the Bitcoin account address.

    +

    Returns Promise<string>

    A promise that resolves to the Bitcoin account address.

    +
  • Gets the Bitcoin public key.

    +

    Returns Promise<`0x${string}`>

    A promise that resolves to the Bitcoin public key.

    +
  • Connects to the provider by requesting accounts.

    +

    Returns Promise<void>

    A promise that resolves when the connection is established.

    +
  • Register a listener to be called when this signer is replaced.

    +

    Parameters

    • listener: (() => void)
        • (): void
        • Returns void

    Returns (() => void)

    A function for unregister

    +
      • (): void
      • Returns void

  • Checks if the signer is connected.

    +

    Returns Promise<boolean>

    A promise that resolves to true if connected, false otherwise.

    +
  • Signs a raw message with the Bitcoin account.

    +

    Parameters

    Returns Promise<string>

    A promise that resolves to the signed message.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_uni_sat.index.UniSat.Signer.html b/docs/classes/_ckb_ccc_uni_sat.index.UniSat.Signer.html new file mode 100644 index 00000000..6c55db6b --- /dev/null +++ b/docs/classes/_ckb_ccc_uni_sat.index.UniSat.Signer.html @@ -0,0 +1,242 @@ +Signer | Documentation +

Class representing a Bitcoin signer that extends SignerBtc

+

Hierarchy (view full)

Constructors

Properties

provider: UniSatA.Provider

The provider instance.

+

Methods

  • Returns Promise<undefined | string>

  • Ensure the BTC network is the same as CKB network.

    +

    Returns Promise<void>

  • Gets the Bitcoin account address.

    +

    Returns Promise<string>

    A promise that resolves to the Bitcoin account address.

    +
  • Gets the Bitcoin public key.

    +

    Returns Promise<`0x${string}`>

    A promise that resolves to the Bitcoin public key.

    +
  • Connects to the provider by requesting accounts.

    +

    Returns Promise<void>

    A promise that resolves when the connection is established.

    +
  • Register a listener to be called when this signer is replaced.

    +

    Parameters

    • listener: (() => void)
        • (): void
        • Returns void

    Returns (() => void)

    A function for unregister

    +
      • (): void
      • Returns void

  • Checks if the signer is connected.

    +

    Returns Promise<boolean>

    A promise that resolves to true if connected, false otherwise.

    +
  • Signs a raw message with the Bitcoin account.

    +

    Parameters

    Returns Promise<string>

    A promise that resolves to the signed message.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_utxo_global.index.UtxoGlobal.SignerBtc.html b/docs/classes/_ckb_ccc_utxo_global.index.UtxoGlobal.SignerBtc.html new file mode 100644 index 00000000..fc410eab --- /dev/null +++ b/docs/classes/_ckb_ccc_utxo_global.index.UtxoGlobal.SignerBtc.html @@ -0,0 +1,234 @@ +SignerBtc | Documentation +

An abstract class extending the Signer class for Bitcoin-like signing operations. +This class provides methods to get Bitcoin account, public key, and internal address, +as well as signing transactions.

+

Hierarchy (view full)

Constructors

Properties

Methods

  • Gets the Bitcoin account associated with the signer.

    +

    Returns Promise<string>

    A promise that resolves to a string representing the Bitcoin account.

    +
  • Gets the Bitcoin public key associated with the signer.

    +

    Returns Promise<`0x${string}`>

    A promise that resolves to a HexLike value representing the Bitcoin public key.

    +
  • Connects to the signer.

    +

    Returns Promise<void>

    A promise that resolves when the connection is complete.

    +
  • Check if the signer is connected.

    +

    Returns Promise<boolean>

    A promise that resolves the connection status.

    +
  • Signs a message and returns signature only. This method is not implemented and should be overridden by subclasses.

    +

    Parameters

    Returns Promise<string>

    A promise that resolves to the signature as a string.

    +

    Will throw an error if not implemented.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/classes/_ckb_ccc_utxo_global.index.UtxoGlobal.SignerCkb.html b/docs/classes/_ckb_ccc_utxo_global.index.UtxoGlobal.SignerCkb.html new file mode 100644 index 00000000..394bfe54 --- /dev/null +++ b/docs/classes/_ckb_ccc_utxo_global.index.UtxoGlobal.SignerCkb.html @@ -0,0 +1,251 @@ +SignerCkb | Documentation +

An abstract class representing a generic signer. +This class provides methods to connect, get addresses, and sign transactions.

+

Hierarchy (view full)

Constructors

Properties

Accessors

Methods

  • Gets the internal address associated with the signer.

    +

    Returns Promise<string>

    A promise that resolves to a string representing the internal address.

    +
  • Gets the identity for verifying signature, usually it's address

    +

    Returns Promise<string>

    A promise that resolves to a string representing the identity

    +
  • Returns Promise<string>

  • Returns Promise<`0x${string}`>

  • Connects to the signer.

    +

    Returns Promise<void>

    A promise that resolves when the connection is complete.

    +
  • Check if the signer is connected.

    +

    Returns Promise<boolean>

    A promise that resolves the connection status.

    +
  • Signs a message and returns signature only. This method is not implemented and should be overridden by subclasses.

    +

    Parameters

    Returns Promise<string>

    A promise that resolves to the signature as a string.

    +

    Will throw an error if not implemented.

    +
  • Signs a transaction without preparing information for it. This method is not implemented and should be overridden by subclasses.

    +

    Parameters

    Returns Promise<ccc.Transaction>

    A promise that resolves to the signed Transaction object.

    +

    Will throw an error if not implemented.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/enums/_ckb_ccc_core.advanced.cccA.AddressFormat.html b/docs/enums/_ckb_ccc_core.advanced.cccA.AddressFormat.html new file mode 100644 index 00000000..1a1323a2 --- /dev/null +++ b/docs/enums/_ckb_ccc_core.advanced.cccA.AddressFormat.html @@ -0,0 +1,221 @@ +AddressFormat | Documentation +

Enumeration Members

Enumeration Members

Full: 0

full version identifies the hashType

+
Short: 1

short version for locks with Known codeHash, deprecated

+
FullData: 2

full version with hashType = "Data", deprecated

+
FullType: 4

full version with hashType = "Type", deprecated

+

Generated using TypeDoc
+ + +

diff --git a/docs/enums/_ckb_ccc_core.index.ccc.KnownScript.html b/docs/enums/_ckb_ccc_core.index.ccc.KnownScript.html new file mode 100644 index 00000000..5315a4a7 --- /dev/null +++ b/docs/enums/_ckb_ccc_core.index.ccc.KnownScript.html @@ -0,0 +1,226 @@ +KnownScript | Documentation +

Enumeration Members

Secp256k1Blake160: "Secp256k1Blake160"
Secp256k1Multisig: "Secp256k1Multisig"
AnyoneCanPay: "AnyoneCanPay"
TypeId: "TypeId"
XUdt: "XUdt"
JoyId: "JoyId"
COTA: "COTA"
PWLock: "PWLock"
OmniLock: "OmniLock"
NostrLock: "NostrLock"
UniqueType: "UniqueType"
SingleUseLock: "SingleUseLock"
OutputTypeProxyLock: "OutputTypeProxyLock"

Generated using TypeDoc
+ + +

diff --git a/docs/enums/_ckb_ccc_core.index.ccc.SignerSignType.html b/docs/enums/_ckb_ccc_core.index.ccc.SignerSignType.html new file mode 100644 index 00000000..5a065e57 --- /dev/null +++ b/docs/enums/_ckb_ccc_core.index.ccc.SignerSignType.html @@ -0,0 +1,219 @@ +SignerSignType | Documentation +

Enumeration Members

Unknown: "Unknown"
BtcEcdsa: "BtcEcdsa"
EvmPersonal: "EvmPersonal"
JoyId: "JoyId"
NostrEvent: "NostrEvent"
CkbSecp256k1: "CkbSecp256k1"

Generated using TypeDoc
+ + +

diff --git a/docs/enums/_ckb_ccc_core.index.ccc.SignerType.html b/docs/enums/_ckb_ccc_core.index.ccc.SignerType.html new file mode 100644 index 00000000..59ef1d44 --- /dev/null +++ b/docs/enums/_ckb_ccc_core.index.ccc.SignerType.html @@ -0,0 +1,218 @@ +SignerType | Documentation +

An enumeration of signer display types in wallet.

+

Enumeration Members

Enumeration Members

EVM: "EVM"
BTC: "BTC"
CKB: "CKB"
Nostr: "Nostr"

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_connector_react.index.ccc.Connector.html b/docs/functions/_ckb_ccc_connector_react.index.ccc.Connector.html new file mode 100644 index 00000000..34a24f35 --- /dev/null +++ b/docs/functions/_ckb_ccc_connector_react.index.ccc.Connector.html @@ -0,0 +1,213 @@ +Connector | Documentation +
  • Parameters

    • props: Omit<HTMLAttributes<WebComponentConnector>,
          | "onWillUpdate"
          | "onClose"
          | "willUpdate"
          | "name"
          | "icon"
          | "signerFilter"
          | "preferredNetworks"
          | "client"
          | "requestUpdate"
          | "disconnect"
          | "setClient"
          | "wallet"
          | "signer"
          | "connectedCallback"
          | "refreshSigner"
          | "updateSigner"
          | "render"
          | "updated"
          | "renderOptions"
          | "disconnectedCallback"
          | "renderRoot"
          | "isUpdatePending"
          | "hasUpdated"
          | "addController"
          | "removeController"
          | "attributeChangedCallback"
          | "updateComplete"> & EventListeners<{
          onWillUpdate: string;
          onClose: string;
      }> & Partial<Omit<WebComponentConnector, keyof HTMLElement>> & RefAttributes<WebComponentConnector>

    Returns ReactNode

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_connector_react.index.ccc.Provider.html b/docs/functions/_ckb_ccc_connector_react.index.ccc.Provider.html new file mode 100644 index 00000000..a3a3e09c --- /dev/null +++ b/docs/functions/_ckb_ccc_connector_react.index.ccc.Provider.html @@ -0,0 +1,213 @@ +Provider | Documentation +
  • Parameters

    • __namedParameters: {
          children: ReactNode;
          connectorProps?: HTMLAttributes<{}>;
          name?: string;
          icon?: string;
          signerFilter?: ((signerInfo: SignerInfo, wallet: Wallet) => Promise<boolean>);
          defaultClient?: Client;
          preferredNetworks?: NetworkPreference[];
      }
      • children: ReactNode
      • OptionalconnectorProps?: HTMLAttributes<{}>
      • Optionalname?: string
      • Optionalicon?: string
      • OptionalsignerFilter?: ((signerInfo: SignerInfo, wallet: Wallet) => Promise<boolean>)
          • (signerInfo, wallet): Promise<boolean>
          • Parameters

            Returns Promise<boolean>

      • OptionaldefaultClient?: Client
      • OptionalpreferredNetworks?: NetworkPreference[]

    Returns Element

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_connector_react.index.ccc.useCcc.html b/docs/functions/_ckb_ccc_connector_react.index.ccc.useCcc.html new file mode 100644 index 00000000..452b03ef --- /dev/null +++ b/docs/functions/_ckb_ccc_connector_react.index.ccc.useCcc.html @@ -0,0 +1,213 @@ +useCcc | Documentation +
  • Returns {
        open: (() => unknown);
        disconnect: (() => unknown);
        setClient: ((client: Client) => unknown);
        client: Client;
        wallet?: Wallet;
        signerInfo?: SignerInfo;
    }

    • open: (() => unknown)
        • (): unknown
        • Returns unknown

    • disconnect: (() => unknown)
        • (): unknown
        • Returns unknown

    • setClient: ((client: Client) => unknown)
        • (client): unknown
        • Parameters

          Returns unknown

    • client: Client
    • Optionalwallet?: Wallet
    • OptionalsignerInfo?: SignerInfo

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_connector_react.index.ccc.useSigner.html b/docs/functions/_ckb_ccc_connector_react.index.ccc.useSigner.html new file mode 100644 index 00000000..b3327383 --- /dev/null +++ b/docs/functions/_ckb_ccc_connector_react.index.ccc.useSigner.html @@ -0,0 +1,213 @@ +useSigner | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.addressFromPayload.html b/docs/functions/_ckb_ccc_core.advanced.cccA.addressFromPayload.html new file mode 100644 index 00000000..09b8c64d --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.addressFromPayload.html @@ -0,0 +1,223 @@ +addressFromPayload | Documentation +
  • Converts an address payload into an address-like object.

    +

    Parameters

    • prefix: string

      The address prefix.

      +
    • format: AddressFormat

      The format of the address, as defined by the AddressFormat enum.

      +
    • payload: number[]

      The payload array containing the address data.

      +
    • client: Client

      The client instance used to fetch known scripts.

      +

    Returns Promise<AddressLike>

    A promise that resolves to an AddressLike object.

    +

    Will throw an error if the payload length is insufficient or if the script type is unknown.

    +
    const address = await addressFromPayload("ckt", AddressFormat.Full, [/* payload data */], client);
    console.log(address.script); // Outputs the script object
    console.log(address.prefix); // Outputs the address prefix +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.addressPayloadFromString.html b/docs/functions/_ckb_ccc_core.advanced.cccA.addressPayloadFromString.html new file mode 100644 index 00000000..6bc84d3e --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.addressPayloadFromString.html @@ -0,0 +1,220 @@ +addressPayloadFromString | Documentation +
  • Parses an address string into an address information object.

    +

    Parameters

    • address: string

      The address string to parse.

      +

    Returns {
        prefix: string;
        format: AddressFormat;
        payload: number[];
    }

    An object containing the address prefix, address format, and payload array.

    +

    Will throw an error if the address format is unknown.

    +
    const addressInfo = addressPayloadFromString("ckt1112139193129");
    console.log(addressInfo.prefix); // Outputs the address prefix
    console.log(addressInfo.format); // Outputs the address format
    console.log(addressInfo.payload); // Outputs the payload array +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.clientSearchKeyRangeFrom.html b/docs/functions/_ckb_ccc_core.advanced.cccA.clientSearchKeyRangeFrom.html new file mode 100644 index 00000000..97f8f099 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.clientSearchKeyRangeFrom.html @@ -0,0 +1,213 @@ +clientSearchKeyRangeFrom | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.filterCell.html b/docs/functions/_ckb_ccc_core.advanced.cccA.filterCell.html new file mode 100644 index 00000000..484d27fa --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.filterCell.html @@ -0,0 +1,213 @@ +filterCell | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.filterData.html b/docs/functions/_ckb_ccc_core.advanced.cccA.filterData.html new file mode 100644 index 00000000..640cb0d0 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.filterData.html @@ -0,0 +1,213 @@ +filterData | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.filterNumByRange.html b/docs/functions/_ckb_ccc_core.advanced.cccA.filterNumByRange.html new file mode 100644 index 00000000..65317bbd --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.filterNumByRange.html @@ -0,0 +1,213 @@ +filterNumByRange | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.filterScript.html b/docs/functions/_ckb_ccc_core.advanced.cccA.filterScript.html new file mode 100644 index 00000000..ffd02ff4 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.filterScript.html @@ -0,0 +1,213 @@ +filterScript | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.filterScriptByLenRange.html b/docs/functions/_ckb_ccc_core.advanced.cccA.filterScriptByLenRange.html new file mode 100644 index 00000000..cdeb28e8 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.filterScriptByLenRange.html @@ -0,0 +1,213 @@ +filterScriptByLenRange | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBlock.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBlock.html new file mode 100644 index 00000000..4ec7006f --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBlock.html @@ -0,0 +1,213 @@ +SerializeBlock | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBlockV1.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBlockV1.html new file mode 100644 index 00000000..d3828cbd --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBlockV1.html @@ -0,0 +1,213 @@ +SerializeBlockV1 | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeByte32.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeByte32.html new file mode 100644 index 00000000..94ab077a --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeByte32.html @@ -0,0 +1,213 @@ +SerializeByte32 | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeByte32Vec.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeByte32Vec.html new file mode 100644 index 00000000..fff2ac7b --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeByte32Vec.html @@ -0,0 +1,213 @@ +SerializeByte32Vec | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBytes.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBytes.html new file mode 100644 index 00000000..6c5f2675 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBytes.html @@ -0,0 +1,213 @@ +SerializeBytes | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBytesOpt.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBytesOpt.html new file mode 100644 index 00000000..c81e7fac --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBytesOpt.html @@ -0,0 +1,213 @@ +SerializeBytesOpt | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBytesOptVec.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBytesOptVec.html new file mode 100644 index 00000000..345198fc --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBytesOptVec.html @@ -0,0 +1,213 @@ +SerializeBytesOptVec | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBytesVec.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBytesVec.html new file mode 100644 index 00000000..3a36a808 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBytesVec.html @@ -0,0 +1,213 @@ +SerializeBytesVec | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellDep.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellDep.html new file mode 100644 index 00000000..193b7729 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellDep.html @@ -0,0 +1,213 @@ +SerializeCellDep | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellDepVec.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellDepVec.html new file mode 100644 index 00000000..209d2f63 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellDepVec.html @@ -0,0 +1,213 @@ +SerializeCellDepVec | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellInput.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellInput.html new file mode 100644 index 00000000..23f52356 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellInput.html @@ -0,0 +1,213 @@ +SerializeCellInput | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellInputVec.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellInputVec.html new file mode 100644 index 00000000..4431a500 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellInputVec.html @@ -0,0 +1,213 @@ +SerializeCellInputVec | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellOutput.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellOutput.html new file mode 100644 index 00000000..db1ceab0 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellOutput.html @@ -0,0 +1,213 @@ +SerializeCellOutput | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellOutputVec.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellOutputVec.html new file mode 100644 index 00000000..97216b7b --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellOutputVec.html @@ -0,0 +1,213 @@ +SerializeCellOutputVec | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellbaseWitness.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellbaseWitness.html new file mode 100644 index 00000000..5cb8b2e3 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellbaseWitness.html @@ -0,0 +1,213 @@ +SerializeCellbaseWitness | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeHeader.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeHeader.html new file mode 100644 index 00000000..041d5432 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeHeader.html @@ -0,0 +1,213 @@ +SerializeHeader | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeOutPoint.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeOutPoint.html new file mode 100644 index 00000000..9baa34de --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeOutPoint.html @@ -0,0 +1,213 @@ +SerializeOutPoint | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeProposalShortId.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeProposalShortId.html new file mode 100644 index 00000000..3402bcf0 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeProposalShortId.html @@ -0,0 +1,213 @@ +SerializeProposalShortId | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeProposalShortIdVec.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeProposalShortIdVec.html new file mode 100644 index 00000000..40ba5fc5 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeProposalShortIdVec.html @@ -0,0 +1,213 @@ +SerializeProposalShortIdVec | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeRawHeader.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeRawHeader.html new file mode 100644 index 00000000..2f93346e --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeRawHeader.html @@ -0,0 +1,213 @@ +SerializeRawHeader | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeRawTransaction.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeRawTransaction.html new file mode 100644 index 00000000..c8123ba2 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeRawTransaction.html @@ -0,0 +1,213 @@ +SerializeRawTransaction | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeScript.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeScript.html new file mode 100644 index 00000000..42a78daf --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeScript.html @@ -0,0 +1,213 @@ +SerializeScript | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeScriptOpt.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeScriptOpt.html new file mode 100644 index 00000000..caadbf59 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeScriptOpt.html @@ -0,0 +1,213 @@ +SerializeScriptOpt | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeTransaction.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeTransaction.html new file mode 100644 index 00000000..34d7cc45 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeTransaction.html @@ -0,0 +1,213 @@ +SerializeTransaction | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeTransactionVec.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeTransactionVec.html new file mode 100644 index 00000000..97730f4e --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeTransactionVec.html @@ -0,0 +1,213 @@ +SerializeTransactionVec | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUint128.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUint128.html new file mode 100644 index 00000000..0f3ec3eb --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUint128.html @@ -0,0 +1,213 @@ +SerializeUint128 | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUint256.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUint256.html new file mode 100644 index 00000000..e6b0731c --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUint256.html @@ -0,0 +1,213 @@ +SerializeUint256 | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUint32.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUint32.html new file mode 100644 index 00000000..a94aa971 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUint32.html @@ -0,0 +1,213 @@ +SerializeUint32 | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUint64.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUint64.html new file mode 100644 index 00000000..a5b312ce --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUint64.html @@ -0,0 +1,213 @@ +SerializeUint64 | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUncleBlock.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUncleBlock.html new file mode 100644 index 00000000..3d49ce59 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUncleBlock.html @@ -0,0 +1,213 @@ +SerializeUncleBlock | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUncleBlockVec.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUncleBlockVec.html new file mode 100644 index 00000000..5fa50e87 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUncleBlockVec.html @@ -0,0 +1,213 @@ +SerializeUncleBlockVec | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeWitnessArgs.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeWitnessArgs.html new file mode 100644 index 00000000..7a82f4f8 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeWitnessArgs.html @@ -0,0 +1,213 @@ +SerializeWitnessArgs | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.molOptional.html b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.molOptional.html new file mode 100644 index 00000000..47aa3dfb --- /dev/null +++ b/docs/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.molOptional.html @@ -0,0 +1,213 @@ +molOptional | Documentation +
  • Type Parameters

    • T

    Parameters

    • mol: {
          hasValue: (() => boolean);
          value: (() => T);
      }
      • hasValue: (() => boolean)
          • (): boolean
          • Returns boolean

      • value: (() => T)
          • (): T
          • Returns T

    Returns T | undefined

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.apply.html b/docs/functions/_ckb_ccc_core.index.ccc.apply.html new file mode 100644 index 00000000..cf9d0991 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.apply.html @@ -0,0 +1,253 @@ +apply | Documentation +

A type safe way to apply a transformer on a value if it's not empty.

+

The transformer.

+

The value to be transformed.

+

If the value is empty, it becomes undefined. Otherwise it will be transformed.

+
  • A type safe way to apply a transformer on a value if it's not empty.

    +

    Type Parameters

    • T
    • R

    Parameters

    • transformer: ((val: T) => R)

      The transformer.

      +
        • (val): R
        • Parameters

          • val: T

          Returns R

    • value: undefined

      The value to be transformed.

      +

    Returns undefined

    If the value is empty, it becomes undefined. Otherwise it will be transformed.

    +
  • A type safe way to apply a transformer on a value if it's not empty.

    +

    Type Parameters

    • T
    • R

    Parameters

    • transformer: ((val: T) => R)

      The transformer.

      +
        • (val): R
        • Parameters

          • val: T

          Returns R

    • value: null

      The value to be transformed.

      +

    Returns undefined

    If the value is empty, it becomes undefined. Otherwise it will be transformed.

    +
  • A type safe way to apply a transformer on a value if it's not empty.

    +

    Type Parameters

    • T
    • R

    Parameters

    • transformer: ((val: T) => R)

      The transformer.

      +
        • (val): R
        • Parameters

          • val: T

          Returns R

    • value: T

      The value to be transformed.

      +

    Returns R

    If the value is empty, it becomes undefined. Otherwise it will be transformed.

    +
  • A type safe way to apply a transformer on a value if it's not empty.

    +

    Type Parameters

    • T
    • R

    Parameters

    • transformer: ((val: T) => R)

      The transformer.

      +
        • (val): R
        • Parameters

          • val: T

          Returns R

    • value: undefined | T

      The value to be transformed.

      +

    Returns R | undefined

    If the value is empty, it becomes undefined. Otherwise it will be transformed.

    +
  • A type safe way to apply a transformer on a value if it's not empty.

    +

    Type Parameters

    • T
    • R

    Parameters

    • transformer: ((val: T) => R)

      The transformer.

      +
        • (val): R
        • Parameters

          • val: T

          Returns R

    • value: null | T

      The value to be transformed.

      +

    Returns R | undefined

    If the value is empty, it becomes undefined. Otherwise it will be transformed.

    +
  • A type safe way to apply a transformer on a value if it's not empty.

    +

    Type Parameters

    • T
    • R

    Parameters

    • transformer: ((val: T) => R)

      The transformer.

      +
        • (val): R
        • Parameters

          • val: T

          Returns R

    • value: undefined | null

      The value to be transformed.

      +

    Returns undefined

    If the value is empty, it becomes undefined. Otherwise it will be transformed.

    +
  • /**

    +
      +
    • A type safe way to apply a transformer on a value if it's not empty.
    • +
    • +
    • +
    • +
    +

    Type Parameters

    • T
    • R

    Parameters

    • transformer: ((val: T) => R)

      The transformer. +*

      +
        • (val): R
        • Parameters

          • val: T

          Returns R

    • value: undefined | null | T

      The value to be transformed. +*

      +

    Returns R | undefined

    If the value is empty, it becomes undefined. Otherwise it will be transformed.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.bytesConcat.html b/docs/functions/_ckb_ccc_core.index.ccc.bytesConcat.html new file mode 100644 index 00000000..6b9a7852 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.bytesConcat.html @@ -0,0 +1,219 @@ +bytesConcat | Documentation +
  • Concatenates multiple byte-like arrays into a single byte array.

    +

    Parameters

    • Rest...args: BytesLike[]

      The byte-like arrays to concatenate.

      +

    Returns ccc.Bytes

    A Uint8Array containing the concatenated bytes.

    +
    const concatenatedBytes = bytesConcat(
    new Uint8Array([1, 2]),
    new Uint8Array([3, 4]),
    "hello",
    [5, 6, 7]
    );
    console.log(concatenatedBytes); // Outputs Uint8Array [1, 2, 3, 4, /* bytes of "hello" */, 5, 6, 7] +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.bytesFrom.html b/docs/functions/_ckb_ccc_core.index.ccc.bytesFrom.html new file mode 100644 index 00000000..1a5b41b6 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.bytesFrom.html @@ -0,0 +1,221 @@ +bytesFrom | Documentation +
  • Converts various types of byte-like values to a Uint8Array.

    +

    Parameters

    • bytes: BytesLike

      The byte-like value to convert. It can be a string, Uint8Array, ArrayBuffer, or number array.

      +
    • Optionalencoding: BytesFromEncoding

      Optional encoding to use if the input is a string. Defaults to hexadecimal if not specified.

      +

    Returns ccc.Bytes

    A Uint8Array representing the input bytes.

    +

    Will throw an error if the input bytes are invalid or out of range.

    +
    const bytes1 = bytesFrom(new Uint8Array([1, 2, 3]));
    console.log(bytes1); // Outputs Uint8Array [1, 2, 3]

    const bytes2 = bytesFrom("68656c6c6f", "hex");
    console.log(bytes2); // Outputs Uint8Array [104, 101, 108, 108, 111]

    const bytes3 = bytesFrom("hello", "utf8");
    console.log(bytes3); // Outputs Uint8Array [104, 101, 108, 108, 111]

    const bytes4 = bytesFrom([1, 2, 255]);
    console.log(bytes4); // Outputs Uint8Array [1, 2, 255] +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.bytesTo.html b/docs/functions/_ckb_ccc_core.index.ccc.bytesTo.html new file mode 100644 index 00000000..a17a204f --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.bytesTo.html @@ -0,0 +1,220 @@ +bytesTo | Documentation +
  • Converts a byte-like value to a string using the specified encoding.

    +

    Parameters

    • val: BytesLike

      The byte-like value to convert.

      +
    • encoding: BytesFromEncoding

      The encoding to use for the conversion, as defined by the BytesFromEncoding type.

      +

    Returns string

    A string representing the encoded bytes.

    +
    const encodedString = bytesTo(new Uint8Array([104, 101, 108, 108, 111]), "utf8");
    console.log(encodedString); // Outputs "hello"

    const base64String = bytesTo(new Uint8Array([104, 101, 108, 108, 111]), "base64");
    console.log(base64String); // Outputs "aGVsbG8=" +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.depTypeFrom.html b/docs/functions/_ckb_ccc_core.index.ccc.depTypeFrom.html new file mode 100644 index 00000000..e9acb43c --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.depTypeFrom.html @@ -0,0 +1,220 @@ +depTypeFrom | Documentation +
  • Converts a DepTypeLike value to a DepType.

    +

    Parameters

    • val: DepTypeLike

      The value to convert, which can be a string, number, or bigint.

      +

    Returns DepType

    The corresponding DepType.

    +

    Will throw an error if the input value is not a valid dep type.

    +
    const depType = depTypeFrom(1); // Outputs "code"
    const depType = depTypeFrom("depGroup"); // Outputs "depGroup" +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.depTypeFromBytes.html b/docs/functions/_ckb_ccc_core.index.ccc.depTypeFromBytes.html new file mode 100644 index 00000000..70062944 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.depTypeFromBytes.html @@ -0,0 +1,220 @@ +depTypeFromBytes | Documentation +
  • Converts a byte-like value to a DepType.

    +

    Parameters

    • bytes: BytesLike

      The byte-like value to convert.

      +

    Returns DepType

    The corresponding DepType.

    +

    Will throw an error if the input bytes do not correspond to a valid dep type.

    +
    const depType = depTypeFromBytes(new Uint8Array([1])); // Outputs "code"
    +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.depTypeToBytes.html b/docs/functions/_ckb_ccc_core.index.ccc.depTypeToBytes.html new file mode 100644 index 00000000..a3b3a56d --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.depTypeToBytes.html @@ -0,0 +1,219 @@ +depTypeToBytes | Documentation +
  • Converts a DepTypeLike value to its corresponding byte representation.

    +

    Parameters

    Returns ccc.Bytes

    A Uint8Array containing the byte representation of the dep type.

    +
    const depTypeBytes = depTypeToBytes("code"); // Outputs Uint8Array [1]
    +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.fixedPointFrom.html b/docs/functions/_ckb_ccc_core.index.ccc.fixedPointFrom.html new file mode 100644 index 00000000..d2545b6e --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.fixedPointFrom.html @@ -0,0 +1,220 @@ +fixedPointFrom | Documentation +
  • Converts a FixedPointLike value to a FixedPoint (bigint) with fixed-point decimals.

    +

    Parameters

    • val: FixedPointLike

      The value to convert, which can be a bigint, string, or number.

      +
    • decimals: number = 8

      The number of decimal places for the fixed-point representation. Default is 8.

      +

    Returns FixedPoint

    A FixedPoint (bigint) representing the value with fixed-point decimals.

    +
    const fixedPoint = fixedPointFrom(1.23456789, 8); // Outputs 123456789n
    const fixedPointFromString = fixedPointFrom("1.23456789", 8); // Outputs 123456789n
    const fixedPointFromNumber = fixedPointFrom(1.23456789, 8); // Outputs 123456789n +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.fixedPointToString.html b/docs/functions/_ckb_ccc_core.index.ccc.fixedPointToString.html new file mode 100644 index 00000000..3030c9db --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.fixedPointToString.html @@ -0,0 +1,220 @@ +fixedPointToString | Documentation +
  • Converts a FixedPointLike value to its string representation with fixed-point decimals.

    +

    Parameters

    • val: FixedPointLike

      The value to convert, which can be a bigint, string, or number.

      +
    • decimals: number = 8

      The number of decimal places for the fixed-point representation. Default is 8.

      +

    Returns string

    A string representing the fixed-point value.

    +
    const str = fixedPointToString(123456789n, 8); // Outputs "1.23456789"
    const strFromString = fixedPointToString("123456789", 8); // Outputs "1.23456789"
    const strFromNumber = fixedPointToString(123456789, 8); // Outputs "1.23456789" +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.hashCkb.html b/docs/functions/_ckb_ccc_core.index.ccc.hashCkb.html new file mode 100644 index 00000000..4f5cbe19 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.hashCkb.html @@ -0,0 +1,219 @@ +hashCkb | Documentation +
  • Computes the CKB hash of the given data using the Blake2b algorithm.

    +

    Parameters

    Returns Hex

    The hexadecimal string representation of the hash.

    +
    const hash = hashCkb("some data"); // Outputs something like "0x..."
    +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.hashTypeFrom.html b/docs/functions/_ckb_ccc_core.index.ccc.hashTypeFrom.html new file mode 100644 index 00000000..f82269ce --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.hashTypeFrom.html @@ -0,0 +1,220 @@ +hashTypeFrom | Documentation +
  • Converts a HashTypeLike value to a HashType.

    +

    Parameters

    • val: HashTypeLike

      The value to convert, which can be a string, number, or bigint.

      +

    Returns HashType

    The corresponding HashType.

    +

    Will throw an error if the input value is not a valid hash type.

    +
    const hashType = hashTypeFrom(1); // Outputs "data"
    const hashType = hashTypeFrom("type"); // Outputs "type" +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.hashTypeFromBytes.html b/docs/functions/_ckb_ccc_core.index.ccc.hashTypeFromBytes.html new file mode 100644 index 00000000..a63480fe --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.hashTypeFromBytes.html @@ -0,0 +1,220 @@ +hashTypeFromBytes | Documentation +
  • Converts a byte-like value to a HashType.

    +

    Parameters

    • bytes: BytesLike

      The byte-like value to convert.

      +

    Returns HashType

    The corresponding HashType.

    +

    Will throw an error if the input bytes do not correspond to a valid hash type.

    +
    const hashType = hashTypeFromBytes(new Uint8Array([0])); // Outputs "type"
    +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.hashTypeId.html b/docs/functions/_ckb_ccc_core.index.ccc.hashTypeId.html new file mode 100644 index 00000000..128d7f30 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.hashTypeId.html @@ -0,0 +1,220 @@ +hashTypeId | Documentation +
  • Computes the Type ID hash of the given data.

    +

    Parameters

    • cellInputLike: CellInputLike

      The first cell input of the transaction.

      +
    • outputIndex: NumLike

      The output index of the Type ID cell.

      +

    Returns Hex

    The hexadecimal string representation of the hash.

    +
    const hash = hashTypeId(cellInput, outputIndex); // Outputs something like "0x..."
    +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.hashTypeToBytes.html b/docs/functions/_ckb_ccc_core.index.ccc.hashTypeToBytes.html new file mode 100644 index 00000000..d911d0c4 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.hashTypeToBytes.html @@ -0,0 +1,219 @@ +hashTypeToBytes | Documentation +
  • Converts a HashTypeLike value to its corresponding byte representation.

    +

    Parameters

    Returns ccc.Bytes

    A Uint8Array containing the byte representation of the hash type.

    +
    const hashTypeBytes = hashTypeToBytes("type"); // Outputs Uint8Array [0]
    +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.hexFrom.html b/docs/functions/_ckb_ccc_core.index.ccc.hexFrom.html new file mode 100644 index 00000000..c255051e --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.hexFrom.html @@ -0,0 +1,219 @@ +hexFrom | Documentation +
  • Converts a HexLike value to a Hex string.

    +

    Parameters

    • hex: BytesLike

      The value to convert, which can be a string, Uint8Array, ArrayBuffer, or number array.

      +

    Returns Hex

    A Hex string representing the value.

    +
    const hexString = hexFrom("68656c6c6f"); // Outputs "0x68656c6c6f"
    const hexStringFromBytes = hexFrom(new Uint8Array([104, 101, 108, 108, 111])); // Outputs "0x68656c6c6f" +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.isWebview.html b/docs/functions/_ckb_ccc_core.index.ccc.isWebview.html new file mode 100644 index 00000000..5381950e --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.isWebview.html @@ -0,0 +1,213 @@ +isWebview | Documentation +
  • Parameters

    • userAgent: string

    Returns boolean

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.keystoreDecrypt.html b/docs/functions/_ckb_ccc_core.index.ccc.keystoreDecrypt.html new file mode 100644 index 00000000..de043bd8 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.keystoreDecrypt.html @@ -0,0 +1,213 @@ +keystoreDecrypt | Documentation +
  • Parameters

    • keystore: unknown
    • password: string

    Returns Promise<{
        privateKey: ccc.Bytes;
        chainCode: ccc.Bytes;
    }>

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.keystoreEncrypt.html b/docs/functions/_ckb_ccc_core.index.ccc.keystoreEncrypt.html new file mode 100644 index 00000000..11808c35 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.keystoreEncrypt.html @@ -0,0 +1,213 @@ +keystoreEncrypt | Documentation +
  • Parameters

    Returns Promise<{
        id: string;
        crypto: {
            ciphertext: string;
            cipherparams: {
                iv: string;
            };
            cipher: string;
            kdf: string;
            kdfparams: {
                n: number;
                r: number;
                p: number;
                dklen: number;
                salt: string;
            };
            mac: string;
        };
    }>

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.messageHashCkbSecp256k1.html b/docs/functions/_ckb_ccc_core.index.ccc.messageHashCkbSecp256k1.html new file mode 100644 index 00000000..71625904 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.messageHashCkbSecp256k1.html @@ -0,0 +1,213 @@ +messageHashCkbSecp256k1 | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.numBeFromBytes.html b/docs/functions/_ckb_ccc_core.index.ccc.numBeFromBytes.html new file mode 100644 index 00000000..7d7a31b8 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.numBeFromBytes.html @@ -0,0 +1,219 @@ +numBeFromBytes | Documentation +
  • Converts a byte array to a Num (bigint) assuming big-endian order.

    +

    Parameters

    Returns Num

    A Num (bigint) representing the numeric value.

    +
    const num = numBeFromBytes(new Uint8Array([0, 0, 48, 57])); // Outputs 12345n
    +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.numBeToBytes.html b/docs/functions/_ckb_ccc_core.index.ccc.numBeToBytes.html new file mode 100644 index 00000000..2306c46d --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.numBeToBytes.html @@ -0,0 +1,220 @@ +numBeToBytes | Documentation +
  • Converts a NumLike value to a byte array in big-endian order.

    +

    Parameters

    • val: NumLike

      The value to convert, which can be a string, number, bigint, or HexLike.

      +
    • Optionalbytes: number

      The number of bytes to use for the representation. If not provided, the exact number of bytes needed is used.

      +

    Returns ccc.Bytes

    A Uint8Array containing the byte representation of the numeric value.

    +
    const bytes = numBeToBytes(12345, 4); // Outputs Uint8Array [0, 0, 48, 57]
    +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.numFrom.html b/docs/functions/_ckb_ccc_core.index.ccc.numFrom.html new file mode 100644 index 00000000..ce7ba049 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.numFrom.html @@ -0,0 +1,219 @@ +numFrom | Documentation +
  • Converts a NumLike value to a Num (bigint).

    +

    Parameters

    • val: NumLike

      The value to convert, which can be a string, number, bigint, or HexLike.

      +

    Returns Num

    A Num (bigint) representing the value.

    +
    const num = numFrom("12345"); // Outputs 12345n
    const numFromHex = numFrom("0x3039"); // Outputs 12345n +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.numFromBytes.html b/docs/functions/_ckb_ccc_core.index.ccc.numFromBytes.html new file mode 100644 index 00000000..d4c6e829 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.numFromBytes.html @@ -0,0 +1,219 @@ +numFromBytes | Documentation +
  • Converts a byte array to a Num (bigint) assuming little-endian order.

    +

    Parameters

    Returns Num

    A Num (bigint) representing the numeric value.

    +
    const num = numFromBytes(new Uint8Array([57, 48, 0, 0])); // Outputs 12345n
    +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.numLeFromBytes.html b/docs/functions/_ckb_ccc_core.index.ccc.numLeFromBytes.html new file mode 100644 index 00000000..4978d738 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.numLeFromBytes.html @@ -0,0 +1,219 @@ +numLeFromBytes | Documentation +
  • Converts a byte array to a Num (bigint) assuming little-endian order.

    +

    Parameters

    Returns Num

    A Num (bigint) representing the numeric value.

    +
    const num = numLeFromBytes(new Uint8Array([57, 48, 0, 0])); // Outputs 12345n
    +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.numLeToBytes.html b/docs/functions/_ckb_ccc_core.index.ccc.numLeToBytes.html new file mode 100644 index 00000000..768c8c49 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.numLeToBytes.html @@ -0,0 +1,220 @@ +numLeToBytes | Documentation +
  • Converts a NumLike value to a byte array in little-endian order.

    +

    Parameters

    • val: NumLike

      The value to convert, which can be a string, number, bigint, or HexLike.

      +
    • Optionalbytes: number

      The number of bytes to use for the representation. If not provided, the exact number of bytes needed is used.

      +

    Returns ccc.Bytes

    A Uint8Array containing the byte representation of the numeric value.

    +
    const bytes = numLeToBytes(12345, 4); // Outputs Uint8Array [57, 48, 0, 0]
    +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.numMax.html b/docs/functions/_ckb_ccc_core.index.ccc.numMax.html new file mode 100644 index 00000000..a6aae601 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.numMax.html @@ -0,0 +1,219 @@ +numMax | Documentation +
  • Get the max among all numbers.

    +

    Parameters

    Returns Num

    The max numbers among them.

    +
    numMax(1, 2, 3); // Outputs 3n
    +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.numToBytes.html b/docs/functions/_ckb_ccc_core.index.ccc.numToBytes.html new file mode 100644 index 00000000..2066545e --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.numToBytes.html @@ -0,0 +1,220 @@ +numToBytes | Documentation +
  • Converts a NumLike value to a byte array in little-endian order.

    +

    Parameters

    • val: NumLike

      The value to convert, which can be a string, number, bigint, or HexLike.

      +
    • Optionalbytes: number

      The number of bytes to use for the representation. If not provided, the exact number of bytes needed is used.

      +

    Returns ccc.Bytes

    A Uint8Array containing the byte representation of the numeric value.

    +
    const bytes = numToBytes(12345, 4); // Outputs Uint8Array [57, 48, 0, 0]
    +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.numToHex.html b/docs/functions/_ckb_ccc_core.index.ccc.numToHex.html new file mode 100644 index 00000000..99e851b9 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.numToHex.html @@ -0,0 +1,219 @@ +numToHex | Documentation +
  • Converts a NumLike value to a hexadecimal string.

    +

    Parameters

    • val: NumLike

      The value to convert, which can be a string, number, bigint, or HexLike.

      +

    Returns Hex

    A Hex string representing the numeric value.

    +
    const hex = numToHex(12345); // Outputs "0x3039"
    +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.reduceAsync.html b/docs/functions/_ckb_ccc_core.index.ccc.reduceAsync.html new file mode 100644 index 00000000..46ee2417 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.reduceAsync.html @@ -0,0 +1,227 @@ +reduceAsync | Documentation +

Similar to Array.reduce, but the accumulator can returns Promise.

+

The array to be reduced.

+

A callback to be called for each value. If it returns null, the previous result will be kept.

+

The initial value.

+

The accumulated result.

+
  • Similar to Array.reduce, but the accumulator can returns Promise.

    +

    Type Parameters

    • T
    • V

    Parameters

    • values: T[]

      The array to be reduced.

      +
    • accumulator: ((a: T, b: T) =>
          | undefined
          | null
          | void
          | T
          | Promise<
              | undefined
              | null
              | void
              | T>)

      A callback to be called for each value. If it returns null, the previous result will be kept.

      +
        • (a, b):
              | undefined
              | null
              | void
              | T
              | Promise<
                  | undefined
                  | null
                  | void
                  | T>
        • Parameters

          Returns
              | undefined
              | null
              | void
              | T
              | Promise<
                  | undefined
                  | null
                  | void
                  | T>

    Returns Promise<T>

    The accumulated result.

    +
  • Similar to Array.reduce, but the accumulator can returns Promise.

    +

    Type Parameters

    • T
    • V

    Parameters

    • values: V[]

      The array to be reduced.

      +
    • accumulator: ((a: T, b: V, i: number, values: V[]) =>
          | undefined
          | null
          | void
          | T
          | Promise<
              | undefined
              | null
              | void
              | T>)

      A callback to be called for each value. If it returns null, the previous result will be kept.

      +
        • (a, b, i, values):
              | undefined
              | null
              | void
              | T
              | Promise<
                  | undefined
                  | null
                  | void
                  | T>
        • Parameters

          • a: T
          • b: V
          • i: number
          • values: V[]

          Returns
              | undefined
              | null
              | void
              | T
              | Promise<
                  | undefined
                  | null
                  | void
                  | T>

    • init: T | Promise<T>

      The initial value.

      +

    Returns Promise<T>

    The accumulated result.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.udtBalanceFrom.html b/docs/functions/_ckb_ccc_core.index.ccc.udtBalanceFrom.html new file mode 100644 index 00000000..2977dbcd --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.udtBalanceFrom.html @@ -0,0 +1,213 @@ +udtBalanceFrom | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.verifyMessageBtcEcdsa.html b/docs/functions/_ckb_ccc_core.index.ccc.verifyMessageBtcEcdsa.html new file mode 100644 index 00000000..585fd627 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.verifyMessageBtcEcdsa.html @@ -0,0 +1,213 @@ +verifyMessageBtcEcdsa | Documentation +
  • Parameters

    • message: BytesLike
    • signature: string
    • publicKey: string

    Returns boolean

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.verifyMessageCkbSecp256k1.html b/docs/functions/_ckb_ccc_core.index.ccc.verifyMessageCkbSecp256k1.html new file mode 100644 index 00000000..e798eb03 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.verifyMessageCkbSecp256k1.html @@ -0,0 +1,213 @@ +verifyMessageCkbSecp256k1 | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.verifyMessageEvmPersonal.html b/docs/functions/_ckb_ccc_core.index.ccc.verifyMessageEvmPersonal.html new file mode 100644 index 00000000..ddcf766d --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.verifyMessageEvmPersonal.html @@ -0,0 +1,213 @@ +verifyMessageEvmPersonal | Documentation +
  • Parameters

    • message: BytesLike
    • signature: string
    • address: string

    Returns boolean

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_core.index.ccc.verifyMessageJoyId.html b/docs/functions/_ckb_ccc_core.index.ccc.verifyMessageJoyId.html new file mode 100644 index 00000000..eadf5149 --- /dev/null +++ b/docs/functions/_ckb_ccc_core.index.ccc.verifyMessageJoyId.html @@ -0,0 +1,213 @@ +verifyMessageJoyId | Documentation +
  • Parameters

    • message: BytesLike
    • signature: string
    • identity: string

    Returns Promise<boolean>

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_joy_id.advanced.JoyIdA.createPopup.html b/docs/functions/_ckb_ccc_joy_id.advanced.JoyIdA.createPopup.html new file mode 100644 index 00000000..0e5282c7 --- /dev/null +++ b/docs/functions/_ckb_ccc_joy_id.advanced.JoyIdA.createPopup.html @@ -0,0 +1,220 @@ +createPopup | Documentation +
  • Creates a popup window for JoyID Dapp requests.

    +

    Type Parameters

    • T extends DappRequestType

    Parameters

    • url: string

      The URL to open in the popup.

      +
    • config: PopupConfigOptions<T> & {
          joyidAppURL: string;
      }

      The popup configuration options.

      +

    Returns Promise<PopupReturnType[T]>

    A promise that resolves to the response data of the requested type.

    +

    If popups are not supported in the current browser.

    +

    If the popup is closed by the user.

    +

    If the popup operation times out.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_joy_id.advanced.JoyIdA.isSelectorMatch.html b/docs/functions/_ckb_ccc_joy_id.advanced.JoyIdA.isSelectorMatch.html new file mode 100644 index 00000000..190e67cc --- /dev/null +++ b/docs/functions/_ckb_ccc_joy_id.advanced.JoyIdA.isSelectorMatch.html @@ -0,0 +1,217 @@ +isSelectorMatch | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_joy_id.index.JoyId.getJoyIdSigners.html b/docs/functions/_ckb_ccc_joy_id.index.JoyId.getJoyIdSigners.html new file mode 100644 index 00000000..670eabe4 --- /dev/null +++ b/docs/functions/_ckb_ccc_joy_id.index.JoyId.getJoyIdSigners.html @@ -0,0 +1,220 @@ +getJoyIdSigners | Documentation +
  • Gets the JoyID signers based on the client, name, and icon. +If the browser is standalone or a webview, returns SignerAlwaysError instances. +Otherwise, returns instances of CkbSigner, BitcoinSigner, and EvmSigner.

    +

    Parameters

    • client: Client

      The client instance.

      +
    • name: string

      The name of the signer.

      +
    • icon: string

      The icon URL of the signer.

      +
    • OptionalpreferredNetworks: NetworkPreference[]

    Returns SignerInfo[]

    An array of signer information objects.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_lumos_patches.asserts.html b/docs/functions/_ckb_ccc_lumos_patches.asserts.html new file mode 100644 index 00000000..22737d35 --- /dev/null +++ b/docs/functions/_ckb_ccc_lumos_patches.asserts.html @@ -0,0 +1,217 @@ +asserts | Documentation +
  • Asserts that a condition is true, throwing an error if it is not.

    +

    Parameters

    • condition: unknown

      The condition to assert.

      +
    • Optionalmessage: string = "Assert failed"

      The error message to throw if the condition is false.

      +

    Returns asserts condition

    If the condition is false.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_lumos_patches.generateDefaultScriptInfos.html b/docs/functions/_ckb_ccc_lumos_patches.generateDefaultScriptInfos.html new file mode 100644 index 00000000..91bc965c --- /dev/null +++ b/docs/functions/_ckb_ccc_lumos_patches.generateDefaultScriptInfos.html @@ -0,0 +1,215 @@ +generateDefaultScriptInfos | Documentation +
  • Generates default script information for CCC.

    +

    Returns LockScriptInfo[]

    An array of lock script information.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_lumos_patches.generateScriptInfo.html b/docs/functions/_ckb_ccc_lumos_patches.generateScriptInfo.html new file mode 100644 index 00000000..0fd24080 --- /dev/null +++ b/docs/functions/_ckb_ccc_lumos_patches.generateScriptInfo.html @@ -0,0 +1,217 @@ +generateScriptInfo | Documentation +
  • Generates custom lock script information.

    +

    Parameters

    • codeHash: string

      The code hash of the custom script.

      +
    • cellDeps: CellDepInfoLike[]

      The cell dependencies for the custom script.

      +
    • dummyLockLength: number

    Returns LockScriptInfo

    The lock script information.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_nip07.index.Nip07.getNip07Signer.html b/docs/functions/_ckb_ccc_nip07.index.Nip07.getNip07Signer.html new file mode 100644 index 00000000..1a74a4b9 --- /dev/null +++ b/docs/functions/_ckb_ccc_nip07.index.Nip07.getNip07Signer.html @@ -0,0 +1,213 @@ +getNip07Signer | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_okx.index.Okx.getOKXSigners.html b/docs/functions/_ckb_ccc_okx.index.Okx.getOKXSigners.html new file mode 100644 index 00000000..f7c98f96 --- /dev/null +++ b/docs/functions/_ckb_ccc_okx.index.Okx.getOKXSigners.html @@ -0,0 +1,216 @@ +getOKXSigners | Documentation +
  • Retrieves the OKX Bitcoin signer if available.

    +

    Parameters

    Returns SignerInfo[]

    The BitcoinSigner instance if the OKX wallet is available, otherwise undefined.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_uni_sat.index.UniSat.getUniSatSigners.html b/docs/functions/_ckb_ccc_uni_sat.index.UniSat.getUniSatSigners.html new file mode 100644 index 00000000..c4ac5424 --- /dev/null +++ b/docs/functions/_ckb_ccc_uni_sat.index.UniSat.getUniSatSigners.html @@ -0,0 +1,216 @@ +getUniSatSigners | Documentation +
  • Retrieves the UniSat signer if available.

    +

    Parameters

    Returns SignerInfo[]

    The Signer instance if the UniSat provider is available, otherwise undefined.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/functions/_ckb_ccc_utxo_global.index.UtxoGlobal.getUtxoGlobalSigners.html b/docs/functions/_ckb_ccc_utxo_global.index.UtxoGlobal.getUtxoGlobalSigners.html new file mode 100644 index 00000000..c824aa15 --- /dev/null +++ b/docs/functions/_ckb_ccc_utxo_global.index.UtxoGlobal.getUtxoGlobalSigners.html @@ -0,0 +1,213 @@ +getUtxoGlobalSigners | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/hierarchy.html b/docs/hierarchy.html new file mode 100644 index 00000000..6feac7dd --- /dev/null +++ b/docs/hierarchy.html @@ -0,0 +1,213 @@ +Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 00000000..bf6b4f4f --- /dev/null +++ b/docs/index.html @@ -0,0 +1,321 @@ +Documentation +

Documentation

+ + Logo + +

+

+ CCC +

+

+ NPM Version + GitHub commit activity + GitHub last commit + GitHub deployments + Demo +

+

+ "CCC - CKBers' Codebase" is the next step of "Common Chains Connector". +
+ Empower yourself with CCC to discover the unlimited potential of CKB. +
+ Interoperate with wallets from different chain ecosystems. +
+ Fully enabling CKB's Turing completeness and cryptographic freedom power. +

+

+ + + +

+

This project is still under active development, and we are looking forward to your feedback. Try its demo now here. It showcases how to use CCC for some basic scenarios in CKB.

+

Here's an example for transferring CKB:

+
const tx = ccc.Transaction.from({
outputs: [{ lock: toLock, capacity: ccc.fixedPointFrom(amount) }],
}); +
+ +

Tell CCC what you need, and then...

+
await tx.completeInputsByCapacity(signer);
await tx.completeFeeBy(signer, 1000); // Transaction fee rate
const txHash = await signer.sendTransaction(tx); +
+ +

We have done everything! Check the demo source code for complete examples.

+

We design CCC for both front-end and back-end developers. You need only one package to fulfil all your needs:

+
    +
  • NodeJS: npm install @ckb-ccc/core
  • +
  • Custom UI: npm install @ckb-ccc/ccc
  • +
  • Web Component: npm install @ckb-ccc/connector
  • +
  • React: npm install @ckb-ccc/connector-react
  • +
+

CCC exports everything on the ccc object:

+
import { ccc } from "@ckb-ccc/<package-name>";
+
+ +

Run the demo of CCC in two steps:

+
    +
  1. Install packages and build the project
  2. +
+
# Navigate to the project directory and run the following commands to install all necessary packages and build the project:
pnpm install
pnpm build +
+ +
    +
  1. Run the demo in development mode
  2. +
+
# Go to the demo directory and start the development server:
cd packages/demo
pnpm run dev +
+ + + + + + + + + + +
+ + + + + + + + + + +
+

CCC uses JS's Package Entry Points feature to help tree shaking while exporting everything on the ccc object. Ensure in your tsconfig.json, moduleResolution is set to node16, nodenext, or bundler, and resolvePackageJsonExports is not disabled.

+

Read the TypeScript's Guide for more.

+

While we recommend using CCC for composing transactions, we also provide Lumos patches to:

+
    +
  • Support the JoyID Wallet.
  • +
  • Support the Nostr Wallet.
  • +
  • Support the Portal Wallet.
  • +
+

See lumos-patches: npm install @ckb-ccc/lumos-patches

+

You can apply patches by:

+
import { generateDefaultScriptInfos } from "@ckb-ccc/lumos-patches";

// Before using Lumos. You don't need @ckb-lumos/joyid anymore.
registerCustomLockScriptInfos(generateDefaultScriptInfos()); +
+ +
    +
  • Nervos CKB Docs is the documentation website of Nervos CKB.
  • +
  • Lumos and its Docs: Lumos provides utils to help compose CKB transactions.
  • +
  • RGB++ SDK and its Design: RGB++ is a protocol for issuing assets with Turing-completed VM on BTC L1.
  • +
  • Spore SDK and its Docs: The on-chain digital object (DOBs) protocol designed to empower ownership, distribution, and value capture.
  • +
  • PW SDK is not maintained anymore. It is the early-age wallet connector and a brave pioneer of the CKB ecosystem.
  • +
+

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BlockType.html b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BlockType.html new file mode 100644 index 00000000..3d3daccc --- /dev/null +++ b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BlockType.html @@ -0,0 +1,217 @@ +BlockType | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BlockV1Type.html b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BlockV1Type.html new file mode 100644 index 00000000..f5509d38 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BlockV1Type.html @@ -0,0 +1,218 @@ +BlockV1Type | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CastToArrayBuffer.html b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CastToArrayBuffer.html new file mode 100644 index 00000000..61d176af --- /dev/null +++ b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CastToArrayBuffer.html @@ -0,0 +1,214 @@ +CastToArrayBuffer | Documentation +
interface CastToArrayBuffer {
    toArrayBuffer(): ArrayBuffer;
}

Methods

Methods

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellDepType.html b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellDepType.html new file mode 100644 index 00000000..8afe25ee --- /dev/null +++ b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellDepType.html @@ -0,0 +1,215 @@ +CellDepType | Documentation +
interface CellDepType {
    outPoint: OutPointType;
    depType: CanCastToArrayBuffer;
}

Properties

Properties

outPoint: OutPointType

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellInputType.html b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellInputType.html new file mode 100644 index 00000000..bd638368 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellInputType.html @@ -0,0 +1,215 @@ +CellInputType | Documentation +
interface CellInputType {
    since: CanCastToArrayBuffer;
    previousOutput: OutPointType;
}

Properties

Properties

previousOutput: OutPointType

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellOutputType.html b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellOutputType.html new file mode 100644 index 00000000..4deea025 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellOutputType.html @@ -0,0 +1,216 @@ +CellOutputType | Documentation +
interface CellOutputType {
    capacity: CanCastToArrayBuffer;
    lock: ScriptType;
    type?: ScriptType;
}

Properties

Properties

type?: ScriptType

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellbaseWitnessType.html b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellbaseWitnessType.html new file mode 100644 index 00000000..d08d43e1 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellbaseWitnessType.html @@ -0,0 +1,215 @@ +CellbaseWitnessType | Documentation +
interface CellbaseWitnessType {
    lock: ScriptType;
    message: CanCastToArrayBuffer;
}

Properties

Properties

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CreateOptions.html b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CreateOptions.html new file mode 100644 index 00000000..9a8af40e --- /dev/null +++ b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CreateOptions.html @@ -0,0 +1,214 @@ +CreateOptions | Documentation +
interface CreateOptions {
    validate?: boolean;
}

Properties

Properties

validate?: boolean

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.HeaderType.html b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.HeaderType.html new file mode 100644 index 00000000..684d480b --- /dev/null +++ b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.HeaderType.html @@ -0,0 +1,215 @@ +HeaderType | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.OutPointType.html b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.OutPointType.html new file mode 100644 index 00000000..ed2ef342 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.OutPointType.html @@ -0,0 +1,215 @@ +OutPointType | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.RawHeaderType.html b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.RawHeaderType.html new file mode 100644 index 00000000..a31920c2 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.RawHeaderType.html @@ -0,0 +1,223 @@ +RawHeaderType | Documentation +
interface RawHeaderType {
    version: CanCastToArrayBuffer;
    compactTarget: CanCastToArrayBuffer;
    timestamp: CanCastToArrayBuffer;
    number: CanCastToArrayBuffer;
    epoch: CanCastToArrayBuffer;
    parentHash: CanCastToArrayBuffer;
    transactionsRoot: CanCastToArrayBuffer;
    proposalsHash: CanCastToArrayBuffer;
    extraHash: CanCastToArrayBuffer;
    dao: CanCastToArrayBuffer;
}

Properties

compactTarget: CanCastToArrayBuffer
transactionsRoot: CanCastToArrayBuffer
proposalsHash: CanCastToArrayBuffer

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.RawTransactionType.html b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.RawTransactionType.html new file mode 100644 index 00000000..b2b2d89c --- /dev/null +++ b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.RawTransactionType.html @@ -0,0 +1,219 @@ +RawTransactionType | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ScriptType.html b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ScriptType.html new file mode 100644 index 00000000..75e88bd2 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ScriptType.html @@ -0,0 +1,216 @@ +ScriptType | Documentation +

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.TransactionType.html b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.TransactionType.html new file mode 100644 index 00000000..aff12187 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.TransactionType.html @@ -0,0 +1,215 @@ +TransactionType | Documentation +
interface TransactionType {
    raw: RawTransactionType;
    witnesses: BytesVecType;
}

Properties

Properties

witnesses: BytesVecType

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.UncleBlockType.html b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.UncleBlockType.html new file mode 100644 index 00000000..5fdf9fa3 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.UncleBlockType.html @@ -0,0 +1,215 @@ +UncleBlockType | Documentation +
interface UncleBlockType {
    header: HeaderType;
    proposals: ProposalShortIdVecType;
}

Properties

Properties

header: HeaderType

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.UnionType.html b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.UnionType.html new file mode 100644 index 00000000..727d3c80 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.UnionType.html @@ -0,0 +1,215 @@ +UnionType | Documentation +
interface UnionType {
    type: string;
    value: any;
}

Properties

Properties

type: string
value: any

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.WitnessArgsType.html b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.WitnessArgsType.html new file mode 100644 index 00000000..b27df901 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.WitnessArgsType.html @@ -0,0 +1,216 @@ +WitnessArgsType | Documentation +
interface WitnessArgsType {
    lock?: CanCastToArrayBuffer;
    inputType?: CanCastToArrayBuffer;
    outputType?: CanCastToArrayBuffer;
}

Properties

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_core.index.ccc.Hasher.html b/docs/interfaces/_ckb_ccc_core.index.ccc.Hasher.html new file mode 100644 index 00000000..d8179011 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_core.index.ccc.Hasher.html @@ -0,0 +1,226 @@ +Hasher | Documentation +
interface Hasher {
    update(data: BytesLike): Hasher;
    digest(): `0x${string}`;
}

Implemented by

Methods

Methods

  • Updates the hash with the given data.

    +

    Parameters

    • data: BytesLike

      The data to update the hash with.

      +

    Returns Hasher

    The current Hasher instance for chaining.

    +
    const hasher = new Hasher();
    hasher.update("some data").update("more data");
    const hash = hasher.digest(); +
    + +
  • Finalizes the hash and returns the digest as a hexadecimal string.

    +

    Returns `0x${string}`

    The hexadecimal string representation of the hash.

    +
    const hasher = new Hasher();
    hasher.update("some data");
    const hash = hasher.digest(); // Outputs something like "0x..." +
    + +

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_core.index.ccc.NostrEvent.html b/docs/interfaces/_ckb_ccc_core.index.ccc.NostrEvent.html new file mode 100644 index 00000000..0461b1d4 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_core.index.ccc.NostrEvent.html @@ -0,0 +1,220 @@ +NostrEvent | Documentation +
interface NostrEvent {
    id?: string;
    pubkey?: string;
    sig?: string;
    created_at: number;
    kind: number;
    tags: string[][];
    content: string;
}

Properties

id?: string
pubkey?: string
sig?: string
created_at: number
kind: number
tags: string[][]
content: string

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_eip6963.advanced.Eip1193A.OnMethod.html b/docs/interfaces/_ckb_ccc_eip6963.advanced.Eip1193A.OnMethod.html new file mode 100644 index 00000000..f7ea4bc3 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_eip6963.advanced.Eip1193A.OnMethod.html @@ -0,0 +1,218 @@ +OnMethod | Documentation +

Interface representing a method to add event listeners to the provider.

+
  • Adds an event listener to the provider.

    +

    Parameters

    • eventName: string

      The name of the event.

      +
    • listener: ((...args: unknown[]) => unknown)

      The listener function.

      +
        • (...args): unknown
        • Parameters

          • Rest...args: unknown[]

          Returns unknown

    Returns Eip1193A.Provider

    The provider instance.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_eip6963.advanced.Eip1193A.Provider.html b/docs/interfaces/_ckb_ccc_eip6963.advanced.Eip1193A.Provider.html new file mode 100644 index 00000000..6ef9fe64 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_eip6963.advanced.Eip1193A.Provider.html @@ -0,0 +1,223 @@ +Provider | Documentation +

Interface representing a provider for interacting with Ethereum-compatible wallets.

+
interface Provider {
    request: RequestMethod;
    on: Eip1193A.OnMethod;
    removeListener(eventName: string, listener: ((...args: unknown[]) => unknown)): Eip1193A.Provider;
}

Properties

Methods

Properties

request: RequestMethod

Sends a request to the provider.

+

Adds an event listener to the provider.

+

Methods

  • Removes an event listener from the provider.

    +

    Parameters

    • eventName: string

      The name of the event to remove the listener from.

      +
    • listener: ((...args: unknown[]) => unknown)

      The listener function to remove.

      +
        • (...args): unknown
        • Parameters

          • Rest...args: unknown[]

          Returns unknown

    Returns Eip1193A.Provider

    The provider instance.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_eip6963.advanced.Eip1193A.RequestMethod.html b/docs/interfaces/_ckb_ccc_eip6963.advanced.Eip1193A.RequestMethod.html new file mode 100644 index 00000000..3022dfb4 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_eip6963.advanced.Eip1193A.RequestMethod.html @@ -0,0 +1,226 @@ +RequestMethod | Documentation +

Interface representing a method to send requests to the provider.

+
  • Signs a message with the personal account.

    +

    Parameters

    • request: {
          method: "personal_sign";
          params: [string, `0x${string}`];
      }

      The request object.

      +
      • method: "personal_sign"
      • params: [string, `0x${string}`]

    Returns Promise<`0x${string}`>

    A promise that resolves to the signed message.

    +
  • Requests the accounts from the provider.

    +

    Parameters

    • request: {
          method: "eth_requestAccounts";
          params?: undefined;
      }

      The request object.

      +
      • method: "eth_requestAccounts"
      • Optionalparams?: undefined

    Returns Promise<`0x${string}`[]>

    A promise that resolves to an array of account addresses.

    +
  • Gets the accounts from the provider.

    +

    Parameters

    • request: {
          method: "eth_accounts";
          params?: undefined;
      }

      The request object.

      +
      • method: "eth_accounts"
      • Optionalparams?: undefined

    Returns Promise<`0x${string}`[]>

    A promise that resolves to an array of account addresses.

    +
  • Sends a generic request to the provider.

    +

    Parameters

    • request: {
          method: string;
          params?: unknown[] | Record<string, unknown>;
      }

      The request object.

      +
      • method: string
      • Optionalparams?: unknown[] | Record<string, unknown>

    Returns Promise<unknown>

    A promise that resolves to the response from the provider.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_eip6963.advanced.Eip6963A.AnnounceProviderEvent.html b/docs/interfaces/_ckb_ccc_eip6963.advanced.Eip6963A.AnnounceProviderEvent.html new file mode 100644 index 00000000..3e5fcef8 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_eip6963.advanced.Eip6963A.AnnounceProviderEvent.html @@ -0,0 +1,216 @@ +AnnounceProviderEvent | Documentation +

Interface representing an event announcing a provider.

+
interface AnnounceProviderEvent {
    detail: ProviderDetail;
}

Properties

Properties

The detail of the provider.

+

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_eip6963.advanced.Eip6963A.ProviderDetail.html b/docs/interfaces/_ckb_ccc_eip6963.advanced.Eip6963A.ProviderDetail.html new file mode 100644 index 00000000..9e681b4b --- /dev/null +++ b/docs/interfaces/_ckb_ccc_eip6963.advanced.Eip6963A.ProviderDetail.html @@ -0,0 +1,218 @@ +ProviderDetail | Documentation +

Interface representing the details of a provider.

+
interface ProviderDetail {
    info: ProviderInfo;
    provider: Eip1193A.Provider;
}

Properties

Properties

The information about the provider.

+
provider: Eip1193A.Provider

The provider instance compliant with EIP-1193.

+

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_eip6963.advanced.Eip6963A.ProviderInfo.html b/docs/interfaces/_ckb_ccc_eip6963.advanced.Eip6963A.ProviderInfo.html new file mode 100644 index 00000000..8e290909 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_eip6963.advanced.Eip6963A.ProviderInfo.html @@ -0,0 +1,222 @@ +ProviderInfo | Documentation +

Interface representing information about a provider.

+
interface ProviderInfo {
    rdns: string;
    uuid: string;
    name: string;
    icon: string;
}

Properties

Properties

rdns: string

The reverse DNS name of the provider.

+
uuid: string

The UUID of the provider.

+
name: string

The name of the provider.

+
icon: string

The icon URL of the provider.

+

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_joy_id.advanced.JoyIdA.ConnectionsRepo.html b/docs/interfaces/_ckb_ccc_joy_id.advanced.JoyIdA.ConnectionsRepo.html new file mode 100644 index 00000000..c3f4bf63 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_joy_id.advanced.JoyIdA.ConnectionsRepo.html @@ -0,0 +1,223 @@ +ConnectionsRepo | Documentation +

Interface representing a repository for managing connections.

+
interface ConnectionsRepo {
    get(selector: AccountSelector): Promise<undefined | Connection>;
    set(selector: AccountSelector, connection: undefined | Connection): Promise<void>;
}

Implemented by

Methods

get +set +

Methods

  • Sets a connection for the given selector.

    +

    Parameters

    Returns Promise<void>

    A promise that resolves when the connection is set.

    +

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_joy_id.advanced.JoyIdA.PopupReturnType.html b/docs/interfaces/_ckb_ccc_joy_id.advanced.JoyIdA.PopupReturnType.html new file mode 100644 index 00000000..1cec69e9 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_joy_id.advanced.JoyIdA.PopupReturnType.html @@ -0,0 +1,229 @@ +PopupReturnType | Documentation +

Interface representing the return type for various Dapp request types.

+
interface PopupReturnType {
    Auth: AuthResponseData;
    SignMessage: SignMessageResponseData;
    SignEvm: SignEvmTxResponseData;
    SignPsbt: SignEvmTxResponseData;
    BatchSignPsbt: {
        psbts: string[];
    };
    SignCkbTx: SignCkbTxResponseData;
    SignCotaNFT: SignCkbTxResponseData;
    SignCkbRawTx: SignCkbTxResponseData;
    SignNostrEvent: SignNostrEventData;
    EncryptNostrMessage: any;
    DecryptNostrMessage: any;
    AuthMiniApp: any;
    SignMiniAppEvm: any;
    SignMiniAppMessage: any;
    EvmWeb2Login: EvmWeb2LoginResponse;
}

Properties

Auth: AuthResponseData
SignMessage: SignMessageResponseData
SignEvm: SignEvmTxResponseData
SignPsbt: SignEvmTxResponseData
BatchSignPsbt: {
    psbts: string[];
}
SignCkbTx: SignCkbTxResponseData
SignCotaNFT: SignCkbTxResponseData
SignCkbRawTx: SignCkbTxResponseData
SignNostrEvent: SignNostrEventData
EncryptNostrMessage: any
DecryptNostrMessage: any
AuthMiniApp: any
SignMiniAppEvm: any
SignMiniAppMessage: any
EvmWeb2Login: EvmWeb2LoginResponse

Generated using TypeDoc
+ + +

diff --git a/docs/interfaces/_ckb_ccc_nip07.advanced.Nip07A.Provider.html b/docs/interfaces/_ckb_ccc_nip07.advanced.Nip07A.Provider.html new file mode 100644 index 00000000..d3d537a7 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_nip07.advanced.Nip07A.Provider.html @@ -0,0 +1,215 @@ +Provider | Documentation +
interface Provider {
    getPublicKey(): Promise<string>;
    signEvent(event: NostrEvent): Promise<Required<NostrEvent>>;
}

Hierarchy

  • Provider

    Methods

    Generated using TypeDoc
    + + +

    diff --git a/docs/interfaces/_ckb_ccc_okx.advanced.OkxA.BitcoinProvider.html b/docs/interfaces/_ckb_ccc_okx.advanced.OkxA.BitcoinProvider.html new file mode 100644 index 00000000..4cdc38c2 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_okx.advanced.OkxA.BitcoinProvider.html @@ -0,0 +1,215 @@ +BitcoinProvider | Documentation +
    interface BitcoinProvider {
        connect?(): Promise<{
            address: string;
            publicKey: string;
            compressedPublicKey: string;
        }>;
        getSelectedAccount?(): Promise<null | {
            address: string;
            publicKey: string;
            compressedPublicKey: string;
        }>;
    }

    Hierarchy

    • Pick<UniSatA.Provider, "on" | "removeListener" | "signMessage">
    • Partial<Omit<UniSatA.Provider, "on" | "removeListener" | "signMessage">>
      • BitcoinProvider

    Methods

    • Returns Promise<{
          address: string;
          publicKey: string;
          compressedPublicKey: string;
      }>

    • Returns Promise<null | {
          address: string;
          publicKey: string;
          compressedPublicKey: string;
      }>

    Generated using TypeDoc
    + + +

    diff --git a/docs/interfaces/_ckb_ccc_okx.advanced.OkxA.NostrOnMethod.html b/docs/interfaces/_ckb_ccc_okx.advanced.OkxA.NostrOnMethod.html new file mode 100644 index 00000000..20faac47 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_okx.advanced.OkxA.NostrOnMethod.html @@ -0,0 +1,218 @@ +NostrOnMethod | Documentation +

    Interface representing a method to add event listeners to the provider.

    +
    • Adds an event listener to the provider.

      +

      Parameters

      • eventName: string

        The name of the event.

        +
      • listener: ((...args: unknown[]) => unknown)

        The listener function.

        +
          • (...args): unknown
          • Parameters

            • Rest...args: unknown[]

            Returns unknown

      Returns Promise<void>

      The provider instance.

      +

    Generated using TypeDoc
    + + +

    diff --git a/docs/interfaces/_ckb_ccc_okx.advanced.OkxA.NostrProvider.html b/docs/interfaces/_ckb_ccc_okx.advanced.OkxA.NostrProvider.html new file mode 100644 index 00000000..d1639299 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_okx.advanced.OkxA.NostrProvider.html @@ -0,0 +1,221 @@ +NostrProvider | Documentation +
    interface NostrProvider {
        connect?(): Promise<void>;
        on: NostrOnMethod;
        removeListener(eventName: string, listener: ((...args: unknown[]) => unknown)): NostrProvider;
    }

    Hierarchy (view full)

    Properties

    on +

    Methods

    Properties

    Adds an event listener to the provider.

    +

    Methods

    • Removes an event listener from the provider.

      +

      Parameters

      • eventName: string

        The name of the event to remove the listener from.

        +
      • listener: ((...args: unknown[]) => unknown)

        The listener function to remove.

        +
          • (...args): unknown
          • Parameters

            • Rest...args: unknown[]

            Returns unknown

      Returns NostrProvider

      The provider instance.

      +

    Generated using TypeDoc
    + + +

    diff --git a/docs/interfaces/_ckb_ccc_uni_sat.advanced.UniSatA.OnMethod.html b/docs/interfaces/_ckb_ccc_uni_sat.advanced.UniSatA.OnMethod.html new file mode 100644 index 00000000..737f8aef --- /dev/null +++ b/docs/interfaces/_ckb_ccc_uni_sat.advanced.UniSatA.OnMethod.html @@ -0,0 +1,218 @@ +OnMethod | Documentation +

    Interface representing a method to add event listeners to the provider.

    +
    • Adds an event listener to the provider.

      +

      Parameters

      • eventName: string

        The name of the event.

        +
      • listener: ((...args: unknown[]) => unknown)

        The listener function.

        +
          • (...args): unknown
          • Parameters

            • Rest...args: unknown[]

            Returns unknown

      Returns UniSatA.Provider

      The provider instance.

      +

    Generated using TypeDoc
    + + +

    diff --git a/docs/interfaces/_ckb_ccc_uni_sat.advanced.UniSatA.Provider.html b/docs/interfaces/_ckb_ccc_uni_sat.advanced.UniSatA.Provider.html new file mode 100644 index 00000000..3ab3300b --- /dev/null +++ b/docs/interfaces/_ckb_ccc_uni_sat.advanced.UniSatA.Provider.html @@ -0,0 +1,245 @@ +Provider | Documentation +

    Interface representing a provider for interacting with accounts and signing messages.

    +
    interface Provider {
        requestAccounts(): Promise<string[]>;
        getNetwork(): Promise<"livenet" | "testnet">;
        switchNetwork(chain: "livenet" | "testnet"): Promise<void>;
        getChain?(): Promise<{
            enum: string;
            name: string;
            network: string;
        }>;
        switchChain?(chain: string): Promise<{
            enum: string;
            name: string;
            network: string;
        }>;
        getAccounts(): Promise<string[]>;
        getPublicKey(): Promise<string>;
        signMessage(msg: string, type: "ecdsa" | "bip322-simple"): Promise<string>;
        on: UniSatA.OnMethod;
        removeListener(eventName: string, listener: ((...args: unknown[]) => unknown)): UniSatA.Provider;
    }

    Properties

    Adds an event listener to the provider.

    +

    Methods

    • Requests user accounts.

      +

      Returns Promise<string[]>

      A promise that resolves to an array of account addresses.

      +
    • Gets the current network.

      +

      Returns Promise<"livenet" | "testnet">

      current network.

      +
    • Switch the current network.

      +

      Parameters

      • chain: "livenet" | "testnet"

      Returns Promise<void>

    • Gets the current chain.

      +

      Returns Promise<{
          enum: string;
          name: string;
          network: string;
      }>

      current chain.

      +
    • Switch the current chain.

      +

      Parameters

      • chain: string

      Returns Promise<{
          enum: string;
          name: string;
          network: string;
      }>

    • Gets the current accounts.

      +

      Returns Promise<string[]>

      A promise that resolves to an array of account addresses.

      +
    • Gets the public key of the account.

      +

      Returns Promise<string>

      A promise that resolves to the public key.

      +
    • Signs a message with the specified type.

      +

      Parameters

      • msg: string

        The message to sign.

        +
      • type: "ecdsa" | "bip322-simple"

        The type of signature.

        +

      Returns Promise<string>

      A promise that resolves to the signed message.

      +
    • Removes an event listener from the provider.

      +

      Parameters

      • eventName: string

        The name of the event to remove the listener from.

        +
      • listener: ((...args: unknown[]) => unknown)

        The listener function to remove.

        +
          • (...args): unknown
          • Parameters

            • Rest...args: unknown[]

            Returns unknown

      Returns UniSatA.Provider

      The provider instance.

      +

    Generated using TypeDoc
    + + +

    diff --git a/docs/interfaces/_ckb_ccc_utxo_global.advanced.UtxoGlobalA.OnMethod.html b/docs/interfaces/_ckb_ccc_utxo_global.advanced.UtxoGlobalA.OnMethod.html new file mode 100644 index 00000000..34f1dea8 --- /dev/null +++ b/docs/interfaces/_ckb_ccc_utxo_global.advanced.UtxoGlobalA.OnMethod.html @@ -0,0 +1,213 @@ +OnMethod | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/interfaces/_ckb_ccc_utxo_global.advanced.UtxoGlobalA.Provider.html b/docs/interfaces/_ckb_ccc_utxo_global.advanced.UtxoGlobalA.Provider.html new file mode 100644 index 00000000..21d7efef --- /dev/null +++ b/docs/interfaces/_ckb_ccc_utxo_global.advanced.UtxoGlobalA.Provider.html @@ -0,0 +1,223 @@ +Provider | Documentation +
    interface Provider {
        requestAccounts(): Promise<string[]>;
        getAccount(): Promise<string[]>;
        getPublicKey(): Promise<{
            address: string;
            publicKey: string;
        }[]>;
        connect(): Promise<void>;
        isConnected(): Promise<boolean>;
        signMessage(msg: string, address: string): Promise<string>;
        createTx(tx: any): Promise<string>;
        signTransaction(tx: any): Promise<any>;
        on: UtxoGlobalA.OnMethod;
        removeListener(eventName: string, listener: ((...args: unknown[]) => unknown)): UtxoGlobalA.Provider;
    }

    Properties

    Methods

    • Returns Promise<{
          address: string;
          publicKey: string;
      }[]>

    • Parameters

      • msg: string
      • address: string

      Returns Promise<string>

    • Parameters

      • tx: any

      Returns Promise<string>

    • Parameters

      • tx: any

      Returns Promise<any>

    Generated using TypeDoc
    + + +

    diff --git a/docs/logo.svg b/docs/logo.svg new file mode 100644 index 00000000..49ca7348 --- /dev/null +++ b/docs/logo.svg @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/docs/modules/_ckb_ccc_ccc.advanced.cccA.html b/docs/modules/_ckb_ccc_ccc.advanced.cccA.html new file mode 100644 index 00000000..e51844cb --- /dev/null +++ b/docs/modules/_ckb_ccc_ccc.advanced.cccA.html @@ -0,0 +1,213 @@ +cccA | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_ccc.advanced.html b/docs/modules/_ckb_ccc_ccc.advanced.html new file mode 100644 index 00000000..3fc28d69 --- /dev/null +++ b/docs/modules/_ckb_ccc_ccc.advanced.html @@ -0,0 +1,214 @@ +advanced | Documentation +

    Index

    Namespaces

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_ccc.html b/docs/modules/_ckb_ccc_ccc.html new file mode 100644 index 00000000..257b15ef --- /dev/null +++ b/docs/modules/_ckb_ccc_ccc.html @@ -0,0 +1,251 @@ +@ckb-ccc ccc | Documentation +

    Module @ckb-ccc ccc

    + + Logo + +

    +

    + CCC +

    +

    + NPM Version + GitHub commit activity + GitHub last commit + GitHub deployments + Demo +

    +

    + "CCC - CKBers' Codebase" is the next step of "Common Chains Connector". +
    + Empower yourself with CCC to discover the unlimited potential of CKB. +
    + Interoperate with wallets from different chain ecosystems. +
    + Fully enabling CKB's Turing completeness and cryptographic freedom power. +

    +

    + + + +

    +

    This project is still under active development, and we are looking forward to your feedback. Try its demo now here. It showcases how to use CCC for some basic scenarios in CKB.

    +

    + Read more about CCC on its GitHub Repo. +

    Index

    Modules

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_ccc.index.ccc.html b/docs/modules/_ckb_ccc_ccc.index.ccc.html new file mode 100644 index 00000000..0d509594 --- /dev/null +++ b/docs/modules/_ckb_ccc_ccc.index.ccc.html @@ -0,0 +1,215 @@ +ccc | Documentation +

    Index

    Classes

    Type Aliases

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_ccc.index.html b/docs/modules/_ckb_ccc_ccc.index.html new file mode 100644 index 00000000..29be433c --- /dev/null +++ b/docs/modules/_ckb_ccc_ccc.index.html @@ -0,0 +1,214 @@ +index | Documentation +

    Index

    Namespaces

    ccc +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_connector.advanced.cccA.html b/docs/modules/_ckb_ccc_connector.advanced.cccA.html new file mode 100644 index 00000000..5c778dfe --- /dev/null +++ b/docs/modules/_ckb_ccc_connector.advanced.cccA.html @@ -0,0 +1,213 @@ +cccA | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_connector.advanced.html b/docs/modules/_ckb_ccc_connector.advanced.html new file mode 100644 index 00000000..bff2fc8f --- /dev/null +++ b/docs/modules/_ckb_ccc_connector.advanced.html @@ -0,0 +1,214 @@ +advanced | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_connector.html b/docs/modules/_ckb_ccc_connector.html new file mode 100644 index 00000000..1c0368b5 --- /dev/null +++ b/docs/modules/_ckb_ccc_connector.html @@ -0,0 +1,251 @@ +@ckb-ccc connector | Documentation +

    Module @ckb-ccc connector

    + + Logo + +

    +

    + CCC Connector +

    +

    + NPM Version + GitHub commit activity + GitHub last commit + GitHub deployments + Demo +

    +

    + "CCC - CKBers' Codebase" is the next step of "Common Chains Connector". +
    + Empower yourself with CCC to discover the unlimited potential of CKB. +
    + Interoperate with wallets from different chain ecosystems. +
    + Fully enabling CKB's Turing completeness and cryptographic freedom power. +

    +

    + + + +

    +

    This project is still under active development, and we are looking forward to your feedback. Try its demo now here. It showcases how to use CCC for some basic scenarios in CKB.

    +

    + Read more about CCC on its GitHub Repo. +

    Index

    Modules

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_connector.index.ccc.html b/docs/modules/_ckb_ccc_connector.index.ccc.html new file mode 100644 index 00000000..f65b7edb --- /dev/null +++ b/docs/modules/_ckb_ccc_connector.index.ccc.html @@ -0,0 +1,214 @@ +ccc | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_connector.index.html b/docs/modules/_ckb_ccc_connector.index.html new file mode 100644 index 00000000..d214b2df --- /dev/null +++ b/docs/modules/_ckb_ccc_connector.index.html @@ -0,0 +1,214 @@ +index | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_connector_react.advanced.cccA.html b/docs/modules/_ckb_ccc_connector_react.advanced.cccA.html new file mode 100644 index 00000000..a041dc97 --- /dev/null +++ b/docs/modules/_ckb_ccc_connector_react.advanced.cccA.html @@ -0,0 +1,213 @@ +cccA | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_connector_react.advanced.html b/docs/modules/_ckb_ccc_connector_react.advanced.html new file mode 100644 index 00000000..be3c275c --- /dev/null +++ b/docs/modules/_ckb_ccc_connector_react.advanced.html @@ -0,0 +1,214 @@ +advanced | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_connector_react.html b/docs/modules/_ckb_ccc_connector_react.html new file mode 100644 index 00000000..b9adf614 --- /dev/null +++ b/docs/modules/_ckb_ccc_connector_react.html @@ -0,0 +1,251 @@ +@ckb-ccc connector-react | Documentation +

    Module @ckb-ccc connector-react

    + + Logo + +

    +

    + CCC Connector for React +

    +

    + NPM Version + GitHub commit activity + GitHub last commit + GitHub deployments + Demo +

    +

    + "CCC - CKBers' Codebase" is the next step of "Common Chains Connector". +
    + Empower yourself with CCC to discover the unlimited potential of CKB. +
    + Interoperate with wallets from different chain ecosystems. +
    + Fully enabling CKB's Turing completeness and cryptographic freedom power. +

    +

    + + + +

    +

    This project is still under active development, and we are looking forward to your feedback. Try its demo now here. It showcases how to use CCC for some basic scenarios in CKB.

    +

    + Read more about CCC on its GitHub Repo. +

    Index

    Modules

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_connector_react.index.ccc.html b/docs/modules/_ckb_ccc_connector_react.index.ccc.html new file mode 100644 index 00000000..69521548 --- /dev/null +++ b/docs/modules/_ckb_ccc_connector_react.index.ccc.html @@ -0,0 +1,217 @@ +ccc | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_connector_react.index.html b/docs/modules/_ckb_ccc_connector_react.index.html new file mode 100644 index 00000000..fc57ca0b --- /dev/null +++ b/docs/modules/_ckb_ccc_connector_react.index.html @@ -0,0 +1,214 @@ +index | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_core.advanced.cccA.html b/docs/modules/_ckb_ccc_core.advanced.cccA.html new file mode 100644 index 00000000..d4b7f80a --- /dev/null +++ b/docs/modules/_ckb_ccc_core.advanced.cccA.html @@ -0,0 +1,254 @@ +cccA | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.html b/docs/modules/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.html new file mode 100644 index 00000000..b97a7f64 --- /dev/null +++ b/docs/modules/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.html @@ -0,0 +1,314 @@ +moleculeCodecCkb | Documentation +

    Index

    Classes

    Interfaces

    Type Aliases

    Functions

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_core.advanced.html b/docs/modules/_ckb_ccc_core.advanced.html new file mode 100644 index 00000000..064e27f4 --- /dev/null +++ b/docs/modules/_ckb_ccc_core.advanced.html @@ -0,0 +1,214 @@ +advanced | Documentation +

    Index

    Namespaces

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_core.html b/docs/modules/_ckb_ccc_core.html new file mode 100644 index 00000000..29c6658f --- /dev/null +++ b/docs/modules/_ckb_ccc_core.html @@ -0,0 +1,251 @@ +@ckb-ccc core | Documentation +

    Module @ckb-ccc core

    + + Logo + +

    +

    + CCC Core +

    +

    + NPM Version + GitHub commit activity + GitHub last commit + GitHub deployments + Demo +

    +

    + "CCC - CKBers' Codebase" is the next step of "Common Chains Connector". +
    + Empower yourself with CCC to discover the unlimited potential of CKB. +
    + Interoperate with wallets from different chain ecosystems. +
    + Fully enabling CKB's Turing completeness and cryptographic freedom power. +

    +

    + + + +

    +

    This project is still under active development, and we are looking forward to your feedback. Try its demo now here. It showcases how to use CCC for some basic scenarios in CKB.

    +

    + Read more about CCC on its GitHub Repo. +

    Index

    Modules

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_core.index.ccc.html b/docs/modules/_ckb_ccc_core.index.ccc.html new file mode 100644 index 00000000..9c32b0c5 --- /dev/null +++ b/docs/modules/_ckb_ccc_core.index.ccc.html @@ -0,0 +1,323 @@ +ccc | Documentation +

    Index

    Enumerations

    Classes

    Interfaces

    Type Aliases

    Variables

    Functions

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_core.index.html b/docs/modules/_ckb_ccc_core.index.html new file mode 100644 index 00000000..21cf9ea4 --- /dev/null +++ b/docs/modules/_ckb_ccc_core.index.html @@ -0,0 +1,214 @@ +index | Documentation +

    Index

    Namespaces

    ccc +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_eip6963.advanced.Eip1193A.html b/docs/modules/_ckb_ccc_eip6963.advanced.Eip1193A.html new file mode 100644 index 00000000..4d7bd11c --- /dev/null +++ b/docs/modules/_ckb_ccc_eip6963.advanced.Eip1193A.html @@ -0,0 +1,216 @@ +Eip1193A | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_eip6963.advanced.Eip6963A.html b/docs/modules/_ckb_ccc_eip6963.advanced.Eip6963A.html new file mode 100644 index 00000000..38c321ec --- /dev/null +++ b/docs/modules/_ckb_ccc_eip6963.advanced.Eip6963A.html @@ -0,0 +1,216 @@ +Eip6963A | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_eip6963.advanced.html b/docs/modules/_ckb_ccc_eip6963.advanced.html new file mode 100644 index 00000000..73b0cbdd --- /dev/null +++ b/docs/modules/_ckb_ccc_eip6963.advanced.html @@ -0,0 +1,215 @@ +advanced | Documentation +

    Index

    Namespaces

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_eip6963.html b/docs/modules/_ckb_ccc_eip6963.html new file mode 100644 index 00000000..cf323222 --- /dev/null +++ b/docs/modules/_ckb_ccc_eip6963.html @@ -0,0 +1,251 @@ +@ckb-ccc eip6963 | Documentation +

    Module @ckb-ccc eip6963

    + + Logo + +

    +

    + CCC's support for EIP6963 +

    +

    + NPM Version + GitHub commit activity + GitHub last commit + GitHub deployments + Demo +

    +

    + "CCC - CKBers' Codebase" is the next step of "Common Chains Connector". +
    + Empower yourself with CCC to discover the unlimited potential of CKB. +
    + Interoperate with wallets from different chain ecosystems. +
    + Fully enabling CKB's Turing completeness and cryptographic freedom power. +

    +

    + + + +

    +

    This project is still under active development, and we are looking forward to your feedback. Try its demo now here. It showcases how to use CCC for some basic scenarios in CKB.

    +

    + Read more about CCC on its GitHub Repo. +

    Index

    Modules

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_eip6963.index.Eip6963.html b/docs/modules/_ckb_ccc_eip6963.index.Eip6963.html new file mode 100644 index 00000000..bcac6604 --- /dev/null +++ b/docs/modules/_ckb_ccc_eip6963.index.Eip6963.html @@ -0,0 +1,215 @@ +Eip6963 | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_eip6963.index.html b/docs/modules/_ckb_ccc_eip6963.index.html new file mode 100644 index 00000000..a08acc50 --- /dev/null +++ b/docs/modules/_ckb_ccc_eip6963.index.html @@ -0,0 +1,214 @@ +index | Documentation +

    Index

    Namespaces

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_joy_id.advanced.JoyIdA.html b/docs/modules/_ckb_ccc_joy_id.advanced.JoyIdA.html new file mode 100644 index 00000000..4d39323d --- /dev/null +++ b/docs/modules/_ckb_ccc_joy_id.advanced.JoyIdA.html @@ -0,0 +1,220 @@ +JoyIdA | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_joy_id.advanced.html b/docs/modules/_ckb_ccc_joy_id.advanced.html new file mode 100644 index 00000000..a323fe76 --- /dev/null +++ b/docs/modules/_ckb_ccc_joy_id.advanced.html @@ -0,0 +1,214 @@ +advanced | Documentation +

    Index

    Namespaces

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_joy_id.html b/docs/modules/_ckb_ccc_joy_id.html new file mode 100644 index 00000000..273a53d2 --- /dev/null +++ b/docs/modules/_ckb_ccc_joy_id.html @@ -0,0 +1,251 @@ +@ckb-ccc joy-id | Documentation +

    Module @ckb-ccc joy-id

    + + Logo + +

    +

    + CCC's support for JoyID +

    +

    + NPM Version + GitHub commit activity + GitHub last commit + GitHub deployments + Demo +

    +

    + "CCC - CKBers' Codebase" is the next step of "Common Chains Connector". +
    + Empower yourself with CCC to discover the unlimited potential of CKB. +
    + Interoperate with wallets from different chain ecosystems. +
    + Fully enabling CKB's Turing completeness and cryptographic freedom power. +

    +

    + + + +

    +

    This project is still under active development, and we are looking forward to your feedback. Try its demo now here. It showcases how to use CCC for some basic scenarios in CKB.

    +

    + Read more about CCC on its GitHub Repo. +

    Index

    Modules

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_joy_id.index.JoyId.html b/docs/modules/_ckb_ccc_joy_id.index.JoyId.html new file mode 100644 index 00000000..361d86c7 --- /dev/null +++ b/docs/modules/_ckb_ccc_joy_id.index.JoyId.html @@ -0,0 +1,218 @@ +JoyId | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_joy_id.index.html b/docs/modules/_ckb_ccc_joy_id.index.html new file mode 100644 index 00000000..5173c764 --- /dev/null +++ b/docs/modules/_ckb_ccc_joy_id.index.html @@ -0,0 +1,214 @@ +index | Documentation +

    Index

    Namespaces

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_lumos_patches.html b/docs/modules/_ckb_ccc_lumos_patches.html new file mode 100644 index 00000000..c74c269d --- /dev/null +++ b/docs/modules/_ckb_ccc_lumos_patches.html @@ -0,0 +1,252 @@ +@ckb-ccc lumos-patches | Documentation +

    Module @ckb-ccc lumos-patches

    + + Logo + +

    +

    + Patches for using Lumos with CCC +

    +

    + NPM Version + GitHub commit activity + GitHub last commit + GitHub deployments + Demo +

    +

    + "CCC - CKBers' Codebase" is the next step of "Common Chains Connector". +
    + Empower yourself with CCC to discover the unlimited potential of CKB. +
    + Interoperate with wallets from different chain ecosystems. +
    + Fully enabling CKB's Turing completeness and cryptographic freedom power. +

    +

    + + + +

    +

    This project is still under active development, and we are looking forward to your feedback. Try its demo now here. It showcases how to use CCC for some basic scenarios in CKB.

    +

    + Read more about CCC on its GitHub Repo. +

    Index

    Functions

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_nip07.advanced.Nip07A.html b/docs/modules/_ckb_ccc_nip07.advanced.Nip07A.html new file mode 100644 index 00000000..b5d10873 --- /dev/null +++ b/docs/modules/_ckb_ccc_nip07.advanced.Nip07A.html @@ -0,0 +1,214 @@ +Nip07A | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_nip07.advanced.html b/docs/modules/_ckb_ccc_nip07.advanced.html new file mode 100644 index 00000000..4fa40bc6 --- /dev/null +++ b/docs/modules/_ckb_ccc_nip07.advanced.html @@ -0,0 +1,214 @@ +advanced | Documentation +

    Index

    Namespaces

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_nip07.html b/docs/modules/_ckb_ccc_nip07.html new file mode 100644 index 00000000..7ea1239b --- /dev/null +++ b/docs/modules/_ckb_ccc_nip07.html @@ -0,0 +1,251 @@ +@ckb-ccc nip07 | Documentation +

    Module @ckb-ccc nip07

    + + Logo + +

    +

    + CCC's support for NIP07 +

    +

    + NPM Version + GitHub commit activity + GitHub last commit + GitHub deployments + Demo +

    +

    + "CCC - CKBers' Codebase" is the next step of "Common Chains Connector". +
    + Empower yourself with CCC to discover the unlimited potential of CKB. +
    + Interoperate with wallets from different chain ecosystems. +
    + Fully enabling CKB's Turing completeness and cryptographic freedom power. +

    +

    + + + +

    +

    This project is still under active development, and we are looking forward to your feedback. Try its demo now here. It showcases how to use CCC for some basic scenarios in CKB.

    +

    + Read more about CCC on its GitHub Repo. +

    Index

    Modules

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_nip07.index.Nip07.html b/docs/modules/_ckb_ccc_nip07.index.Nip07.html new file mode 100644 index 00000000..df53ce71 --- /dev/null +++ b/docs/modules/_ckb_ccc_nip07.index.Nip07.html @@ -0,0 +1,215 @@ +Nip07 | Documentation +

    Index

    Classes

    Functions

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_nip07.index.html b/docs/modules/_ckb_ccc_nip07.index.html new file mode 100644 index 00000000..cbbf30e7 --- /dev/null +++ b/docs/modules/_ckb_ccc_nip07.index.html @@ -0,0 +1,214 @@ +index | Documentation +

    Index

    Namespaces

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_okx.advanced.OkxA.html b/docs/modules/_ckb_ccc_okx.advanced.OkxA.html new file mode 100644 index 00000000..84d4976f --- /dev/null +++ b/docs/modules/_ckb_ccc_okx.advanced.OkxA.html @@ -0,0 +1,216 @@ +OkxA | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_okx.advanced.html b/docs/modules/_ckb_ccc_okx.advanced.html new file mode 100644 index 00000000..7a324de7 --- /dev/null +++ b/docs/modules/_ckb_ccc_okx.advanced.html @@ -0,0 +1,214 @@ +advanced | Documentation +

    Index

    Namespaces

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_okx.html b/docs/modules/_ckb_ccc_okx.html new file mode 100644 index 00000000..93e92cb8 --- /dev/null +++ b/docs/modules/_ckb_ccc_okx.html @@ -0,0 +1,251 @@ +@ckb-ccc okx | Documentation +

    Module @ckb-ccc okx

    + + Logo + +

    +

    + CCC's support for OKX +

    +

    + NPM Version + GitHub commit activity + GitHub last commit + GitHub deployments + Demo +

    +

    + "CCC - CKBers' Codebase" is the next step of "Common Chains Connector". +
    + Empower yourself with CCC to discover the unlimited potential of CKB. +
    + Interoperate with wallets from different chain ecosystems. +
    + Fully enabling CKB's Turing completeness and cryptographic freedom power. +

    +

    + + + +

    +

    This project is still under active development, and we are looking forward to your feedback. Try its demo now here. It showcases how to use CCC for some basic scenarios in CKB.

    +

    + Read more about CCC on its GitHub Repo. +

    Index

    Modules

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_okx.index.Okx.html b/docs/modules/_ckb_ccc_okx.index.Okx.html new file mode 100644 index 00000000..710c257b --- /dev/null +++ b/docs/modules/_ckb_ccc_okx.index.Okx.html @@ -0,0 +1,215 @@ +Okx | Documentation +

    Index

    Classes

    Functions

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_okx.index.html b/docs/modules/_ckb_ccc_okx.index.html new file mode 100644 index 00000000..7773b954 --- /dev/null +++ b/docs/modules/_ckb_ccc_okx.index.html @@ -0,0 +1,214 @@ +index | Documentation +

    Index

    Namespaces

    Okx +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_uni_sat.advanced.UniSatA.html b/docs/modules/_ckb_ccc_uni_sat.advanced.UniSatA.html new file mode 100644 index 00000000..a6eabd54 --- /dev/null +++ b/docs/modules/_ckb_ccc_uni_sat.advanced.UniSatA.html @@ -0,0 +1,215 @@ +UniSatA | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_uni_sat.advanced.html b/docs/modules/_ckb_ccc_uni_sat.advanced.html new file mode 100644 index 00000000..9c9a159b --- /dev/null +++ b/docs/modules/_ckb_ccc_uni_sat.advanced.html @@ -0,0 +1,214 @@ +advanced | Documentation +

    Index

    Namespaces

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_uni_sat.html b/docs/modules/_ckb_ccc_uni_sat.html new file mode 100644 index 00000000..44c651a8 --- /dev/null +++ b/docs/modules/_ckb_ccc_uni_sat.html @@ -0,0 +1,251 @@ +@ckb-ccc uni-sat | Documentation +

    Module @ckb-ccc uni-sat

    + + Logo + +

    +

    + CCC's support for UniSat +

    +

    + NPM Version + GitHub commit activity + GitHub last commit + GitHub deployments + Demo +

    +

    + "CCC - CKBers' Codebase" is the next step of "Common Chains Connector". +
    + Empower yourself with CCC to discover the unlimited potential of CKB. +
    + Interoperate with wallets from different chain ecosystems. +
    + Fully enabling CKB's Turing completeness and cryptographic freedom power. +

    +

    + + + +

    +

    This project is still under active development, and we are looking forward to your feedback. Try its demo now here. It showcases how to use CCC for some basic scenarios in CKB.

    +

    + Read more about CCC on its GitHub Repo. +

    Index

    Modules

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_uni_sat.index.UniSat.html b/docs/modules/_ckb_ccc_uni_sat.index.UniSat.html new file mode 100644 index 00000000..9e214263 --- /dev/null +++ b/docs/modules/_ckb_ccc_uni_sat.index.UniSat.html @@ -0,0 +1,215 @@ +UniSat | Documentation +

    Index

    Classes

    Functions

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_uni_sat.index.html b/docs/modules/_ckb_ccc_uni_sat.index.html new file mode 100644 index 00000000..d39371e0 --- /dev/null +++ b/docs/modules/_ckb_ccc_uni_sat.index.html @@ -0,0 +1,214 @@ +index | Documentation +

    Index

    Namespaces

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_utxo_global.advanced.UtxoGlobalA.html b/docs/modules/_ckb_ccc_utxo_global.advanced.UtxoGlobalA.html new file mode 100644 index 00000000..b1c87855 --- /dev/null +++ b/docs/modules/_ckb_ccc_utxo_global.advanced.UtxoGlobalA.html @@ -0,0 +1,215 @@ +UtxoGlobalA | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_utxo_global.advanced.html b/docs/modules/_ckb_ccc_utxo_global.advanced.html new file mode 100644 index 00000000..74bd149f --- /dev/null +++ b/docs/modules/_ckb_ccc_utxo_global.advanced.html @@ -0,0 +1,214 @@ +advanced | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_utxo_global.html b/docs/modules/_ckb_ccc_utxo_global.html new file mode 100644 index 00000000..e385af42 --- /dev/null +++ b/docs/modules/_ckb_ccc_utxo_global.html @@ -0,0 +1,251 @@ +@ckb-ccc utxo-global | Documentation +

    Module @ckb-ccc utxo-global

    + + Logo + +

    +

    + UTXO Global Wallet for Nervos - A New Horizon for Your Crypto Adventures! +

    +

    + NPM Version + GitHub commit activity + GitHub last commit + GitHub deployments + Demo +

    +

    + "CCC - CKBers' Codebase" is the next step of "Common Chains Connector". +
    + Empower yourself with CCC to discover the unlimited potential of CKB. +
    + Interoperate with wallets from different chain ecosystems. +
    + Fully enabling CKB's Turing completeness and cryptographic freedom power. +

    +

    + + + +

    +

    This project is still under active development, and we are looking forward to your feedback. Try its demo now here.

    +

    + Read more about CCC on its GitHub Repo. +

    Index

    Modules

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_utxo_global.index.UtxoGlobal.html b/docs/modules/_ckb_ccc_utxo_global.index.UtxoGlobal.html new file mode 100644 index 00000000..7bc9a706 --- /dev/null +++ b/docs/modules/_ckb_ccc_utxo_global.index.UtxoGlobal.html @@ -0,0 +1,216 @@ +UtxoGlobal | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/modules/_ckb_ccc_utxo_global.index.html b/docs/modules/_ckb_ccc_utxo_global.index.html new file mode 100644 index 00000000..ec31f3cd --- /dev/null +++ b/docs/modules/_ckb_ccc_utxo_global.index.html @@ -0,0 +1,214 @@ +index | Documentation +

    Index

    Namespaces

    Generated using TypeDoc
    + + +

    diff --git a/docs/sitemap.xml b/docs/sitemap.xml new file mode 100644 index 00000000..df668e45 --- /dev/null +++ b/docs/sitemap.xml @@ -0,0 +1,1415 @@ + + + + https://docs.example.com/index.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/hierarchy.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_core.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_core.advanced.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_core.advanced.cccA.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.addressPayloadFromString.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.addressFromPayload.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/enums/_ckb_ccc_core.advanced.cccA.AddressFormat.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/variables/_ckb_ccc_core.advanced.cccA.ADDRESS_BECH32_LIMIT.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.BytesFromEncoding.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CastToArrayBuffer.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CanCastToArrayBuffer.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CreateOptions.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.UnionType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint32Type.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint64Type.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint128Type.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Byte32Type.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint256Type.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesOptType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesOptVecType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesVecType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Byte32VecType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ScriptOptType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ProposalShortIdType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.UncleBlockVecType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.TransactionVecType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ProposalShortIdVecType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellDepVecType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellInputVecType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellOutputVecType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ScriptType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.OutPointType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellInputType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellOutputType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellDepType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.RawTransactionType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.TransactionType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.RawHeaderType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.HeaderType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.UncleBlockType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BlockType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BlockV1Type.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellbaseWitnessType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.WitnessArgsType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUint32.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint32.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUint64.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint64.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUint128.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint128.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeByte32.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Byte32.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUint256.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint256.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBytes.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Bytes.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBytesOpt.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesOpt.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBytesOptVec.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesOptVec.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBytesVec.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesVec.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeByte32Vec.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Byte32Vec.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeScriptOpt.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ScriptOpt.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeProposalShortId.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ProposalShortId.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUncleBlockVec.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.UncleBlockVec.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeTransactionVec.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.TransactionVec.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeProposalShortIdVec.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ProposalShortIdVec.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellDepVec.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellDepVec.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellInputVec.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellInputVec.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellOutputVec.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellOutputVec.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeScript.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Script.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeOutPoint.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.OutPoint.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellInput.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellInput.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellOutput.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellOutput.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellDep.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellDep.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeRawTransaction.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.RawTransaction.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeTransaction.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Transaction.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeRawHeader.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.RawHeader.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeHeader.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Header.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeUncleBlock.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.UncleBlock.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBlock.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Block.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeBlockV1.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BlockV1.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeCellbaseWitness.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellbaseWitness.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.SerializeWitnessArgs.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.WitnessArgs.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.molOptional.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/variables/_ckb_ccc_core.advanced.cccA.HASH_TYPE_TO_NUM.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/variables/_ckb_ccc_core.advanced.cccA.NUM_TO_HASH_TYPE.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/variables/_ckb_ccc_core.advanced.cccA.HASH_TYPES.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/variables/_ckb_ccc_core.advanced.cccA.DEP_TYPE_TO_NUM.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/variables/_ckb_ccc_core.advanced.cccA.NUM_TO_DEP_TYPE.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/variables/_ckb_ccc_core.advanced.cccA.DEP_TYPES.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.filterData.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.filterScript.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.filterNumByRange.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.filterScriptByLenRange.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.filterCell.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/variables/_ckb_ccc_core.advanced.cccA.MAINNET_SCRIPTS.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/variables/_ckb_ccc_core.advanced.cccA.TESTNET_SCRIPTS.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.advanced.cccA.clientSearchKeyRangeFrom.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.ClientCollectableSearchKeyFilterLike.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.ClientCollectableSearchKeyLike.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.advanced.cccA.JsonRpcTransformers.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.JsonRpcPayload.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.JsonRpcHashType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.JsonRpcDepType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.JsonRpcScript.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.JsonRpcOutPoint.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.JsonRpcCellInput.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.JsonRpcCellOutput.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.JsonRpcCellDep.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.JsonRpcTransaction.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.JsonRpcBlockHeader.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.JsonRpcBlockUncle.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.JsonRpcBlock.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.JsonRpcIndexerSearchKeyFilter.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.JsonRpcIndexerSearchKey.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.JsonRpcIndexerSearchKeyTransaction.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.JsonRpcIndexerFindTransactionsResponse.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.advanced.cccA.JsonRpcIndexerFindTransactionsGroupedResponse.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/variables/_ckb_ccc_core.advanced.cccA.CKB_BLAKE2B_PERSONAL.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_core.index.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_core.index.ccc.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.AddressLike.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.Address.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.Bytes.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.BytesLike.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.bytesConcat.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.bytesTo.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.bytesFrom.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.HashTypeLike.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.HashType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.hashTypeFrom.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.hashTypeToBytes.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.hashTypeFromBytes.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.ScriptLike.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.Script.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.DepTypeLike.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.DepType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.depTypeFrom.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.depTypeToBytes.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.depTypeFromBytes.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.OutPointLike.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.OutPoint.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.CellOutputLike.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.CellOutput.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.CellLike.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.Cell.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.CellInputLike.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.CellInput.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.CellDepLike.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.CellDep.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.WitnessArgsLike.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.WitnessArgs.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.udtBalanceFrom.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.TransactionLike.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.Transaction.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/enums/_ckb_ccc_core.index.ccc.KnownScript.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.CellDepInfoLike.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.CellDepInfo.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.Client.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.ClientPublicMainnet.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.ClientPublicTestnet.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.OutputsValidator.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.TransactionStatus.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.ClientTransactionResponse.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.ClientIndexerSearchKeyFilterLike.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.ClientIndexerSearchKeyFilter.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.ClientIndexerSearchKeyLike.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.ClientIndexerSearchKey.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.ClientFindCellsResponse.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.ClientIndexerSearchKeyTransactionLike.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.ClientIndexerSearchKeyTransaction.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.ClientFindTransactionsResponse.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.ClientFindTransactionsGroupedResponse.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.ClientBlockHeader.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.ClientBlockUncle.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.ClientBlock.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.ClientJsonRpc.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.FixedPoint.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.FixedPointLike.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.fixedPointToString.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.fixedPointFrom.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/variables/_ckb_ccc_core.index.ccc.Zero.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/variables/_ckb_ccc_core.index.ccc.One.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_core.index.ccc.Hasher.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.HasherCkb.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.hashCkb.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.hashTypeId.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.HasherKeecak256.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.Hex.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.HexLike.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.hexFrom.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.keystoreEncrypt.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.keystoreDecrypt.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.Num.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.NumLike.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.numMax.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.numFrom.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.numToHex.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.numToBytes.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.numLeToBytes.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.numBeToBytes.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.numFromBytes.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.numLeFromBytes.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.numBeFromBytes.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.SignerBtc.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.SignerBtcPublicKeyReadonly.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.verifyMessageBtcEcdsa.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.SignerCkbPrivateKey.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.SignerCkbPublicKey.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.SignerCkbScriptReadonly.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.messageHashCkbSecp256k1.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.verifyMessageCkbSecp256k1.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.verifyMessageJoyId.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.SignerAlwaysError.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.SignerDummy.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.SignerOpenLink.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.SignerEvm.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.SignerEvmAddressReadonly.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.verifyMessageEvmPersonal.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_core.index.ccc.NostrEvent.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.SignerNostr.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/enums/_ckb_ccc_core.index.ccc.SignerSignType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/enums/_ckb_ccc_core.index.ccc.SignerType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.NetworkPreference.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.Signature.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.Signer.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_core.index.ccc.SignerInfo.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_core.index.ccc.Wallet.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.apply.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.reduceAsync.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_core.index.ccc.isWebview.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_ccc.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_ccc.advanced.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_ccc.advanced.cccA.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_ccc.index.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_ccc.index.ccc.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_ccc.index.ccc.WalletWithSigners.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_ccc.index.ccc.SignersController.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_connector.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_connector.advanced.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_connector.advanced.cccA.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_connector.index.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_connector.index.ccc.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_connector.index.ccc.WebComponentConnector.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_connector_react.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_connector_react.advanced.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_connector_react.advanced.cccA.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_connector_react.index.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_connector_react.index.ccc.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_connector_react.index.ccc.Connector.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_connector_react.index.ccc.Provider.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_connector_react.index.ccc.useCcc.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_connector_react.index.ccc.useSigner.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_utxo_global.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_utxo_global.advanced.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_utxo_global.advanced.UtxoGlobalA.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_utxo_global.advanced.UtxoGlobalA.Provider.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_utxo_global.advanced.UtxoGlobalA.OnMethod.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_utxo_global.index.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_utxo_global.index.UtxoGlobal.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_utxo_global.index.UtxoGlobal.SignerBtc.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_utxo_global.index.UtxoGlobal.SignerCkb.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_utxo_global.index.UtxoGlobal.getUtxoGlobalSigners.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_joy_id.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_joy_id.advanced.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_joy_id.advanced.JoyIdA.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_joy_id.advanced.JoyIdA.PopupReturnType.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_joy_id.advanced.JoyIdA.createPopup.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_joy_id.advanced.JoyIdA.AccountSelector.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_joy_id.advanced.JoyIdA.isSelectorMatch.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/types/_ckb_ccc_joy_id.advanced.JoyIdA.Connection.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_joy_id.advanced.JoyIdA.ConnectionsRepo.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_joy_id.advanced.JoyIdA.ConnectionsRepoLocalStorage.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_joy_id.index.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_joy_id.index.JoyId.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_joy_id.index.JoyId.BitcoinSigner.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_joy_id.index.JoyId.CkbSigner.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_joy_id.index.JoyId.EvmSigner.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_joy_id.index.JoyId.NostrSigner.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_joy_id.index.JoyId.getJoyIdSigners.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_okx.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_okx.advanced.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_okx.advanced.OkxA.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_okx.advanced.OkxA.BitcoinProvider.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_okx.advanced.OkxA.NostrProvider.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_okx.advanced.OkxA.NostrOnMethod.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_okx.index.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_okx.index.Okx.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_okx.index.Okx.BitcoinSigner.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_okx.index.Okx.getOKXSigners.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_uni_sat.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_uni_sat.advanced.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_uni_sat.advanced.UniSatA.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_uni_sat.advanced.UniSatA.Provider.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_uni_sat.advanced.UniSatA.OnMethod.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_uni_sat.index.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_uni_sat.index.UniSat.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_uni_sat.index.UniSat.Signer.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_uni_sat.index.UniSat.getUniSatSigners.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_nip07.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_nip07.advanced.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_nip07.advanced.Nip07A.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_nip07.advanced.Nip07A.Provider.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_nip07.index.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_nip07.index.Nip07.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_nip07.index.Nip07.Signer.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_nip07.index.Nip07.getNip07Signer.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_eip6963.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_eip6963.advanced.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_eip6963.advanced.Eip1193A.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_eip6963.advanced.Eip1193A.Provider.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_eip6963.advanced.Eip1193A.RequestMethod.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_eip6963.advanced.Eip1193A.OnMethod.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_eip6963.advanced.Eip6963A.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_eip6963.advanced.Eip6963A.AnnounceProviderEvent.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_eip6963.advanced.Eip6963A.ProviderDetail.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/interfaces/_ckb_ccc_eip6963.advanced.Eip6963A.ProviderInfo.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_eip6963.index.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_eip6963.index.Eip6963.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_eip6963.index.Eip6963.Signer.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/classes/_ckb_ccc_eip6963.index.Eip6963.SignerFactory.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/modules/_ckb_ccc_lumos_patches.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_lumos_patches.generateScriptInfo.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_lumos_patches.generateDefaultScriptInfos.html + 2024-08-24T12:01:35.440Z + + + https://docs.example.com/functions/_ckb_ccc_lumos_patches.asserts.html + 2024-08-24T12:01:35.440Z + + diff --git a/docs/types/_ckb_ccc_ccc.index.ccc.WalletWithSigners.html b/docs/types/_ckb_ccc_ccc.index.ccc.WalletWithSigners.html new file mode 100644 index 00000000..d9e76d76 --- /dev/null +++ b/docs/types/_ckb_ccc_ccc.index.ccc.WalletWithSigners.html @@ -0,0 +1,213 @@ +WalletWithSigners | Documentation +
    WalletWithSigners: Wallet & {
        signers: SignerInfo[];
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.BytesFromEncoding.html b/docs/types/_ckb_ccc_core.advanced.cccA.BytesFromEncoding.html new file mode 100644 index 00000000..35d89e4a --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.BytesFromEncoding.html @@ -0,0 +1,214 @@ +BytesFromEncoding | Documentation +
    BytesFromEncoding:
        | "utf8"
        | "utf16le"
        | "latin1"
        | "base64"
        | "base64url"
        | "hex"
        | "ascii"
        | "binary"
        | "ucs2"

    Represents the possible encoding formats for converting bytes.

    +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.ClientCollectableSearchKeyFilterLike.html b/docs/types/_ckb_ccc_core.advanced.cccA.ClientCollectableSearchKeyFilterLike.html new file mode 100644 index 00000000..a180cdf9 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.ClientCollectableSearchKeyFilterLike.html @@ -0,0 +1,213 @@ +ClientCollectableSearchKeyFilterLike | Documentation +
    ClientCollectableSearchKeyFilterLike: {
        script?: ScriptLike | null;
        scriptLenRange?: [NumLike, NumLike] | null;
        outputData?: HexLike | null;
        outputDataSearchMode?:
            | "prefix"
            | "exact"
            | "partial"
            | null;
        outputDataLenRange?: [NumLike, NumLike] | null;
        outputCapacityRange?: [NumLike, NumLike] | null;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.ClientCollectableSearchKeyLike.html b/docs/types/_ckb_ccc_core.advanced.cccA.ClientCollectableSearchKeyLike.html new file mode 100644 index 00000000..56543e8a --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.ClientCollectableSearchKeyLike.html @@ -0,0 +1,213 @@ +ClientCollectableSearchKeyLike | Documentation +
    ClientCollectableSearchKeyLike: {
        script: ScriptLike;
        scriptType: "lock" | "type";
        scriptSearchMode: "prefix" | "exact" | "partial";
        filter?: ClientCollectableSearchKeyFilterLike | null;
        withData?: boolean | null;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcBlock.html b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcBlock.html new file mode 100644 index 00000000..d7823edd --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcBlock.html @@ -0,0 +1,213 @@ +JsonRpcBlock | Documentation +
    JsonRpcBlock: {
        header: JsonRpcBlockHeader;
        proposals: Hex[];
        transactions: JsonRpcTransaction[];
        uncles: JsonRpcBlockUncle[];
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcBlockHeader.html b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcBlockHeader.html new file mode 100644 index 00000000..86a95e3f --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcBlockHeader.html @@ -0,0 +1,213 @@ +JsonRpcBlockHeader | Documentation +
    JsonRpcBlockHeader: {
        compact_target: Hex;
        dao: Hex;
        epoch: Hex;
        extra_hash: Hex;
        hash: Hex;
        nonce: Hex;
        number: Hex;
        parent_hash: Hex;
        proposals_hash: Hex;
        timestamp: Hex;
        transactions_root: Hex;
        version: Hex;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcBlockUncle.html b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcBlockUncle.html new file mode 100644 index 00000000..9e9294a7 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcBlockUncle.html @@ -0,0 +1,213 @@ +JsonRpcBlockUncle | Documentation +
    JsonRpcBlockUncle: {
        header: JsonRpcBlockHeader;
        proposals: Hex[];
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcCellDep.html b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcCellDep.html new file mode 100644 index 00000000..15677281 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcCellDep.html @@ -0,0 +1,213 @@ +JsonRpcCellDep | Documentation +
    JsonRpcCellDep: {
        out_point: JsonRpcOutPoint;
        dep_type: JsonRpcDepType;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcCellInput.html b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcCellInput.html new file mode 100644 index 00000000..b92e6fbd --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcCellInput.html @@ -0,0 +1,213 @@ +JsonRpcCellInput | Documentation +
    JsonRpcCellInput: {
        previous_output: JsonRpcOutPoint;
        since: Hex;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcCellOutput.html b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcCellOutput.html new file mode 100644 index 00000000..75f0cabf --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcCellOutput.html @@ -0,0 +1,213 @@ +JsonRpcCellOutput | Documentation +
    JsonRpcCellOutput: {
        capacity: Hex;
        lock: JsonRpcScript;
        type?: JsonRpcScript;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcDepType.html b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcDepType.html new file mode 100644 index 00000000..c48aa8ff --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcDepType.html @@ -0,0 +1,213 @@ +JsonRpcDepType | Documentation +
    JsonRpcDepType: "dep_group" | "code"

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcHashType.html b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcHashType.html new file mode 100644 index 00000000..ee633639 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcHashType.html @@ -0,0 +1,213 @@ +JsonRpcHashType | Documentation +
    JsonRpcHashType:
        | "type"
        | "data"
        | "data1"
        | "data2"

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcIndexerFindTransactionsGroupedResponse.html b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcIndexerFindTransactionsGroupedResponse.html new file mode 100644 index 00000000..0ab201df --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcIndexerFindTransactionsGroupedResponse.html @@ -0,0 +1,213 @@ +JsonRpcIndexerFindTransactionsGroupedResponse | Documentation +

    Type Alias JsonRpcIndexerFindTransactionsGroupedResponse

    JsonRpcIndexerFindTransactionsGroupedResponse: {
        last_cursor: string;
        objects: {
            tx_hash: Hex;
            block_number: Hex;
            tx_index: Hex;
            cells: ["input" | "output", Hex][];
        }[];
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcIndexerFindTransactionsResponse.html b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcIndexerFindTransactionsResponse.html new file mode 100644 index 00000000..953ae466 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcIndexerFindTransactionsResponse.html @@ -0,0 +1,213 @@ +JsonRpcIndexerFindTransactionsResponse | Documentation +
    JsonRpcIndexerFindTransactionsResponse: {
        last_cursor: string;
        objects: {
            tx_hash: Hex;
            block_number: Hex;
            tx_index: Hex;
            io_type: "input" | "output";
            io_index: Hex;
        }[];
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcIndexerSearchKey.html b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcIndexerSearchKey.html new file mode 100644 index 00000000..51d24b6e --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcIndexerSearchKey.html @@ -0,0 +1,213 @@ +JsonRpcIndexerSearchKey | Documentation +
    JsonRpcIndexerSearchKey: {
        script: JsonRpcScript;
        script_type: "lock" | "type";
        script_search_mode?: "prefix" | "exact" | "partial";
        filter?: JsonRpcIndexerSearchKeyFilter;
        with_data?: boolean;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcIndexerSearchKeyFilter.html b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcIndexerSearchKeyFilter.html new file mode 100644 index 00000000..30d28883 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcIndexerSearchKeyFilter.html @@ -0,0 +1,213 @@ +JsonRpcIndexerSearchKeyFilter | Documentation +
    JsonRpcIndexerSearchKeyFilter: {
        script?: JsonRpcScript;
        script_len_range?: [Hex, Hex];
        output_data?: Hex;
        output_data_filter_mode?: "prefix" | "exact" | "partial";
        output_data_len_range?: [Hex, Hex];
        output_capacity_range?: [Hex, Hex];
        block_range?: [Hex, Hex];
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcIndexerSearchKeyTransaction.html b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcIndexerSearchKeyTransaction.html new file mode 100644 index 00000000..075251a7 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcIndexerSearchKeyTransaction.html @@ -0,0 +1,213 @@ +JsonRpcIndexerSearchKeyTransaction | Documentation +
    JsonRpcIndexerSearchKeyTransaction: {
        script: JsonRpcScript;
        script_type: "lock" | "type";
        script_search_mode?: "prefix" | "exact" | "partial";
        filter?: JsonRpcIndexerSearchKeyFilter;
        group_by_transaction?: boolean;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcOutPoint.html b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcOutPoint.html new file mode 100644 index 00000000..5952427f --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcOutPoint.html @@ -0,0 +1,213 @@ +JsonRpcOutPoint | Documentation +
    JsonRpcOutPoint: {
        index: Hex;
        tx_hash: Hex;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcPayload.html b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcPayload.html new file mode 100644 index 00000000..7035d95f --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcPayload.html @@ -0,0 +1,213 @@ +JsonRpcPayload | Documentation +
    JsonRpcPayload: {
        id: number;
        jsonrpc: "2.0";
        method: string;
        params: unknown[] | Record<string, unknown>;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcScript.html b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcScript.html new file mode 100644 index 00000000..c999cfbf --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcScript.html @@ -0,0 +1,213 @@ +JsonRpcScript | Documentation +
    JsonRpcScript: {
        code_hash: Hex;
        hash_type: JsonRpcHashType;
        args: Hex;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcTransaction.html b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcTransaction.html new file mode 100644 index 00000000..d2db139e --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.JsonRpcTransaction.html @@ -0,0 +1,213 @@ +JsonRpcTransaction | Documentation +
    JsonRpcTransaction: {
        version: Hex;
        cell_deps: JsonRpcCellDep[];
        header_deps: Hex[];
        inputs: JsonRpcCellInput[];
        outputs: JsonRpcCellOutput[];
        outputs_data: Hex[];
        witnesses: Hex[];
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Byte32Type.html b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Byte32Type.html new file mode 100644 index 00000000..04abd4e7 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Byte32Type.html @@ -0,0 +1,213 @@ +Byte32Type | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Byte32VecType.html b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Byte32VecType.html new file mode 100644 index 00000000..38b57459 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Byte32VecType.html @@ -0,0 +1,213 @@ +Byte32VecType | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesOptType.html b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesOptType.html new file mode 100644 index 00000000..41a5fb72 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesOptType.html @@ -0,0 +1,213 @@ +BytesOptType | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesOptVecType.html b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesOptVecType.html new file mode 100644 index 00000000..3f342211 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesOptVecType.html @@ -0,0 +1,213 @@ +BytesOptVecType | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesType.html b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesType.html new file mode 100644 index 00000000..738c49b9 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesType.html @@ -0,0 +1,213 @@ +BytesType | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesVecType.html b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesVecType.html new file mode 100644 index 00000000..cb89477c --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.BytesVecType.html @@ -0,0 +1,213 @@ +BytesVecType | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CanCastToArrayBuffer.html b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CanCastToArrayBuffer.html new file mode 100644 index 00000000..2d5d5403 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CanCastToArrayBuffer.html @@ -0,0 +1,213 @@ +CanCastToArrayBuffer | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellDepVecType.html b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellDepVecType.html new file mode 100644 index 00000000..435f6900 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellDepVecType.html @@ -0,0 +1,213 @@ +CellDepVecType | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellInputVecType.html b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellInputVecType.html new file mode 100644 index 00000000..afad7f76 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellInputVecType.html @@ -0,0 +1,213 @@ +CellInputVecType | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellOutputVecType.html b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellOutputVecType.html new file mode 100644 index 00000000..8c1cc46a --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.CellOutputVecType.html @@ -0,0 +1,213 @@ +CellOutputVecType | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ProposalShortIdType.html b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ProposalShortIdType.html new file mode 100644 index 00000000..bd5f86a4 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ProposalShortIdType.html @@ -0,0 +1,213 @@ +ProposalShortIdType | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ProposalShortIdVecType.html b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ProposalShortIdVecType.html new file mode 100644 index 00000000..1d29b286 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ProposalShortIdVecType.html @@ -0,0 +1,213 @@ +ProposalShortIdVecType | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ScriptOptType.html b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ScriptOptType.html new file mode 100644 index 00000000..2947bb77 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.ScriptOptType.html @@ -0,0 +1,213 @@ +ScriptOptType | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.TransactionVecType.html b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.TransactionVecType.html new file mode 100644 index 00000000..63d1e1a0 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.TransactionVecType.html @@ -0,0 +1,213 @@ +TransactionVecType | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint128Type.html b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint128Type.html new file mode 100644 index 00000000..bfcc2291 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint128Type.html @@ -0,0 +1,213 @@ +Uint128Type | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint256Type.html b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint256Type.html new file mode 100644 index 00000000..fbb48db0 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint256Type.html @@ -0,0 +1,213 @@ +Uint256Type | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint32Type.html b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint32Type.html new file mode 100644 index 00000000..e60c9612 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint32Type.html @@ -0,0 +1,213 @@ +Uint32Type | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint64Type.html b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint64Type.html new file mode 100644 index 00000000..6d52cc81 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.Uint64Type.html @@ -0,0 +1,213 @@ +Uint64Type | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.UncleBlockVecType.html b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.UncleBlockVecType.html new file mode 100644 index 00000000..768b1d44 --- /dev/null +++ b/docs/types/_ckb_ccc_core.advanced.cccA.moleculeCodecCkb.UncleBlockVecType.html @@ -0,0 +1,213 @@ +UncleBlockVecType | Documentation +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.AddressLike.html b/docs/types/_ckb_ccc_core.index.ccc.AddressLike.html new file mode 100644 index 00000000..38d126e4 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.AddressLike.html @@ -0,0 +1,213 @@ +AddressLike | Documentation +
    AddressLike: {
        script: ScriptLike;
        prefix: string;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.Bytes.html b/docs/types/_ckb_ccc_core.index.ccc.Bytes.html new file mode 100644 index 00000000..0bfe13e8 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.Bytes.html @@ -0,0 +1,213 @@ +Bytes | Documentation +
    Bytes: Uint8Array

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.BytesLike.html b/docs/types/_ckb_ccc_core.index.ccc.BytesLike.html new file mode 100644 index 00000000..02e29ece --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.BytesLike.html @@ -0,0 +1,213 @@ +BytesLike | Documentation +
    BytesLike:
        | string
        | Uint8Array
        | ArrayBuffer
        | number[]

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.CellDepInfoLike.html b/docs/types/_ckb_ccc_core.index.ccc.CellDepInfoLike.html new file mode 100644 index 00000000..281ef257 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.CellDepInfoLike.html @@ -0,0 +1,213 @@ +CellDepInfoLike | Documentation +
    CellDepInfoLike: {
        cellDep: CellDepLike;
        type?: ScriptLike | null;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.CellDepLike.html b/docs/types/_ckb_ccc_core.index.ccc.CellDepLike.html new file mode 100644 index 00000000..25d7b57a --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.CellDepLike.html @@ -0,0 +1,213 @@ +CellDepLike | Documentation +
    CellDepLike: {
        outPoint: OutPointLike;
        depType: DepTypeLike;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.CellInputLike.html b/docs/types/_ckb_ccc_core.index.ccc.CellInputLike.html new file mode 100644 index 00000000..d383ba54 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.CellInputLike.html @@ -0,0 +1,213 @@ +CellInputLike | Documentation +
    CellInputLike: {
        previousOutput: OutPointLike;
        since?: NumLike | null;
        cellOutput?: CellOutputLike | null;
        outputData?: HexLike | null;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.CellLike.html b/docs/types/_ckb_ccc_core.index.ccc.CellLike.html new file mode 100644 index 00000000..0defad3d --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.CellLike.html @@ -0,0 +1,213 @@ +CellLike | Documentation +
    CellLike: {
        outPoint: OutPointLike;
        cellOutput: CellOutputLike;
        outputData: HexLike;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.CellOutputLike.html b/docs/types/_ckb_ccc_core.index.ccc.CellOutputLike.html new file mode 100644 index 00000000..5d97146c --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.CellOutputLike.html @@ -0,0 +1,213 @@ +CellOutputLike | Documentation +
    CellOutputLike: {
        capacity: NumLike;
        lock: ScriptLike;
        type?: ScriptLike | null;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.ClientBlock.html b/docs/types/_ckb_ccc_core.index.ccc.ClientBlock.html new file mode 100644 index 00000000..7d3e9e67 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.ClientBlock.html @@ -0,0 +1,213 @@ +ClientBlock | Documentation +
    ClientBlock: {
        header: ClientBlockHeader;
        proposals: Hex[];
        transactions: ccc.Transaction[];
        uncles: ClientBlockUncle[];
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.ClientBlockHeader.html b/docs/types/_ckb_ccc_core.index.ccc.ClientBlockHeader.html new file mode 100644 index 00000000..6e6d2229 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.ClientBlockHeader.html @@ -0,0 +1,213 @@ +ClientBlockHeader | Documentation +
    ClientBlockHeader: {
        compactTarget: Num;
        dao: Hex;
        epoch: Num;
        extraHash: Hex;
        hash: Hex;
        nonce: Num;
        number: Num;
        parentHash: Hex;
        proposalsHash: Hex;
        timestamp: Num;
        transactionsRoot: Hex;
        version: Num;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.ClientBlockUncle.html b/docs/types/_ckb_ccc_core.index.ccc.ClientBlockUncle.html new file mode 100644 index 00000000..1d6c7f5f --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.ClientBlockUncle.html @@ -0,0 +1,213 @@ +ClientBlockUncle | Documentation +
    ClientBlockUncle: {
        header: ClientBlockHeader;
        proposals: Hex[];
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.ClientFindCellsResponse.html b/docs/types/_ckb_ccc_core.index.ccc.ClientFindCellsResponse.html new file mode 100644 index 00000000..03f3a151 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.ClientFindCellsResponse.html @@ -0,0 +1,213 @@ +ClientFindCellsResponse | Documentation +
    ClientFindCellsResponse: {
        lastCursor: string;
        cells: Cell[];
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.ClientFindTransactionsGroupedResponse.html b/docs/types/_ckb_ccc_core.index.ccc.ClientFindTransactionsGroupedResponse.html new file mode 100644 index 00000000..8d909b21 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.ClientFindTransactionsGroupedResponse.html @@ -0,0 +1,213 @@ +ClientFindTransactionsGroupedResponse | Documentation +

    Type Alias ClientFindTransactionsGroupedResponse

    ClientFindTransactionsGroupedResponse: {
        lastCursor: string;
        transactions: {
            txHash: Hex;
            blockNumber: Num;
            txIndex: Num;
            cells: {
                isInput: boolean;
                cellIndex: Num;
            }[];
        }[];
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.ClientFindTransactionsResponse.html b/docs/types/_ckb_ccc_core.index.ccc.ClientFindTransactionsResponse.html new file mode 100644 index 00000000..42e03a72 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.ClientFindTransactionsResponse.html @@ -0,0 +1,213 @@ +ClientFindTransactionsResponse | Documentation +
    ClientFindTransactionsResponse: {
        lastCursor: string;
        transactions: {
            txHash: Hex;
            blockNumber: Num;
            txIndex: Num;
            isInput: boolean;
            cellIndex: Num;
        }[];
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.ClientIndexerSearchKeyFilterLike.html b/docs/types/_ckb_ccc_core.index.ccc.ClientIndexerSearchKeyFilterLike.html new file mode 100644 index 00000000..66afeda8 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.ClientIndexerSearchKeyFilterLike.html @@ -0,0 +1,213 @@ +ClientIndexerSearchKeyFilterLike | Documentation +
    ClientIndexerSearchKeyFilterLike: ClientCollectableSearchKeyFilterLike & {
        blockRange?: [NumLike, NumLike] | null;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.ClientIndexerSearchKeyLike.html b/docs/types/_ckb_ccc_core.index.ccc.ClientIndexerSearchKeyLike.html new file mode 100644 index 00000000..347c4aa7 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.ClientIndexerSearchKeyLike.html @@ -0,0 +1,213 @@ +ClientIndexerSearchKeyLike | Documentation +
    ClientIndexerSearchKeyLike: ClientCollectableSearchKeyLike & {
        filter?: ClientIndexerSearchKeyFilterLike | null;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.ClientIndexerSearchKeyTransactionLike.html b/docs/types/_ckb_ccc_core.index.ccc.ClientIndexerSearchKeyTransactionLike.html new file mode 100644 index 00000000..da0c5438 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.ClientIndexerSearchKeyTransactionLike.html @@ -0,0 +1,213 @@ +ClientIndexerSearchKeyTransactionLike | Documentation +

    Type Alias ClientIndexerSearchKeyTransactionLike

    ClientIndexerSearchKeyTransactionLike: Omit<ClientCollectableSearchKeyLike, "withData"> & {
        filter?: ClientIndexerSearchKeyFilterLike | null;
        groupByTransaction?: boolean | null;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.ClientTransactionResponse.html b/docs/types/_ckb_ccc_core.index.ccc.ClientTransactionResponse.html new file mode 100644 index 00000000..0c9d850b --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.ClientTransactionResponse.html @@ -0,0 +1,213 @@ +ClientTransactionResponse | Documentation +
    ClientTransactionResponse: {
        transaction: ccc.Transaction;
        status: TransactionStatus;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.DepType.html b/docs/types/_ckb_ccc_core.index.ccc.DepType.html new file mode 100644 index 00000000..cb0da800 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.DepType.html @@ -0,0 +1,213 @@ +DepType | Documentation +
    DepType: "depGroup" | "code"

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.DepTypeLike.html b/docs/types/_ckb_ccc_core.index.ccc.DepTypeLike.html new file mode 100644 index 00000000..918aa896 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.DepTypeLike.html @@ -0,0 +1,213 @@ +DepTypeLike | Documentation +
    DepTypeLike: string | number | bigint

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.FixedPoint.html b/docs/types/_ckb_ccc_core.index.ccc.FixedPoint.html new file mode 100644 index 00000000..457851f6 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.FixedPoint.html @@ -0,0 +1,214 @@ +FixedPoint | Documentation +
    FixedPoint: bigint

    Represents a fixed point value as a bigint.

    +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.FixedPointLike.html b/docs/types/_ckb_ccc_core.index.ccc.FixedPointLike.html new file mode 100644 index 00000000..114a7cf4 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.FixedPointLike.html @@ -0,0 +1,215 @@ +FixedPointLike | Documentation +
    FixedPointLike: bigint | string | number

    Represents a value that can be converted to a fixed point value. +It can be a bigint, string, or number.

    +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.HashType.html b/docs/types/_ckb_ccc_core.index.ccc.HashType.html new file mode 100644 index 00000000..8c0c5a79 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.HashType.html @@ -0,0 +1,213 @@ +HashType | Documentation +
    HashType:
        | "type"
        | "data"
        | "data1"
        | "data2"

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.HashTypeLike.html b/docs/types/_ckb_ccc_core.index.ccc.HashTypeLike.html new file mode 100644 index 00000000..9fb77ed6 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.HashTypeLike.html @@ -0,0 +1,213 @@ +HashTypeLike | Documentation +
    HashTypeLike: string | number | bigint

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.Hex.html b/docs/types/_ckb_ccc_core.index.ccc.Hex.html new file mode 100644 index 00000000..2a0c3a98 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.Hex.html @@ -0,0 +1,214 @@ +Hex | Documentation +
    Hex: `0x${string}`

    Represents a hexadecimal string prefixed with "0x".

    +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.HexLike.html b/docs/types/_ckb_ccc_core.index.ccc.HexLike.html new file mode 100644 index 00000000..a3b1e609 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.HexLike.html @@ -0,0 +1,215 @@ +HexLike | Documentation +
    HexLike: BytesLike

    Represents a value that can be converted to a hexadecimal string. +It extends the BytesLike type.

    +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.NetworkPreference.html b/docs/types/_ckb_ccc_core.index.ccc.NetworkPreference.html new file mode 100644 index 00000000..3a189301 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.NetworkPreference.html @@ -0,0 +1,221 @@ +NetworkPreference | Documentation +
    NetworkPreference: {
        addressPrefix: string;
        signerType: SignerType;
        network: string;
    }

    Type declaration

    • addressPrefix: string
    • signerType: SignerType
    • network: string

      Wallet signers should check if the wallet is using preferred networks. +If not, try to switch to the first preferred network. +If non preferred, let users choose what they want. +BTC: // They made a mess... +btc +btcTestnet +btcSignet // OKX +fractalBtc // UniSat

      +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.Num.html b/docs/types/_ckb_ccc_core.index.ccc.Num.html new file mode 100644 index 00000000..d47ba7eb --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.Num.html @@ -0,0 +1,214 @@ +Num | Documentation +
    Num: bigint

    Represents a numeric value as a bigint.

    +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.NumLike.html b/docs/types/_ckb_ccc_core.index.ccc.NumLike.html new file mode 100644 index 00000000..a9ed4913 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.NumLike.html @@ -0,0 +1,215 @@ +NumLike | Documentation +
    NumLike:
        | string
        | number
        | bigint
        | HexLike

    Represents a value that can be converted to a numeric value. +It can be a string, number, bigint, or HexLike.

    +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.OutPointLike.html b/docs/types/_ckb_ccc_core.index.ccc.OutPointLike.html new file mode 100644 index 00000000..18169eb3 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.OutPointLike.html @@ -0,0 +1,213 @@ +OutPointLike | Documentation +
    OutPointLike: {
        txHash: HexLike;
        index: NumLike;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.OutputsValidator.html b/docs/types/_ckb_ccc_core.index.ccc.OutputsValidator.html new file mode 100644 index 00000000..92ec3b89 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.OutputsValidator.html @@ -0,0 +1,213 @@ +OutputsValidator | Documentation +
    OutputsValidator: "passthrough" | "well_known_scripts_only"

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.ScriptLike.html b/docs/types/_ckb_ccc_core.index.ccc.ScriptLike.html new file mode 100644 index 00000000..c72a9ff2 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.ScriptLike.html @@ -0,0 +1,213 @@ +ScriptLike | Documentation +
    ScriptLike: {
        codeHash: BytesLike;
        hashType: HashTypeLike;
        args: BytesLike;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.TransactionLike.html b/docs/types/_ckb_ccc_core.index.ccc.TransactionLike.html new file mode 100644 index 00000000..701f5ba2 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.TransactionLike.html @@ -0,0 +1,213 @@ +TransactionLike | Documentation +
    TransactionLike: {
        version?: NumLike | null;
        cellDeps?: CellDepLike[] | null;
        headerDeps?: HexLike[] | null;
        inputs?: CellInputLike[] | null;
        outputs?: (Omit<CellOutputLike, "capacity"> & Partial<Pick<CellOutputLike, "capacity">>)[] | null;
        outputsData?: HexLike[] | null;
        witnesses?: HexLike[] | null;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.TransactionStatus.html b/docs/types/_ckb_ccc_core.index.ccc.TransactionStatus.html new file mode 100644 index 00000000..9a7380b6 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.TransactionStatus.html @@ -0,0 +1,213 @@ +TransactionStatus | Documentation +
    TransactionStatus:
        | "pending"
        | "proposed"
        | "committed"
        | "unknown"
        | "rejected"

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.Wallet.html b/docs/types/_ckb_ccc_core.index.ccc.Wallet.html new file mode 100644 index 00000000..c150bd67 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.Wallet.html @@ -0,0 +1,214 @@ +Wallet | Documentation +
    Wallet: {
        name: string;
        icon: string;
    }

    Represents a wallet with a name, icon, and an array of signer information.

    +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_core.index.ccc.WitnessArgsLike.html b/docs/types/_ckb_ccc_core.index.ccc.WitnessArgsLike.html new file mode 100644 index 00000000..6617ad40 --- /dev/null +++ b/docs/types/_ckb_ccc_core.index.ccc.WitnessArgsLike.html @@ -0,0 +1,213 @@ +WitnessArgsLike | Documentation +
    WitnessArgsLike: {
        lock?: HexLike | null;
        inputType?: HexLike | null;
        outputType?: HexLike | null;
    }

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_joy_id.advanced.JoyIdA.AccountSelector.html b/docs/types/_ckb_ccc_joy_id.advanced.JoyIdA.AccountSelector.html new file mode 100644 index 00000000..1190690b --- /dev/null +++ b/docs/types/_ckb_ccc_joy_id.advanced.JoyIdA.AccountSelector.html @@ -0,0 +1,216 @@ +AccountSelector | Documentation +
    AccountSelector: {
        uri: string;
        addressType: string;
    }

    Type representing an account selector with a URI and address type.

    +

    Type declaration

    • uri: string

      The URI of the account.

      +
    • addressType: string

      The address type of the account.

      +

    Generated using TypeDoc
    + + +

    diff --git a/docs/types/_ckb_ccc_joy_id.advanced.JoyIdA.Connection.html b/docs/types/_ckb_ccc_joy_id.advanced.JoyIdA.Connection.html new file mode 100644 index 00000000..97e5125d --- /dev/null +++ b/docs/types/_ckb_ccc_joy_id.advanced.JoyIdA.Connection.html @@ -0,0 +1,217 @@ +Connection | Documentation +
    Connection: {
        address: string;
        publicKey: Hex;
        keyType: string;
    }

    Type representing a connection with an address, public key, and key type.

    +

    Type declaration

    • Readonlyaddress: string

      The address of the connection.

      +
    • ReadonlypublicKey: Hex

      The public key of the connection.

      +
    • ReadonlykeyType: string

      The key type of the connection.

      +

    Generated using TypeDoc
    + + +

    diff --git a/docs/variables/_ckb_ccc_core.advanced.cccA.ADDRESS_BECH32_LIMIT.html b/docs/variables/_ckb_ccc_core.advanced.cccA.ADDRESS_BECH32_LIMIT.html new file mode 100644 index 00000000..7da3855e --- /dev/null +++ b/docs/variables/_ckb_ccc_core.advanced.cccA.ADDRESS_BECH32_LIMIT.html @@ -0,0 +1,213 @@ +ADDRESS_BECH32_LIMIT | Documentation +
    ADDRESS_BECH32_LIMIT: 1023 = 1023

    Generated using TypeDoc
    + + +

    diff --git a/docs/variables/_ckb_ccc_core.advanced.cccA.CKB_BLAKE2B_PERSONAL.html b/docs/variables/_ckb_ccc_core.advanced.cccA.CKB_BLAKE2B_PERSONAL.html new file mode 100644 index 00000000..5ee1b504 --- /dev/null +++ b/docs/variables/_ckb_ccc_core.advanced.cccA.CKB_BLAKE2B_PERSONAL.html @@ -0,0 +1,213 @@ +CKB_BLAKE2B_PERSONAL | Documentation +
    CKB_BLAKE2B_PERSONAL: "ckb-default-hash" = "ckb-default-hash"

    Generated using TypeDoc
    + + +

    diff --git a/docs/variables/_ckb_ccc_core.advanced.cccA.DEP_TYPES.html b/docs/variables/_ckb_ccc_core.advanced.cccA.DEP_TYPES.html new file mode 100644 index 00000000..8179f2aa --- /dev/null +++ b/docs/variables/_ckb_ccc_core.advanced.cccA.DEP_TYPES.html @@ -0,0 +1,213 @@ +DEP_TYPES | Documentation +
    DEP_TYPES: string[] = ...

    Generated using TypeDoc
    + + +

    diff --git a/docs/variables/_ckb_ccc_core.advanced.cccA.DEP_TYPE_TO_NUM.html b/docs/variables/_ckb_ccc_core.advanced.cccA.DEP_TYPE_TO_NUM.html new file mode 100644 index 00000000..30417d16 --- /dev/null +++ b/docs/variables/_ckb_ccc_core.advanced.cccA.DEP_TYPE_TO_NUM.html @@ -0,0 +1,213 @@ +DEP_TYPE_TO_NUM | Documentation +
    DEP_TYPE_TO_NUM: Record<DepType, number> = ...

    Generated using TypeDoc
    + + +

    diff --git a/docs/variables/_ckb_ccc_core.advanced.cccA.HASH_TYPES.html b/docs/variables/_ckb_ccc_core.advanced.cccA.HASH_TYPES.html new file mode 100644 index 00000000..48c2638b --- /dev/null +++ b/docs/variables/_ckb_ccc_core.advanced.cccA.HASH_TYPES.html @@ -0,0 +1,213 @@ +HASH_TYPES | Documentation +
    HASH_TYPES: string[] = ...

    Generated using TypeDoc
    + + +

    diff --git a/docs/variables/_ckb_ccc_core.advanced.cccA.HASH_TYPE_TO_NUM.html b/docs/variables/_ckb_ccc_core.advanced.cccA.HASH_TYPE_TO_NUM.html new file mode 100644 index 00000000..ead73658 --- /dev/null +++ b/docs/variables/_ckb_ccc_core.advanced.cccA.HASH_TYPE_TO_NUM.html @@ -0,0 +1,213 @@ +HASH_TYPE_TO_NUM | Documentation +
    HASH_TYPE_TO_NUM: Record<HashType, number> = ...

    Generated using TypeDoc
    + + +

    diff --git a/docs/variables/_ckb_ccc_core.advanced.cccA.MAINNET_SCRIPTS.html b/docs/variables/_ckb_ccc_core.advanced.cccA.MAINNET_SCRIPTS.html new file mode 100644 index 00000000..dc38e8c1 --- /dev/null +++ b/docs/variables/_ckb_ccc_core.advanced.cccA.MAINNET_SCRIPTS.html @@ -0,0 +1,213 @@ +MAINNET_SCRIPTS | Documentation +
    MAINNET_SCRIPTS: Record<KnownScript, Pick<ccc.Script, "codeHash" | "hashType"> & {
        cellDeps: CellDepInfoLike[];
    } | undefined> = ...

    Generated using TypeDoc
    + + +

    diff --git a/docs/variables/_ckb_ccc_core.advanced.cccA.NUM_TO_DEP_TYPE.html b/docs/variables/_ckb_ccc_core.advanced.cccA.NUM_TO_DEP_TYPE.html new file mode 100644 index 00000000..077ca93b --- /dev/null +++ b/docs/variables/_ckb_ccc_core.advanced.cccA.NUM_TO_DEP_TYPE.html @@ -0,0 +1,213 @@ +NUM_TO_DEP_TYPE | Documentation +
    NUM_TO_DEP_TYPE: Record<number, DepType> = ...

    Generated using TypeDoc
    + + +

    diff --git a/docs/variables/_ckb_ccc_core.advanced.cccA.NUM_TO_HASH_TYPE.html b/docs/variables/_ckb_ccc_core.advanced.cccA.NUM_TO_HASH_TYPE.html new file mode 100644 index 00000000..d231b688 --- /dev/null +++ b/docs/variables/_ckb_ccc_core.advanced.cccA.NUM_TO_HASH_TYPE.html @@ -0,0 +1,213 @@ +NUM_TO_HASH_TYPE | Documentation +
    NUM_TO_HASH_TYPE: Record<number, HashType> = ...

    Generated using TypeDoc
    + + +

    diff --git a/docs/variables/_ckb_ccc_core.advanced.cccA.TESTNET_SCRIPTS.html b/docs/variables/_ckb_ccc_core.advanced.cccA.TESTNET_SCRIPTS.html new file mode 100644 index 00000000..14bc4326 --- /dev/null +++ b/docs/variables/_ckb_ccc_core.advanced.cccA.TESTNET_SCRIPTS.html @@ -0,0 +1,213 @@ +TESTNET_SCRIPTS | Documentation +
    TESTNET_SCRIPTS: Record<KnownScript, Pick<ccc.Script, "codeHash" | "hashType"> & {
        cellDeps: CellDepInfoLike[];
    }> = ...

    Generated using TypeDoc
    + + +

    diff --git a/docs/variables/_ckb_ccc_core.index.ccc.One.html b/docs/variables/_ckb_ccc_core.index.ccc.One.html new file mode 100644 index 00000000..75899e85 --- /dev/null +++ b/docs/variables/_ckb_ccc_core.index.ccc.One.html @@ -0,0 +1,215 @@ +One | Documentation +
    One: FixedPoint = ...

    Represents the fixed point value of one as a FixedPoint (bigint). +Equivalent to 1 in fixed-point representation with default decimals (8).

    +

    Generated using TypeDoc
    + + +

    diff --git a/docs/variables/_ckb_ccc_core.index.ccc.Zero.html b/docs/variables/_ckb_ccc_core.index.ccc.Zero.html new file mode 100644 index 00000000..fcec209d --- /dev/null +++ b/docs/variables/_ckb_ccc_core.index.ccc.Zero.html @@ -0,0 +1,214 @@ +Zero | Documentation +
    Zero: FixedPoint = ...

    Represents the fixed point value of zero as a bigint.

    +

    Generated using TypeDoc
    + + +

    diff --git a/package.json b/package.json index 54559672..59fa6af7 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "sync:config": "pnpm -r --filter !./packages/demo --filter !./packages/faucet -c exec \"cp ../../config/* . && cp ../../config/.* .\"", "change": "pnpm changeset", "version": "pnpm changeset version", - "publish": "pnpm publish -r" + "publish": "pnpm publish -r", + "docs": "typedoc" }, "devDependencies": { "@changesets/changelog-github": "^0.5.0", @@ -20,6 +21,9 @@ "@types/jest": "^29.5.12", "jest": "^29.7.0", "ts-jest": "^29.1.4", + "typedoc": "^0.26.6", + "typedoc-material-theme": "^1.1.0", + "typedoc-plugin-extras": "^3.1.0", "typescript": "^5.4.5" } } diff --git a/packages/ccc/src/signersController.ts b/packages/ccc/src/signersController.ts index 32d23759..a2031be5 100644 --- a/packages/ccc/src/signersController.ts +++ b/packages/ccc/src/signersController.ts @@ -13,10 +13,16 @@ import { OKX_SVG } from "./assets/okx.svg.js"; import { UNI_SAT_SVG } from "./assets/uni-sat.svg.js"; import { UTXO_GLOBAL_SVG } from "./assets/utxo-global.svg.js"; +/** + * @public + */ export type WalletWithSigners = ccc.Wallet & { signers: ccc.SignerInfo[]; }; +/** + * @public + */ export class SignersController { private resetListeners: (() => void)[] = []; diff --git a/packages/ccc/typedoc.json b/packages/ccc/typedoc.json new file mode 100644 index 00000000..48c52f25 --- /dev/null +++ b/packages/ccc/typedoc.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://typedoc.org/schema.json", + "entryPoints": [ + "./src/index.ts", + "./src/advanced.ts" + ], + "extends": [ + "../../typedoc.base.json" + ], + "name": "@ckb-ccc ccc" +} \ No newline at end of file diff --git a/packages/connector-react/typedoc.json b/packages/connector-react/typedoc.json new file mode 100644 index 00000000..648b7e0f --- /dev/null +++ b/packages/connector-react/typedoc.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://typedoc.org/schema.json", + "entryPoints": [ + "./src/index.ts", + "./src/advanced.ts" + ], + "extends": [ + "../../typedoc.base.json" + ], + "name": "@ckb-ccc connector-react" +} \ No newline at end of file diff --git a/packages/connector/typedoc.json b/packages/connector/typedoc.json new file mode 100644 index 00000000..42b87888 --- /dev/null +++ b/packages/connector/typedoc.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://typedoc.org/schema.json", + "entryPoints": [ + "./src/index.ts", + "./src/advanced.ts" + ], + "extends": [ + "../../typedoc.base.json" + ], + "name": "@ckb-ccc connector" +} \ No newline at end of file diff --git a/packages/core/src/address/index.ts b/packages/core/src/address/index.ts index 8ebbceaa..c307a4bd 100644 --- a/packages/core/src/address/index.ts +++ b/packages/core/src/address/index.ts @@ -10,6 +10,9 @@ import { addressPayloadFromString, } from "./address.advanced.js"; +/** + * @public + */ export type AddressLike = { script: ScriptLike; prefix: string; @@ -17,8 +20,8 @@ export type AddressLike = { /** * Represents a ckb address with associated script and prefix. + * @public */ - export class Address { /** * Creates an instance of Address. diff --git a/packages/core/src/advancedBarrel.ts b/packages/core/src/advancedBarrel.ts index a59575aa..06aa060a 100644 --- a/packages/core/src/advancedBarrel.ts +++ b/packages/core/src/advancedBarrel.ts @@ -1,4 +1,5 @@ export * from "./address/advanced.js"; +export * from "./bytes/advanced.js"; export * from "./ckb/advanced.js"; export * from "./client/advanced.js"; export * from "./hasher/advanced.js"; diff --git a/packages/core/src/bytes/advanced.ts b/packages/core/src/bytes/advanced.ts index e5eb3e98..e5914031 100644 --- a/packages/core/src/bytes/advanced.ts +++ b/packages/core/src/bytes/advanced.ts @@ -1,5 +1,6 @@ /** * Represents the possible encoding formats for converting bytes. + * @public */ export type BytesFromEncoding = | "utf8" // UTF-8 encoding diff --git a/packages/core/src/bytes/index.ts b/packages/core/src/bytes/index.ts index b94a9931..739a5144 100644 --- a/packages/core/src/bytes/index.ts +++ b/packages/core/src/bytes/index.ts @@ -1,11 +1,18 @@ import { Buffer } from "buffer/index.js"; import { BytesFromEncoding } from "./advanced.js"; +/** + * @public + */ export type Bytes = Uint8Array; +/** + * @public + */ export type BytesLike = string | Uint8Array | ArrayBuffer | number[]; /** * Concatenates multiple byte-like arrays into a single byte array. + * @public * * @param args - The byte-like arrays to concatenate. * @returns A Uint8Array containing the concatenated bytes. @@ -33,6 +40,7 @@ export function bytesConcat(...args: BytesLike[]): Bytes { /** * Converts a byte-like value to a string using the specified encoding. + * @public * * @param val - The byte-like value to convert. * @param encoding - The encoding to use for the conversion, as defined by the BytesFromEncoding type. @@ -54,6 +62,7 @@ export function bytesTo(val: BytesLike, encoding: BytesFromEncoding): string { /** * Converts various types of byte-like values to a Uint8Array. + * @public * * @param bytes - The byte-like value to convert. It can be a string, Uint8Array, ArrayBuffer, or number array. * @param encoding - Optional encoding to use if the input is a string. Defaults to hexadecimal if not specified. diff --git a/packages/core/src/ckb/script.ts b/packages/core/src/ckb/script.ts index 2a94972f..d58381b0 100644 --- a/packages/core/src/ckb/script.ts +++ b/packages/core/src/ckb/script.ts @@ -9,11 +9,18 @@ import { NUM_TO_HASH_TYPE, } from "./script.advanced.js"; +/** + * @public + */ export type HashTypeLike = string | number | bigint; +/** + * @public + */ export type HashType = "type" | "data" | "data1" | "data2"; /** * Converts a HashTypeLike value to a HashType. + * @public * * @param val - The value to convert, which can be a string, number, or bigint. * @returns The corresponding HashType. @@ -50,6 +57,7 @@ export function hashTypeFrom(val: HashTypeLike): HashType { /** * Converts a HashTypeLike value to its corresponding byte representation. + * @public * * @param hashType - The hash type value to convert. * @returns A Uint8Array containing the byte representation of the hash type. @@ -66,6 +74,7 @@ export function hashTypeToBytes(hashType: HashTypeLike): Bytes { /** * Converts a byte-like value to a HashType. + * @public * * @param bytes - The byte-like value to convert. * @returns The corresponding HashType. @@ -82,11 +91,17 @@ export function hashTypeFromBytes(bytes: BytesLike): HashType { return NUM_TO_HASH_TYPE[bytesFrom(bytes)[0]]; } +/** + * @public + */ export type ScriptLike = { codeHash: BytesLike; hashType: HashTypeLike; args: BytesLike; }; +/** + * @public + */ export class Script { /** * Creates an instance of Script. diff --git a/packages/core/src/ckb/transaction.ts b/packages/core/src/ckb/transaction.ts index f9f325a7..362f6c89 100644 --- a/packages/core/src/ckb/transaction.ts +++ b/packages/core/src/ckb/transaction.ts @@ -23,12 +23,19 @@ import * as mol from "./molecule.advanced/index.js"; import { Script, ScriptLike } from "./script.js"; import { DEP_TYPE_TO_NUM, NUM_TO_DEP_TYPE } from "./transaction.advanced.js"; +/** + * @public + */ export type DepTypeLike = string | number | bigint; +/** + * @public + */ export type DepType = "depGroup" | "code"; /** * Converts a DepTypeLike value to a DepType. - * + * @public + * * @param val - The value to convert, which can be a string, number, or bigint. * @returns The corresponding DepType. * @@ -61,6 +68,7 @@ export function depTypeFrom(val: DepTypeLike): DepType { /** * Converts a DepTypeLike value to its corresponding byte representation. + * @public * * @param depType - The dep type value to convert. * @returns A Uint8Array containing the byte representation of the dep type. @@ -77,6 +85,7 @@ export function depTypeToBytes(depType: DepTypeLike): Bytes { /** * Converts a byte-like value to a DepType. + * @public * * @param bytes - The byte-like value to convert. * @returns The corresponding DepType. @@ -93,10 +102,16 @@ export function depTypeFromBytes(bytes: BytesLike): DepType { return NUM_TO_DEP_TYPE[bytesFrom(bytes)[0]]; } +/** + * @public + */ export type OutPointLike = { txHash: HexLike; index: NumLike; }; +/** + * @public + */ export class OutPoint { /** * Creates an instance of OutPoint. @@ -211,11 +226,17 @@ export class OutPoint { } } +/** + * @public + */ export type CellOutputLike = { capacity: NumLike; lock: ScriptLike; type?: ScriptLike | null; }; +/** + * @public + */ export class CellOutput { /** * Creates an instance of CellOutput. @@ -331,11 +352,17 @@ export class CellOutput { } } +/** + * @public + */ export type CellLike = { outPoint: OutPointLike; cellOutput: CellOutputLike; outputData: HexLike; }; +/** + * @public + */ export class Cell { /** * Creates an instance of Cell. @@ -389,12 +416,18 @@ export class Cell { } } +/** + * @public + */ export type CellInputLike = { previousOutput: OutPointLike; since?: NumLike | null; cellOutput?: CellOutputLike | null; outputData?: HexLike | null; }; +/** + * @public + */ export class CellInput { /** * Creates an instance of CellInput. @@ -535,10 +568,16 @@ export class CellInput { } } +/** + * @public + */ export type CellDepLike = { outPoint: OutPointLike; depType: DepTypeLike; }; +/** + * @public + */ export class CellDep { /** * Creates an instance of CellDep. @@ -662,11 +701,17 @@ export class CellDep { } } +/** + * @public + */ export type WitnessArgsLike = { lock?: HexLike | null; inputType?: HexLike | null; outputType?: HexLike | null; }; +/** + * @public + */ export class WitnessArgs { /** * Creates an instance of WitnessArgs. @@ -765,6 +810,9 @@ export class WitnessArgs { } } +/** + * @public + */ export function udtBalanceFrom(dataLike: BytesLike): Num { const data = bytesFrom(dataLike).slice(0, 16); if (data.length !== 16) { @@ -774,6 +822,9 @@ export function udtBalanceFrom(dataLike: BytesLike): Num { return numFromBytes(data); } +/** + * @public + */ export type TransactionLike = { version?: NumLike | null; cellDeps?: CellDepLike[] | null; @@ -786,6 +837,9 @@ export type TransactionLike = { outputsData?: HexLike[] | null; witnesses?: HexLike[] | null; }; +/** + * @public + */ export class Transaction { /** * Creates an instance of Transaction. @@ -1124,10 +1178,10 @@ export class Transaction { * ``` */ async findInputIndexByLockId( - scriptLike: Pick, + scriptIdLike: Pick, client: Client, ): Promise { - const script = Script.from({ ...scriptLike, args: "0x" }); + const script = Script.from({ ...scriptIdLike, args: "0x" }); for (let i = 0; i < this.inputs.length; i += 1) { const input = this.inputs[i]; @@ -1217,8 +1271,8 @@ export class Transaction { * tx.addCellDeps(cellDep); * ``` */ - addCellDeps(...cellDepsLike: (CellDepLike | CellDepLike[])[]): void { - cellDepsLike.flat().forEach((cellDepLike) => { + addCellDeps(...cellDepLikes: (CellDepLike | CellDepLike[])[]): void { + cellDepLikes.flat().forEach((cellDepLike) => { const cellDep = CellDep.from(cellDepLike); if (this.cellDeps.some((c) => c.eq(cellDep))) { return; @@ -1238,8 +1292,8 @@ export class Transaction { * tx.addCellDepsAtBegin(cellDep); * ``` */ - addCellDepsAtStart(...cellDepsLike: (CellDepLike | CellDepLike[])[]): void { - cellDepsLike.flat().forEach((cellDepLike) => { + addCellDepsAtStart(...cellDepLikes: (CellDepLike | CellDepLike[])[]): void { + cellDepLikes.flat().forEach((cellDepLike) => { const cellDep = CellDep.from(cellDepLike); if (this.cellDeps.some((c) => c.eq(cellDep))) { return; @@ -1253,7 +1307,7 @@ export class Transaction { * Add cell dep from infos if they are not existed * * @param client - A client for searching cell deps - * @param cellDepLikes - The cell dep infos to add + * @param cellDepInfoLikes - The cell dep infos to add * * @example * ```typescript @@ -1262,9 +1316,9 @@ export class Transaction { */ async addCellDepInfos( client: Client, - ...cellDepInfosLike: (CellDepInfoLike | CellDepInfoLike[])[] + ...cellDepInfoLikes: (CellDepInfoLike | CellDepInfoLike[])[] ): Promise { - this.addCellDeps(await client.getCellDeps(...cellDepInfosLike)); + this.addCellDeps(await client.getCellDeps(...cellDepInfoLikes)); } /** @@ -1302,10 +1356,10 @@ export class Transaction { * * @example * ```typescript - * await tx.setOutputData(0, "0x00"); + * await tx.setOutputDataAt(0, "0x00"); * ``` */ - setOutputDataAt(index: number, data: HexLike): void { + setOutputDataAt(index: number, witness: HexLike): void { if (this.outputsData.length < index) { this.outputsData.push( ...Array.from( @@ -1315,14 +1369,14 @@ export class Transaction { ); } - this.outputsData[index] = hexFrom(data); + this.outputsData[index] = hexFrom(witness); } /** * Add output * - * @param output - The cell output to add - * @param data - optional output data + * @param outputLike - The cell output to add + * @param outputData - optional output data * * @example * ```typescript diff --git a/packages/core/src/client/client.ts b/packages/core/src/client/client.ts index 398a9133..1b1a254a 100644 --- a/packages/core/src/client/client.ts +++ b/packages/core/src/client/client.ts @@ -28,6 +28,9 @@ import { OutputsValidator, } from "./clientTypes.js"; +/** + * @public + */ export enum KnownScript { Secp256k1Blake160 = "Secp256k1Blake160", Secp256k1Multisig = "Secp256k1Multisig", @@ -44,11 +47,17 @@ export enum KnownScript { OutputTypeProxyLock = "OutputTypeProxyLock", } +/** + * @public + */ export type CellDepInfoLike = { cellDep: CellDepLike; type?: ScriptLike | null; }; +/** + * @public + */ export class CellDepInfo { constructor( public cellDep: CellDep, @@ -63,6 +72,9 @@ export class CellDepInfo { } } +/** + * @public + */ export abstract class Client { private readonly cachedTransactions: Transaction[] = []; private readonly unusableOutPoints: OutPoint[] = []; @@ -190,7 +202,7 @@ export abstract class Client { /** * Find cells by search key designed for collectable cells. * - * @param key - The search key. + * @param keyLike - The search key. * @returns A async generator for yielding cells. */ async *findCellsByCollectableSearchKey( diff --git a/packages/core/src/client/clientPublicMainnet.ts b/packages/core/src/client/clientPublicMainnet.ts index 51018fe1..b4c4e85c 100644 --- a/packages/core/src/client/clientPublicMainnet.ts +++ b/packages/core/src/client/clientPublicMainnet.ts @@ -3,6 +3,9 @@ import { CellDepInfo, KnownScript } from "./client.js"; import { MAINNET_SCRIPTS } from "./clientPublicMainnet.advanced.js"; import { ClientJsonRpc } from "./jsonRpc/index.js"; +/** + * @public + */ export class ClientPublicMainnet extends ClientJsonRpc { constructor( url = "https://mainnet.ckb.dev/", diff --git a/packages/core/src/client/clientPublicTestnet.ts b/packages/core/src/client/clientPublicTestnet.ts index d7c57f5d..fae66a40 100644 --- a/packages/core/src/client/clientPublicTestnet.ts +++ b/packages/core/src/client/clientPublicTestnet.ts @@ -3,6 +3,9 @@ import { CellDepInfo, KnownScript } from "./client.js"; import { TESTNET_SCRIPTS } from "./clientPublicTestnet.advanced.js"; import { ClientJsonRpc } from "./jsonRpc/index.js"; +/** + * @public + */ export class ClientPublicTestnet extends ClientJsonRpc { constructor( url = "https://testnet.ckb.dev/", diff --git a/packages/core/src/client/clientTypes.ts b/packages/core/src/client/clientTypes.ts index b44afc0f..ed84777b 100644 --- a/packages/core/src/client/clientTypes.ts +++ b/packages/core/src/client/clientTypes.ts @@ -8,23 +8,38 @@ import { clientSearchKeyRangeFrom, } from "./clientTypes.advanced.js"; +/** + * @public + */ export type OutputsValidator = "passthrough" | "well_known_scripts_only"; +/** + * @public + */ export type TransactionStatus = | "pending" | "proposed" | "committed" | "unknown" | "rejected"; +/** + * @public + */ export type ClientTransactionResponse = { transaction: Transaction; status: TransactionStatus; }; +/** + * @public + */ export type ClientIndexerSearchKeyFilterLike = ClientCollectableSearchKeyFilterLike & { blockRange?: [NumLike, NumLike] | null; }; +/** + * @public + */ export class ClientIndexerSearchKeyFilter { constructor( public script: Script | undefined, @@ -51,10 +66,16 @@ export class ClientIndexerSearchKeyFilter { } } +/** + * @public + */ export type ClientIndexerSearchKeyLike = ClientCollectableSearchKeyLike & { filter?: ClientIndexerSearchKeyFilterLike | null; }; +/** + * @public + */ export class ClientIndexerSearchKey { constructor( public script: Script, @@ -75,11 +96,17 @@ export class ClientIndexerSearchKey { } } +/** + * @public + */ export type ClientFindCellsResponse = { lastCursor: string; cells: Cell[]; }; +/** + * @public + */ export type ClientIndexerSearchKeyTransactionLike = Omit< ClientCollectableSearchKeyLike, "withData" @@ -88,6 +115,9 @@ export type ClientIndexerSearchKeyTransactionLike = Omit< groupByTransaction?: boolean | null; }; +/** + * @public + */ export class ClientIndexerSearchKeyTransaction { constructor( public script: Script, @@ -110,6 +140,9 @@ export class ClientIndexerSearchKeyTransaction { } } +/** + * @public + */ export type ClientFindTransactionsResponse = { lastCursor: string; transactions: { @@ -121,6 +154,9 @@ export type ClientFindTransactionsResponse = { }[]; }; +/** + * @public + */ export type ClientFindTransactionsGroupedResponse = { lastCursor: string; transactions: { @@ -134,6 +170,9 @@ export type ClientFindTransactionsGroupedResponse = { }[]; }; +/** + * @public + */ export type ClientBlockHeader = { compactTarget: Num; dao: Hex; @@ -149,11 +188,17 @@ export type ClientBlockHeader = { version: Num; }; +/** + * @public + */ export type ClientBlockUncle = { header: ClientBlockHeader; proposals: Hex[]; }; +/** + * @public + */ export type ClientBlock = { header: ClientBlockHeader; proposals: Hex[]; diff --git a/packages/core/src/client/jsonRpc/index.ts b/packages/core/src/client/jsonRpc/index.ts index 612fd6cf..78735444 100644 --- a/packages/core/src/client/jsonRpc/index.ts +++ b/packages/core/src/client/jsonRpc/index.ts @@ -46,7 +46,7 @@ export abstract class ClientJsonRpc extends Client { /** * Creates an instance of ClientJsonRpc. * - * @param url - The URL of the JSON-RPC server. + * @param url_ - The URL of the JSON-RPC server. * @param timeout - The timeout for requests in milliseconds, default is 30000. */ @@ -84,26 +84,26 @@ export abstract class ClientJsonRpc extends Client { * * @param blockNumber - The block number. * @param verbosity - result format which allows 0 and 2. (Optional, the default is 2.) - * @param with_cycles - whether the return cycles of block transactions. (Optional, default false.) + * @param withCycles - whether the return cycles of block transactions. (Optional, default false.) * @returns Block */ getBlockByNumber = this.buildSender( "get_block_by_number", [(v: NumLike) => numToHex(numFrom(v))], (b) => apply(JsonRpcTransformers.blockTo, b), - ) as () => Promise; + ) as Client["getBlockByNumber"]; /** * Get block by block hash * * @param blockHash - The block hash. * @param verbosity - result format which allows 0 and 2. (Optional, the default is 2.) - * @param with_cycles - whether the return cycles of block transactions. (Optional, default false.) + * @param withCycles - whether the return cycles of block transactions. (Optional, default false.) * @returns Block */ getBlockByHash = this.buildSender("get_block", [hexFrom], (b) => apply(JsonRpcTransformers.blockTo, b), - ) as () => Promise; + ) as Client["getBlockByHash"]; /** * Send a transaction to node. diff --git a/packages/core/src/fixedPoint/index.ts b/packages/core/src/fixedPoint/index.ts index 4366b6e7..3278422c 100644 --- a/packages/core/src/fixedPoint/index.ts +++ b/packages/core/src/fixedPoint/index.ts @@ -1,5 +1,6 @@ /** * Represents a fixed point value as a bigint. + * @public */ export type FixedPoint = bigint; @@ -7,12 +8,14 @@ export type FixedPoint = bigint; /** * Represents a value that can be converted to a fixed point value. * It can be a bigint, string, or number. + * @public */ export type FixedPointLike = bigint | string | number; /** * Converts a FixedPointLike value to its string representation with fixed-point decimals. + * @public * * @param val - The value to convert, which can be a bigint, string, or number. * @param decimals - The number of decimal places for the fixed-point representation. Default is 8. @@ -43,6 +46,7 @@ export function fixedPointToString(val: FixedPointLike, decimals = 8): string { /** * Converts a FixedPointLike value to a FixedPoint (bigint) with fixed-point decimals. + * @public * * @param val - The value to convert, which can be a bigint, string, or number. * @param decimals - The number of decimal places for the fixed-point representation. Default is 8. @@ -74,6 +78,7 @@ export function fixedPointFrom(val: FixedPointLike, decimals = 8): FixedPoint { /** * Represents the fixed point value of zero as a bigint. + * @public */ export const Zero: FixedPoint = 0n; @@ -81,6 +86,7 @@ export const Zero: FixedPoint = 0n; /** * Represents the fixed point value of one as a FixedPoint (bigint). * Equivalent to 1 in fixed-point representation with default decimals (8). + * @public */ export const One: FixedPoint = fixedPointFrom("1"); diff --git a/packages/core/src/hasher/hasher.ts b/packages/core/src/hasher/hasher.ts index 3b0306ae..1d4823f9 100644 --- a/packages/core/src/hasher/hasher.ts +++ b/packages/core/src/hasher/hasher.ts @@ -1,6 +1,9 @@ import { BytesLike } from "../bytes/index.js"; import { Hex } from "../hex/index.js"; +/** + * @public + */ export interface Hasher { /** * Updates the hash with the given data. diff --git a/packages/core/src/hasher/hasherCkb.ts b/packages/core/src/hasher/hasherCkb.ts index 0dba99ba..c23f83d1 100644 --- a/packages/core/src/hasher/hasherCkb.ts +++ b/packages/core/src/hasher/hasherCkb.ts @@ -6,6 +6,9 @@ import { NumLike, numLeToBytes } from "../num/index.js"; import { CKB_BLAKE2B_PERSONAL } from "./advanced.js"; import { Hasher } from "./hasher.js"; +/** + * @public + */ export class HasherCkb implements Hasher { private readonly hasher: ReturnType<(typeof blake2b)["create"]>; @@ -62,6 +65,7 @@ export class HasherCkb implements Hasher { /** * Computes the CKB hash of the given data using the Blake2b algorithm. + * @public * * @param data - The data to hash. * @returns The hexadecimal string representation of the hash. @@ -80,8 +84,9 @@ export function hashCkb(...data: BytesLike[]): Hex { /** * Computes the Type ID hash of the given data. + * @public * - * @param cellInput - The first cell input of the transaction. + * @param cellInputLike - The first cell input of the transaction. * @param outputIndex - The output index of the Type ID cell. * @returns The hexadecimal string representation of the hash. * diff --git a/packages/core/src/hasher/hasherKeecak256.ts b/packages/core/src/hasher/hasherKeecak256.ts index ec0b6c38..88beef6e 100644 --- a/packages/core/src/hasher/hasherKeecak256.ts +++ b/packages/core/src/hasher/hasherKeecak256.ts @@ -3,6 +3,9 @@ import { BytesLike, bytesFrom } from "../bytes/index.js"; import { Hex, hexFrom } from "../hex/index.js"; import { Hasher } from "./hasher.js"; +/** + * @public + */ export class HasherKeecak256 implements Hasher { private readonly hasher: ReturnType<(typeof keccak_256)["create"]>; diff --git a/packages/core/src/hex/index.ts b/packages/core/src/hex/index.ts index 9a591188..41df43d7 100644 --- a/packages/core/src/hex/index.ts +++ b/packages/core/src/hex/index.ts @@ -2,16 +2,19 @@ import { bytesFrom, BytesLike, bytesTo } from "../bytes/index.js"; /** * Represents a hexadecimal string prefixed with "0x". + * @public */ export type Hex = `0x${string}`; /** * Represents a value that can be converted to a hexadecimal string. * It extends the BytesLike type. + * @public */ export type HexLike = BytesLike; /** * Converts a HexLike value to a Hex string. + * @public * * @param hex - The value to convert, which can be a string, Uint8Array, ArrayBuffer, or number array. * @returns A Hex string representing the value. diff --git a/packages/core/src/keystore/index.ts b/packages/core/src/keystore/index.ts index 88d6b4d1..bd963af3 100644 --- a/packages/core/src/keystore/index.ts +++ b/packages/core/src/keystore/index.ts @@ -18,6 +18,9 @@ function mac(derivedKey: Bytes, cipherText: Bytes) { ).slice(2); } +/** + * @public + */ export async function keystoreEncrypt( privateKeyLike: BytesLike, chainCodeLike: BytesLike, @@ -79,6 +82,9 @@ export async function keystoreEncrypt( }; } +/** + * @public + */ export async function keystoreDecrypt( keystore: unknown, password: string, diff --git a/packages/core/src/num/index.ts b/packages/core/src/num/index.ts index a635686b..ab76de50 100644 --- a/packages/core/src/num/index.ts +++ b/packages/core/src/num/index.ts @@ -3,17 +3,20 @@ import { Hex, HexLike, hexFrom } from "../hex/index.js"; /** * Represents a numeric value as a bigint. + * @public */ export type Num = bigint; /** * Represents a value that can be converted to a numeric value. * It can be a string, number, bigint, or HexLike. + * @public */ export type NumLike = string | number | bigint | HexLike; /** * Get the max among all numbers. + * @public * * @param numbers - numbers. * @returns The max numbers among them. @@ -36,6 +39,7 @@ export function numMax(a: NumLike, ...numbers: NumLike[]): Num { /** * Converts a NumLike value to a Num (bigint). + * @public * * @param val - The value to convert, which can be a string, number, bigint, or HexLike. * @returns A Num (bigint) representing the value. @@ -60,6 +64,7 @@ export function numFrom(val: NumLike): Num { /** * Converts a NumLike value to a hexadecimal string. + * @public * * @param val - The value to convert, which can be a string, number, bigint, or HexLike. * @returns A Hex string representing the numeric value. @@ -75,6 +80,7 @@ export function numToHex(val: NumLike): Hex { /** * Converts a NumLike value to a byte array in little-endian order. + * @public * * @param val - The value to convert, which can be a string, number, bigint, or HexLike. * @param bytes - The number of bytes to use for the representation. If not provided, the exact number of bytes needed is used. @@ -92,6 +98,7 @@ export function numToBytes(val: NumLike, bytes?: number): Bytes { /** * Converts a NumLike value to a byte array in little-endian order. + * @public * * @param val - The value to convert, which can be a string, number, bigint, or HexLike. * @param bytes - The number of bytes to use for the representation. If not provided, the exact number of bytes needed is used. @@ -108,6 +115,7 @@ export function numLeToBytes(val: NumLike, bytes?: number): Bytes { /** * Converts a NumLike value to a byte array in big-endian order. + * @public * * @param val - The value to convert, which can be a string, number, bigint, or HexLike. * @param bytes - The number of bytes to use for the representation. If not provided, the exact number of bytes needed is used. @@ -132,6 +140,7 @@ export function numBeToBytes(val: NumLike, bytes?: number): Bytes { /** * Converts a byte array to a Num (bigint) assuming little-endian order. + * @public * * @param val - The byte array to convert. * @returns A Num (bigint) representing the numeric value. @@ -147,6 +156,7 @@ export function numFromBytes(val: BytesLike): Num { /** * Converts a byte array to a Num (bigint) assuming little-endian order. + * @public * * @param val - The byte array to convert. * @returns A Num (bigint) representing the numeric value. @@ -162,6 +172,7 @@ export function numLeFromBytes(val: BytesLike): Num { /** * Converts a byte array to a Num (bigint) assuming big-endian order. + * @public * * @param val - The byte array to convert. * @returns A Num (bigint) representing the numeric value. diff --git a/packages/core/src/signer/btc/signerBtc.ts b/packages/core/src/signer/btc/signerBtc.ts index 3cf20f36..bc33a822 100644 --- a/packages/core/src/signer/btc/signerBtc.ts +++ b/packages/core/src/signer/btc/signerBtc.ts @@ -12,6 +12,7 @@ import { Signer, SignerSignType, SignerType } from "../signer/index.js"; * An abstract class extending the Signer class for Bitcoin-like signing operations. * This class provides methods to get Bitcoin account, public key, and internal address, * as well as signing transactions. + * @public */ export abstract class SignerBtc extends Signer { get type(): SignerType { diff --git a/packages/core/src/signer/btc/signerBtcPublicKeyReadonly.ts b/packages/core/src/signer/btc/signerBtcPublicKeyReadonly.ts index 6b692414..50096db7 100644 --- a/packages/core/src/signer/btc/signerBtcPublicKeyReadonly.ts +++ b/packages/core/src/signer/btc/signerBtcPublicKeyReadonly.ts @@ -5,6 +5,7 @@ import { SignerBtc } from "./signerBtc.js"; /** * A class extending SignerBtc that provides read-only access to a Bitcoin public key and account. * This class does not support signing operations. + * @public */ export class SignerBtcPublicKeyReadonly extends SignerBtc { private readonly publicKey: Hex; diff --git a/packages/core/src/signer/btc/verify.ts b/packages/core/src/signer/btc/verify.ts index 4dace345..2fce769e 100644 --- a/packages/core/src/signer/btc/verify.ts +++ b/packages/core/src/signer/btc/verify.ts @@ -3,6 +3,9 @@ import { magicHash } from "bitcoinjs-message"; import { BytesLike, bytesFrom } from "../../bytes/index.js"; import { hexFrom } from "../../hex/index.js"; +/** + * @public + */ export function verifyMessageBtcEcdsa( message: string | BytesLike, signature: string, diff --git a/packages/core/src/signer/ckb/signerCkbPrivateKey.ts b/packages/core/src/signer/ckb/signerCkbPrivateKey.ts index bd8489fb..ba652fbf 100644 --- a/packages/core/src/signer/ckb/signerCkbPrivateKey.ts +++ b/packages/core/src/signer/ckb/signerCkbPrivateKey.ts @@ -7,6 +7,9 @@ import { numBeToBytes } from "../../num/index.js"; import { SignerCkbPublicKey } from "./signerCkbPublicKey.js"; import { messageHashCkbSecp256k1 } from "./verifyCkbSecp256k1.js"; +/** + * @public + */ export class SignerCkbPrivateKey extends SignerCkbPublicKey { public readonly privateKey: Hex; diff --git a/packages/core/src/signer/ckb/signerCkbPublicKey.ts b/packages/core/src/signer/ckb/signerCkbPublicKey.ts index 5cf8b8a0..fbef7fa6 100644 --- a/packages/core/src/signer/ckb/signerCkbPublicKey.ts +++ b/packages/core/src/signer/ckb/signerCkbPublicKey.ts @@ -6,6 +6,9 @@ import { hashCkb } from "../../hasher/index.js"; import { Hex, HexLike, hexFrom } from "../../hex/index.js"; import { Signer, SignerSignType, SignerType } from "../signer/index.js"; +/** + * @public + */ export class SignerCkbPublicKey extends Signer { get type(): SignerType { return SignerType.CKB; diff --git a/packages/core/src/signer/ckb/signerCkbScriptReadonly.ts b/packages/core/src/signer/ckb/signerCkbScriptReadonly.ts index 4803f292..fa9df8b1 100644 --- a/packages/core/src/signer/ckb/signerCkbScriptReadonly.ts +++ b/packages/core/src/signer/ckb/signerCkbScriptReadonly.ts @@ -6,6 +6,7 @@ import { Signer, SignerSignType, SignerType } from "../signer/index.js"; /** * A class extending Signer that provides read-only access to a CKB script. * This class does not support signing operations. + * @public */ export class SignerCkbScriptReadonly extends Signer { get type(): SignerType { diff --git a/packages/core/src/signer/ckb/verifyCkbSecp256k1.ts b/packages/core/src/signer/ckb/verifyCkbSecp256k1.ts index c958c34e..bf322dea 100644 --- a/packages/core/src/signer/ckb/verifyCkbSecp256k1.ts +++ b/packages/core/src/signer/ckb/verifyCkbSecp256k1.ts @@ -4,12 +4,18 @@ import { hashCkb } from "../../hasher/index.js"; import { Hex, hexFrom } from "../../hex/index.js"; import { numFrom } from "../../num/index.js"; +/** + * @public + */ export function messageHashCkbSecp256k1(message: string | BytesLike): Hex { const msg = typeof message === "string" ? message : hexFrom(message); const buffer = bytesFrom(`Nervos Message:${msg}`, "utf8"); return hashCkb(buffer); } +/** + * @public + */ export function verifyMessageCkbSecp256k1( message: string | BytesLike, signature: string, diff --git a/packages/core/src/signer/ckb/verifyJoyId.ts b/packages/core/src/signer/ckb/verifyJoyId.ts index 649c6868..b091112d 100644 --- a/packages/core/src/signer/ckb/verifyJoyId.ts +++ b/packages/core/src/signer/ckb/verifyJoyId.ts @@ -2,6 +2,9 @@ import { verifySignature } from "@joyid/ckb"; import { BytesLike } from "../../bytes/index.js"; import { hexFrom } from "../../hex/index.js"; +/** + * @public + */ export function verifyMessageJoyId( message: string | BytesLike, signature: string, diff --git a/packages/core/src/signer/dummy/alwaysError.ts b/packages/core/src/signer/dummy/alwaysError.ts index 5b9ca63c..d6a68e47 100644 --- a/packages/core/src/signer/dummy/alwaysError.ts +++ b/packages/core/src/signer/dummy/alwaysError.ts @@ -2,6 +2,9 @@ import { Client } from "../../client/index.js"; import { SignerType } from "../signer/index.js"; import { SignerDummy } from "./dummy.js"; +/** + * @public + */ export class SignerAlwaysError extends SignerDummy { constructor( client: Client, diff --git a/packages/core/src/signer/dummy/dummy.ts b/packages/core/src/signer/dummy/dummy.ts index 172a3b2b..3d2ad357 100644 --- a/packages/core/src/signer/dummy/dummy.ts +++ b/packages/core/src/signer/dummy/dummy.ts @@ -2,6 +2,9 @@ import { Address } from "../../address/index.js"; import { Client } from "../../client/index.js"; import { Signer, SignerSignType, SignerType } from "../signer/index.js"; +/** + * @public + */ export abstract class SignerDummy extends Signer { get signType(): SignerSignType { return SignerSignType.Unknown; diff --git a/packages/core/src/signer/dummy/openLink.ts b/packages/core/src/signer/dummy/openLink.ts index fef7b127..382b335a 100644 --- a/packages/core/src/signer/dummy/openLink.ts +++ b/packages/core/src/signer/dummy/openLink.ts @@ -2,6 +2,9 @@ import { Client } from "../../client/index.js"; import { SignerType } from "../signer/index.js"; import { SignerDummy } from "./dummy.js"; +/** + * @public + */ export class SignerOpenLink extends SignerDummy { constructor( client: Client, diff --git a/packages/core/src/signer/evm/signerEvm.ts b/packages/core/src/signer/evm/signerEvm.ts index 8d5f4311..8e31a3f8 100644 --- a/packages/core/src/signer/evm/signerEvm.ts +++ b/packages/core/src/signer/evm/signerEvm.ts @@ -16,6 +16,7 @@ import { Signer, SignerSignType, SignerType } from "../signer/index.js"; /** * An abstract class extending Signer for Ethereum Virtual Machine (EVM) based signing operations. * This class provides methods to get EVM account, internal address, and signing transactions. + * @public */ export abstract class SignerEvm extends Signer { get type(): SignerType { diff --git a/packages/core/src/signer/evm/signerEvmAddressReadonly.ts b/packages/core/src/signer/evm/signerEvmAddressReadonly.ts index 8c44ed11..133821d0 100644 --- a/packages/core/src/signer/evm/signerEvmAddressReadonly.ts +++ b/packages/core/src/signer/evm/signerEvmAddressReadonly.ts @@ -5,6 +5,7 @@ import { SignerEvm } from "./signerEvm.js"; /** * A class extending SignerEvm that provides read-only access to an EVM address. * This class does not support signing operations. + * @public */ export class SignerEvmAddressReadonly extends SignerEvm { private readonly address: Hex; diff --git a/packages/core/src/signer/evm/verify.ts b/packages/core/src/signer/evm/verify.ts index 81c4ab19..8c23ef10 100644 --- a/packages/core/src/signer/evm/verify.ts +++ b/packages/core/src/signer/evm/verify.ts @@ -1,6 +1,9 @@ import { verifyMessage } from "ethers"; import { BytesLike, bytesFrom } from "../../bytes/index.js"; +/** + * @public + */ export function verifyMessageEvmPersonal( message: string | BytesLike, signature: string, diff --git a/packages/core/src/signer/nostr/signerNostr.ts b/packages/core/src/signer/nostr/signerNostr.ts index ff689833..98423211 100644 --- a/packages/core/src/signer/nostr/signerNostr.ts +++ b/packages/core/src/signer/nostr/signerNostr.ts @@ -8,6 +8,9 @@ import { Hex, hexFrom } from "../../hex/index.js"; import { Signer, SignerSignType, SignerType } from "../signer/index.js"; import { buildNostrEventFromMessage } from "./verify.js"; +/** + * @public + */ export interface NostrEvent { id?: string; pubkey?: string; @@ -18,6 +21,9 @@ export interface NostrEvent { content: string; } +/** + * @public + */ export abstract class SignerNostr extends Signer { static CKB_SIG_HASH_ALL_TAG = "ckb_sighash_all"; static CKB_UNLOCK_EVENT_KIND = 23334; diff --git a/packages/core/src/signer/nostr/verify.ts b/packages/core/src/signer/nostr/verify.ts index 7433b4a4..8dbb2b11 100644 --- a/packages/core/src/signer/nostr/verify.ts +++ b/packages/core/src/signer/nostr/verify.ts @@ -5,6 +5,9 @@ import { BytesLike, bytesFrom } from "../../bytes/index.js"; import { hexFrom } from "../../hex/index.js"; import { NostrEvent } from "./signerNostr.js"; +/** + * @public + */ export function buildNostrEventFromMessage( message: string | BytesLike, ): NostrEvent { diff --git a/packages/core/src/signer/signer/index.ts b/packages/core/src/signer/signer/index.ts index 398a5cf2..f2f9369e 100644 --- a/packages/core/src/signer/signer/index.ts +++ b/packages/core/src/signer/signer/index.ts @@ -10,6 +10,9 @@ import { verifyMessageJoyId } from "../ckb/verifyJoyId.js"; import { verifyMessageEvmPersonal } from "../evm/verify.js"; import { verifyMessageNostrEvent } from "../nostr/verify.js"; +/** + * @public + */ export enum SignerSignType { Unknown = "Unknown", BtcEcdsa = "BtcEcdsa", @@ -21,6 +24,7 @@ export enum SignerSignType { /** * An enumeration of signer display types in wallet. + * @public */ export enum SignerType { EVM = "EVM", @@ -29,23 +33,28 @@ export enum SignerType { Nostr = "Nostr", } +/** + * @public + */ export type NetworkPreference = { addressPrefix: string; signerType: SignerType; + /** + * Wallet signers should check if the wallet is using preferred networks. + * If not, try to switch to the first preferred network. + * If non preferred, let users choose what they want. + * BTC: // They made a mess... + * btc + * btcTestnet + * btcSignet // OKX + * fractalBtc // UniSat + */ network: string; - /* - Wallet signers should check if the wallet is using preferred networks. - If not, try to switch to the first preferred network. - If non preferred, let users choose what they want. - - BTC: // They made a mess... - btc - btcTestnet - btcSignet // OKX - fractalBtc // UniSat - */ }; +/** + * @public + */ export class Signature { constructor( public signature: string, @@ -57,6 +66,7 @@ export class Signature { /** * An abstract class representing a generic signer. * This class provides methods to connect, get addresses, and sign transactions. + * @public */ export abstract class Signer { constructor(protected client_: Client) {} @@ -227,7 +237,7 @@ export abstract class Signer { /** * Signs a message. * - * @param _ - The message to sign, as a string or BytesLike object. + * @param message - The message to sign, as a string or BytesLike object. * @returns A promise that resolves to the signature info. * @throws Will throw an error if not implemented. */ @@ -253,8 +263,8 @@ export abstract class Signer { /** * Verify a signature. * - * @param _ - The original message. - * @param _ - The signature to verify. + * @param message - The original message. + * @param signature - The signature to verify. * @returns A promise that resolves to the verification result. * @throws Will throw an error if not implemented. */ @@ -326,6 +336,7 @@ export abstract class Signer { /** * A class representing information about a signer, including its type and the signer instance. + * @public */ export class SignerInfo { constructor( @@ -336,6 +347,7 @@ export class SignerInfo { /** * Represents a wallet with a name, icon, and an array of signer information. + * @public */ export type Wallet = { name: string; diff --git a/packages/core/src/utils/index.ts b/packages/core/src/utils/index.ts index a8078ff8..093a522a 100644 --- a/packages/core/src/utils/index.ts +++ b/packages/core/src/utils/index.ts @@ -1,5 +1,6 @@ /** * A type safe way to apply a transformer on a value if it's not empty. + * @public * * @param transformer - The transformer. * @param value - The value to be transformed. @@ -11,6 +12,7 @@ export function apply( ): undefined; /** * A type safe way to apply a transformer on a value if it's not empty. + * @public * * @param transformer - The transformer. * @param value - The value to be transformed. @@ -19,6 +21,7 @@ export function apply( export function apply(transformer: (val: T) => R, value: null): undefined; /** * A type safe way to apply a transformer on a value if it's not empty. + * @public * * @param transformer - The transformer. * @param value - The value to be transformed. @@ -27,6 +30,7 @@ export function apply(transformer: (val: T) => R, value: null): undefined; export function apply(transformer: (val: T) => R, value: T): R; /** * A type safe way to apply a transformer on a value if it's not empty. + * @public * * @param transformer - The transformer. * @param value - The value to be transformed. @@ -38,6 +42,7 @@ export function apply( ): R | undefined; /** * A type safe way to apply a transformer on a value if it's not empty. + * @public * * @param transformer - The transformer. * @param value - The value to be transformed. @@ -49,6 +54,7 @@ export function apply( ): R | undefined; /** * A type safe way to apply a transformer on a value if it's not empty. + * @public * * @param transformer - The transformer. * @param value - The value to be transformed. @@ -61,6 +67,7 @@ export function apply( /** /** * A type safe way to apply a transformer on a value if it's not empty. + * @public * * @param transformer - The transformer. * @param value - The value to be transformed. @@ -72,6 +79,7 @@ export function apply( ): R | undefined; /** * A type safe way to apply a transformer on a value if it's not empty. + * @public * * @param transformer - The transformer. * @param value - The value to be transformed. @@ -90,6 +98,7 @@ export function apply( /** * Similar to Array.reduce, but the accumulator can returns Promise. + * @public * * @param values - The array to be reduced. * @param accumulator - A callback to be called for each value. If it returns null, the previous result will be kept. @@ -104,6 +113,7 @@ export async function reduceAsync( ): Promise; /** * Similar to Array.reduce, but the accumulator can returns Promise. + * @public * * @param values - The array to be reduced. * @param accumulator - A callback to be called for each value. If it returns null, the previous result will be kept. @@ -120,6 +130,15 @@ export async function reduceAsync( ) => Promise | T | undefined | null | void, init: T | Promise, ): Promise; +/** + * Similar to Array.reduce, but the accumulator can returns Promise. + * @public + * + * @param values - The array to be reduced. + * @param accumulator - A callback to be called for each value. If it returns null, the previous result will be kept. + * @param init - The initial value. + * @returns The accumulated result. + */ export async function reduceAsync( values: (V | T)[], accumulator: ( @@ -147,6 +166,9 @@ export async function reduceAsync( ); } +/** + * @public + */ export function isWebview(userAgent: string): boolean { return /webview|wv|ip((?!.*Safari)|(?=.*like Safari))/i.test(userAgent); } diff --git a/packages/core/typedoc.json b/packages/core/typedoc.json new file mode 100644 index 00000000..92728b8b --- /dev/null +++ b/packages/core/typedoc.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://typedoc.org/schema.json", + "entryPoints": [ + "./src/index.ts", + "./src/advanced.ts" + ], + "extends": [ + "../../typedoc.base.json" + ], + "name": "@ckb-ccc core" +} \ No newline at end of file diff --git a/packages/eip6963/src/eip1193.advanced.ts b/packages/eip6963/src/eip1193.advanced.ts index cba508a7..31e94c49 100644 --- a/packages/eip6963/src/eip1193.advanced.ts +++ b/packages/eip6963/src/eip1193.advanced.ts @@ -2,26 +2,23 @@ import { Hex } from "@ckb-ccc/core"; /** * Interface representing a provider for interacting with Ethereum-compatible wallets. - * @interface */ export interface Provider { /** * Sends a request to the provider. - * @type {RequestMethod} */ request: RequestMethod; /** * Adds an event listener to the provider. - * @type {OnMethod} */ on: OnMethod; /** * Removes an event listener from the provider. - * @param {string} eventName - The name of the event to remove the listener from. - * @param {(...args: unknown[]) => unknown} listener - The listener function to remove. - * @returns {Provider} The provider instance. + * @param eventName - The name of the event to remove the listener from. + * @param listener - The listener function to remove. + * @returns The provider instance. */ removeListener( eventName: string, @@ -31,14 +28,11 @@ export interface Provider { /** * Interface representing a method to send requests to the provider. - * @interface */ export interface RequestMethod { /** * Signs a message with the personal account. * @param request - The request object. - * @param request.method - The method name. - * @param request.params - The method parameters. * @returns A promise that resolves to the signed message. */ (request: { method: "personal_sign"; params: [string, Hex] }): Promise; @@ -46,8 +40,6 @@ export interface RequestMethod { /** * Requests the accounts from the provider. * @param request - The request object. - * @param request.method - The method name. - * @param request.params - The optional method parameters. * @returns A promise that resolves to an array of account addresses. */ (request: { @@ -58,8 +50,6 @@ export interface RequestMethod { /** * Gets the accounts from the provider. * @param request - The request object. - * @param request.method - The method name. - * @param request.params - The optional method parameters. * @returns A promise that resolves to an array of account addresses. */ (request: { method: "eth_accounts"; params?: undefined }): Promise; @@ -67,8 +57,6 @@ export interface RequestMethod { /** * Sends a generic request to the provider. * @param request - The request object. - * @param request.method - The method name. - * @param request.params - The optional method parameters. * @returns A promise that resolves to the response from the provider. */ (request: { @@ -79,7 +67,6 @@ export interface RequestMethod { /** * Interface representing a method to add event listeners to the provider. - * @interface */ export interface OnMethod { /** diff --git a/packages/eip6963/src/eip6963.advanced.ts b/packages/eip6963/src/eip6963.advanced.ts index 3030fd8d..fdbb3191 100644 --- a/packages/eip6963/src/eip6963.advanced.ts +++ b/packages/eip6963/src/eip6963.advanced.ts @@ -2,60 +2,50 @@ import { Provider as EIP1193Provider } from "./eip1193.advanced.js"; /** * Interface representing an event announcing a provider. - * @interface */ export interface AnnounceProviderEvent { /** * The detail of the provider. - * @type {ProviderDetail} */ detail: ProviderDetail; } /** * Interface representing the details of a provider. - * @interface */ export interface ProviderDetail { /** * The information about the provider. - * @type {ProviderInfo} */ info: ProviderInfo; /** * The provider instance compliant with EIP-1193. - * @type {EIP1193Provider} */ provider: EIP1193Provider; } /** * Interface representing information about a provider. - * @interface */ export interface ProviderInfo { /** * The reverse DNS name of the provider. - * @type {string} */ rdns: string; /** * The UUID of the provider. - * @type {string} */ uuid: string; /** * The name of the provider. - * @type {string} */ name: string; /** * The icon URL of the provider. - * @type {string} */ icon: string; } diff --git a/packages/eip6963/src/signer.ts b/packages/eip6963/src/signer.ts index 284b3b75..1a86e237 100644 --- a/packages/eip6963/src/signer.ts +++ b/packages/eip6963/src/signer.ts @@ -2,17 +2,16 @@ import { ccc } from "@ckb-ccc/core"; import { Provider } from "./eip1193.advanced.js"; /** - * Class representing an EVM signer that extends SignerEvm from @ckb-ccc/core. - * @class - * @extends {ccc.SignerEvm} + * Class representing an EVM signer that extends SignerEvm + * @public */ export class Signer extends ccc.SignerEvm { private accountCache?: ccc.Hex = undefined; /** * Creates an instance of Signer. - * @param {ccc.Client} client - The client instance. - * @param {Provider} provider - The provider. + * @param client - The client instance. + * @param provider - The provider. */ constructor( client: ccc.Client, @@ -34,7 +33,7 @@ export class Signer extends ccc.SignerEvm { /** * Connects to the provider by requesting accounts. - * @returns {Promise} A promise that resolves when the connection is established. + * @returns A promise that resolves when the connection is established. */ async connect(): Promise { await this.provider.request({ method: "eth_requestAccounts" }); @@ -59,7 +58,7 @@ export class Signer extends ccc.SignerEvm { /** * Checks if the provider is connected. - * @returns {Promise} A promise that resolves to true if connected, false otherwise. + * @returns A promise that resolves to true if connected, false otherwise. */ async isConnected(): Promise { return ( @@ -69,8 +68,8 @@ export class Signer extends ccc.SignerEvm { /** * Signs a raw message with the personal account. - * @param {string | ccc.BytesLike} message - The message to sign. - * @returns {Promise} A promise that resolves to the signed message. + * @param message - The message to sign. + * @returns A promise that resolves to the signed message. */ async signMessageRaw(message: string | ccc.BytesLike): Promise { const challenge = diff --git a/packages/eip6963/src/signersFactory.ts b/packages/eip6963/src/signersFactory.ts index b4e58127..95e065e4 100644 --- a/packages/eip6963/src/signersFactory.ts +++ b/packages/eip6963/src/signersFactory.ts @@ -8,14 +8,14 @@ import { Signer } from "./signer.js"; /** * Class representing a factory for creating and managing Signer instances. - * @class + * @public */ export class SignerFactory { private readonly existedUuids: string[] = []; /** * Creates an instance of SignerFactory. - * @param {ccc.Client} client - The client instance. + * @param client - The client instance. */ constructor(private readonly client: ccc.Client) {} diff --git a/packages/eip6963/typedoc.json b/packages/eip6963/typedoc.json new file mode 100644 index 00000000..d995d042 --- /dev/null +++ b/packages/eip6963/typedoc.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://typedoc.org/schema.json", + "entryPoints": [ + "./src/index.ts", + "./src/advanced.ts" + ], + "extends": [ + "../../typedoc.base.json" + ], + "name": "@ckb-ccc eip6963" +} \ No newline at end of file diff --git a/packages/joy-id/src/btc/index.ts b/packages/joy-id/src/btc/index.ts index 032dcc61..a258870a 100644 --- a/packages/joy-id/src/btc/index.ts +++ b/packages/joy-id/src/btc/index.ts @@ -8,9 +8,8 @@ import { } from "../connectionsStorage/index.js"; /** - * Class representing a Bitcoin signer that extends SignerBtc from @ckb-ccc/core. - * @class - * @extends {ccc.SignerBtc} + * Class representing a Bitcoin signer that extends SignerBtc + * @public */ export class BitcoinSigner extends ccc.SignerBtc { private connection?: Connection; @@ -18,9 +17,8 @@ export class BitcoinSigner extends ccc.SignerBtc { /** * Ensures that the signer is connected and returns the connection. - * @private * @throws Will throw an error if not connected. - * @returns {Connection} The current connection. + * @returns The current connection. */ private assertConnection(): Connection { if (!this.isConnected() || !this.connection) { @@ -64,7 +62,6 @@ export class BitcoinSigner extends ccc.SignerBtc { /** * Gets the configuration for JoyID. - * @private * @returns The configuration object. */ private getConfig() { @@ -107,7 +104,7 @@ export class BitcoinSigner extends ccc.SignerBtc { /** * Gets the Bitcoin account address. - * @returns {Promise} A promise that resolves to the Bitcoin account address. + * @returns A promise that resolves to the Bitcoin account address. */ async getBtcAccount(): Promise { const { address } = this.assertConnection(); @@ -116,7 +113,7 @@ export class BitcoinSigner extends ccc.SignerBtc { /** * Gets the Bitcoin public key. - * @returns {Promise} A promise that resolves to the Bitcoin public key. + * @returns A promise that resolves to the Bitcoin public key. */ async getBtcPublicKey(): Promise { const { publicKey } = this.assertConnection(); @@ -125,7 +122,7 @@ export class BitcoinSigner extends ccc.SignerBtc { /** * Connects to the provider by requesting authentication. - * @returns {Promise} A promise that resolves when the connection is established. + * @returns A promise that resolves when the connection is established. */ async connect(): Promise { const config = this.getConfig(); @@ -160,7 +157,7 @@ export class BitcoinSigner extends ccc.SignerBtc { /** * Checks if the signer is connected. - * @returns {Promise} A promise that resolves to true if connected, false otherwise. + * @returns A promise that resolves to true if connected, false otherwise. */ async isConnected(): Promise { if (this.connection) { @@ -176,8 +173,8 @@ export class BitcoinSigner extends ccc.SignerBtc { /** * Signs a raw message with the Bitcoin account. - * @param {string | ccc.BytesLike} message - The message to sign. - * @returns {Promise} A promise that resolves to the signed message. + * @param message - The message to sign. + * @returns A promise that resolves to the signed message. */ async signMessageRaw(message: string | ccc.BytesLike): Promise { const { address } = this.assertConnection(); diff --git a/packages/joy-id/src/ckb/index.ts b/packages/joy-id/src/ckb/index.ts index 132f242b..4ea5cf05 100644 --- a/packages/joy-id/src/ckb/index.ts +++ b/packages/joy-id/src/ckb/index.ts @@ -9,14 +9,13 @@ import { } from "../connectionsStorage/index.js"; /** - * Class representing a CKB signer that extends Signer from @ckb-ccc/core. - * @class - * @extends {ccc.Signer} + * Class representing a CKB signer that extends Signer + * @public */ export class CkbSigner extends ccc.Signer { /** * Gets the signer type. - * @returns {ccc.SignerType} The type of the signer. + * @returns The type of the signer. */ get type(): ccc.SignerType { return ccc.SignerType.CKB; @@ -24,7 +23,7 @@ export class CkbSigner extends ccc.Signer { /** * Gets the sign type. - * @returns {ccc.SignerSignType} The sign type. + * @returns The sign type. */ get signType(): ccc.SignerSignType { return ccc.SignerSignType.JoyId; @@ -34,9 +33,8 @@ export class CkbSigner extends ccc.Signer { /** * Ensures that the signer is connected and returns the connection. - * @private * @throws Will throw an error if not connected. - * @returns {Promise} A promise that resolves to the current connection. + * @returns A promise that resolves to the current connection. */ private async assertConnection(): Promise { if (!(await this.isConnected()) || !this.connection) { @@ -48,12 +46,12 @@ export class CkbSigner extends ccc.Signer { /** * Creates an instance of CkbSigner. - * @param {ccc.Client} client - The client instance. - * @param {string} name - The name of the signer. - * @param {string} icon - The icon URL of the signer. - * @param {string} [_appUri] - The application URI. - * @param {string} [_aggregatorUri] - The aggregator URI. - * @param {ConnectionsRepo} [connectionsRepo=new ConnectionsRepoLocalStorage()] - The connections repository. + * @param client - The client instance. + * @param name - The name of the signer. + * @param icon - The icon URL of the signer. + * @param _appUri - The application URI. + * @param _aggregatorUri - The aggregator URI. + * @param connectionsRepo - The connections repository. */ constructor( client: ccc.Client, @@ -68,7 +66,6 @@ export class CkbSigner extends ccc.Signer { /** * Gets the configuration for JoyID. - * @private * @returns The configuration object. */ private getConfig() { @@ -85,8 +82,7 @@ export class CkbSigner extends ccc.Signer { /** * Gets the aggregator URI. - * @private - * @returns {string} The aggregator URI. + * @returns The aggregator URI. */ private getAggregatorUri(): string { if (this._aggregatorUri) { @@ -100,7 +96,7 @@ export class CkbSigner extends ccc.Signer { /** * Connects to the provider by requesting authentication. - * @returns {Promise} A promise that resolves when the connection is established. + * @returns A promise that resolves when the connection is established. */ async connect(): Promise { const config = this.getConfig(); @@ -127,7 +123,7 @@ export class CkbSigner extends ccc.Signer { /** * Checks if the signer is connected. - * @returns {Promise} A promise that resolves to true if connected, false otherwise. + * @returns A promise that resolves to true if connected, false otherwise. */ async isConnected(): Promise { if (this.connection) { @@ -139,7 +135,7 @@ export class CkbSigner extends ccc.Signer { /** * Gets the internal address. - * @returns {Promise} A promise that resolves to the internal address. + * @returns A promise that resolves to the internal address. */ async getInternalAddress(): Promise { return (await this.assertConnection()).address; @@ -147,7 +143,7 @@ export class CkbSigner extends ccc.Signer { /** * Gets the identity of the signer. - * @returns {Promise} A promise that resolves to the identity. + * @returns A promise that resolves to the identity. */ async getIdentity(): Promise { const connection = await this.assertConnection(); @@ -159,7 +155,7 @@ export class CkbSigner extends ccc.Signer { /** * Gets the address object. - * @returns {Promise} A promise that resolves to the address object. + * @returns A promise that resolves to the address object. */ async getAddressObj(): Promise { return await ccc.Address.fromString( @@ -170,7 +166,7 @@ export class CkbSigner extends ccc.Signer { /** * Gets the address objects. - * @returns {Promise} A promise that resolves to an array of address objects. + * @returns A promise that resolves to an array of address objects. */ async getAddressObjs(): Promise { return [await this.getAddressObj()]; @@ -178,8 +174,8 @@ export class CkbSigner extends ccc.Signer { /** * Prepares a transaction. - * @param {ccc.TransactionLike} txLike - The transaction-like object. - * @returns {Promise} A promise that resolves to the prepared transaction. + * @param txLike - The transaction-like object. + * @returns A promise that resolves to the prepared transaction. */ async prepareTransaction( txLike: ccc.TransactionLike, @@ -204,7 +200,6 @@ export class CkbSigner extends ccc.Signer { /** * Prepares a transaction for a sub key. - * @private * @param tx - The transaction object. * @param witness - The witness arguments. * @throws Will throw an error if no COTA cells are found for the sub key wallet. @@ -253,8 +248,8 @@ export class CkbSigner extends ccc.Signer { /** * Signs a transaction. - * @param {ccc.TransactionLike} txLike - The transaction-like object. - * @returns {Promise} A promise that resolves to the signed transaction. + * @param txLike - The transaction-like object. + * @returns A promise that resolves to the signed transaction. */ async signOnlyTransaction( txLike: ccc.TransactionLike, @@ -306,8 +301,8 @@ export class CkbSigner extends ccc.Signer { /** * Signs a raw message with the account. - * @param {string | ccc.BytesLike} message - The message to sign. - * @returns {Promise} A promise that resolves to the signed message. + * @param message - The message to sign. + * @returns A promise that resolves to the signed message. */ async signMessageRaw(message: string | ccc.BytesLike): Promise { const { address } = await this.assertConnection(); @@ -338,8 +333,7 @@ export class CkbSigner extends ccc.Signer { /** * Saves the current connection. - * @private - * @returns {Promise} + * @returns */ private async saveConnection(): Promise { return this.connectionsRepo.set( @@ -353,8 +347,7 @@ export class CkbSigner extends ccc.Signer { /** * Restores the previous connection. - * @private - * @returns {Promise} + * @returns */ private async restoreConnection(): Promise { this.connection = await this.connectionsRepo.get({ diff --git a/packages/joy-id/src/common/index.ts b/packages/joy-id/src/common/index.ts index 15657902..9d0fe224 100644 --- a/packages/joy-id/src/common/index.ts +++ b/packages/joy-id/src/common/index.ts @@ -18,7 +18,6 @@ import { /** * Interface representing the return type for various Dapp request types. - * @interface */ export interface PopupReturnType { [DappRequestType.Auth]: AuthResponseData; @@ -42,9 +41,9 @@ export interface PopupReturnType { /** * Creates a popup window for JoyID Dapp requests. - * @param {string} url - The URL to open in the popup. - * @param {PopupConfigOptions & { joyidAppURL: string }} config - The popup configuration options. - * @returns {Promise} A promise that resolves to the response data of the requested type. + * @param url - The URL to open in the popup. + * @param config - The popup configuration options. + * @returns A promise that resolves to the response data of the requested type. * @throws {PopupNotSupportedError} If popups are not supported in the current browser. * @throws {PopupCancelledError} If the popup is closed by the user. * @throws {PopupTimeoutError} If the popup operation times out. diff --git a/packages/joy-id/src/connectionsStorage/index.ts b/packages/joy-id/src/connectionsStorage/index.ts index fa40079b..d4a96a73 100644 --- a/packages/joy-id/src/connectionsStorage/index.ts +++ b/packages/joy-id/src/connectionsStorage/index.ts @@ -2,20 +2,23 @@ import { ccc } from "@ckb-ccc/core"; /** * Type representing an account selector with a URI and address type. - * @typedef {Object} AccountSelector - * @property {string} uri - The URI of the account. - * @property {string} addressType - The address type of the account. */ export type AccountSelector = { + /** + * The URI of the account. + */ uri: string; + /** + * The address type of the account. + */ addressType: string; }; /** - * Checks if two AccountSelectors are equal. - * @param {AccountSelector} a - The first account selector. - * @param {AccountSelector} b - The second account selector. - * @returns {boolean} True if the selectors are equal, false otherwise. + * Checks if a AccountSelector matches the filter + * @param a - The first account selector. + * @param filter - The account selector filter. + * @returns True if the selector matches the filter */ export function isSelectorMatch( a: AccountSelector, @@ -26,34 +29,38 @@ export function isSelectorMatch( /** * Type representing a connection with an address, public key, and key type. - * @typedef {Object} Connection - * @property {string} address - The address of the connection. - * @property {ccc.Hex} publicKey - The public key of the connection. - * @property {string} keyType - The key type of the connection. */ export type Connection = { + /** + * The address of the connection. + */ readonly address: string; + /** + * The public key of the connection. + */ readonly publicKey: ccc.Hex; + /** + * The key type of the connection. + */ readonly keyType: string; }; /** * Interface representing a repository for managing connections. - * @interface */ export interface ConnectionsRepo { /** * Gets a connection for the given selector. - * @param {AccountSelector} selector - The account selector. - * @returns {Promise} A promise that resolves to the connection, if found. + * @param selector - The account selector. + * @returns A promise that resolves to the connection, if found. */ get(selector: AccountSelector): Promise; /** * Sets a connection for the given selector. - * @param {AccountSelector} selector - The account selector. - * @param {Connection | undefined} connection - The connection to set. - * @returns {Promise} A promise that resolves when the connection is set. + * @param selector - The account selector. + * @param connection - The connection to set. + * @returns A promise that resolves when the connection is set. */ set( selector: AccountSelector, @@ -63,19 +70,17 @@ export interface ConnectionsRepo { /** * Class representing a local storage-based repository for managing connections. - * @class - * @implements {ConnectionsRepo} */ export class ConnectionsRepoLocalStorage implements ConnectionsRepo { /** * Creates an instance of ConnectionsRepoLocalStorage. - * @param {string} [storageKey="ccc-joy-id-signer"] - The local storage key. + * @param [storageKey="ccc-joy-id-signer"] - The local storage key. */ constructor(private readonly storageKey = "ccc-joy-id-signer") {} /** * Reads all connections from local storage. - * @returns {Promise<[AccountSelector, Connection][]>} A promise that resolves to an array of selectors and connections. + * @returns A promise that resolves to an array of selectors and connections. */ async readConnections(): Promise<[AccountSelector, Connection][]> { return JSON.parse(window.localStorage.getItem(this.storageKey) ?? "[]"); @@ -83,8 +88,8 @@ export class ConnectionsRepoLocalStorage implements ConnectionsRepo { /** * Gets a connection for the given selector. - * @param {AccountSelector} selector - The account selector. - * @returns {Promise} A promise that resolves to the connection, if found. + * @param selector - The account selector. + * @returns A promise that resolves to the connection, if found. */ async get(selector: AccountSelector): Promise { return (await this.readConnections()).find(([s]) => @@ -94,9 +99,9 @@ export class ConnectionsRepoLocalStorage implements ConnectionsRepo { /** * Sets a connection for the given selector. - * @param {AccountSelector} selector - The account selector. - * @param {Connection | undefined} connection - The connection to set. - * @returns {Promise} + * @param selector - The account selector. + * @param connection - The connection to set. + * @returns */ async set( selector: AccountSelector, diff --git a/packages/joy-id/src/evm/index.ts b/packages/joy-id/src/evm/index.ts index 57d901a2..f6dc47e9 100644 --- a/packages/joy-id/src/evm/index.ts +++ b/packages/joy-id/src/evm/index.ts @@ -8,18 +8,16 @@ import { } from "../connectionsStorage/index.js"; /** - * Class representing an EVM signer that extends SignerEvm from @ckb-ccc/core. - * @class - * @extends {ccc.SignerEvm} + * Class representing an EVM signer that extends SignerEvm + * @public */ export class EvmSigner extends ccc.SignerEvm { private connection?: Connection; /** * Ensures that the signer is connected and returns the connection. - * @private * @throws Will throw an error if not connected. - * @returns {Connection} The current connection. + * @returns The current connection. */ private assertConnection(): Connection { if (!this.isConnected() || !this.connection) { @@ -34,7 +32,7 @@ export class EvmSigner extends ccc.SignerEvm { * @param client - The client instance. * @param name - The name of the signer. * @param icon - The icon URL of the signer. - * @param appUri - The application URI. + * @param _appUri - The application URI. * @param connectionsRepo - The connections repository. */ constructor( @@ -49,8 +47,7 @@ export class EvmSigner extends ccc.SignerEvm { /** * Gets the configuration for JoyID. - * @private - * @returns {object} The configuration object. + * @returns The configuration object. */ private getConfig() { return { @@ -75,7 +72,7 @@ export class EvmSigner extends ccc.SignerEvm { /** * Connects to the provider by requesting authentication. - * @returns {Promise} A promise that resolves when the connection is established. + * @returns A promise that resolves when the connection is established. */ async connect(): Promise { const config = this.getConfig(); @@ -102,7 +99,7 @@ export class EvmSigner extends ccc.SignerEvm { /** * Checks if the signer is connected. - * @returns {Promise} A promise that resolves to true if connected, false otherwise. + * @returns A promise that resolves to true if connected, false otherwise. */ async isConnected(): Promise { if (this.connection) { @@ -114,8 +111,8 @@ export class EvmSigner extends ccc.SignerEvm { /** * Signs a raw message with the EVM account. - * @param {string | ccc.BytesLike} message - The message to sign. - * @returns {Promise} A promise that resolves to the signed message. + * @param message - The message to sign. + * @returns A promise that resolves to the signed message. */ async signMessageRaw(message: string | ccc.BytesLike): Promise { const { address } = this.assertConnection(); @@ -142,8 +139,7 @@ export class EvmSigner extends ccc.SignerEvm { /** * Saves the current connection. - * @private - * @returns {Promise} + * @returns */ private async saveConnection(): Promise { return this.connectionsRepo.set( @@ -157,8 +153,7 @@ export class EvmSigner extends ccc.SignerEvm { /** * Restores the previous connection. - * @private - * @returns {Promise} + * @returns */ private async restoreConnection(): Promise { this.connection = await this.connectionsRepo.get({ diff --git a/packages/joy-id/src/nostr/index.ts b/packages/joy-id/src/nostr/index.ts index 1a21a5a2..c3b54af0 100644 --- a/packages/joy-id/src/nostr/index.ts +++ b/packages/joy-id/src/nostr/index.ts @@ -8,18 +8,16 @@ import { } from "../connectionsStorage/index.js"; /** - * Class representing a Nostr signer that extends SignerNostr from @ckb-ccc/core. - * @class - * @extends {ccc.SignerNostr} + * Class representing a Nostr signer that extends SignerNostr + * @public */ export class NostrSigner extends ccc.SignerNostr { private connection?: Connection; /** * Ensures that the signer is connected and returns the connection. - * @private * @throws Will throw an error if not connected. - * @returns {Connection} The current connection. + * @returns The current connection. */ private assertConnection(): Connection { if (!this.isConnected() || !this.connection) { @@ -34,7 +32,7 @@ export class NostrSigner extends ccc.SignerNostr { * @param client - The client instance. * @param name - The name of the signer. * @param icon - The icon URL of the signer. - * @param appUri - The application URI. + * @param _appUri - The application URI. * @param connectionsRepo - The connections repository. */ constructor( @@ -49,8 +47,7 @@ export class NostrSigner extends ccc.SignerNostr { /** * Gets the configuration for JoyID. - * @private - * @returns {object} The configuration object. + * @returns The configuration object. */ private getConfig() { return { @@ -67,7 +64,7 @@ export class NostrSigner extends ccc.SignerNostr { /** * Connects to the provider by requesting authentication. - * @returns {Promise} A promise that resolves when the connection is established. + * @returns A promise that resolves when the connection is established. */ async connect(): Promise { const config = this.getConfig(); @@ -93,7 +90,7 @@ export class NostrSigner extends ccc.SignerNostr { /** * Checks if the signer is connected. - * @returns {Promise} A promise that resolves to true if connected, false otherwise. + * @returns A promise that resolves to true if connected, false otherwise. */ async isConnected(): Promise { if (this.connection) { @@ -124,8 +121,7 @@ export class NostrSigner extends ccc.SignerNostr { /** * Saves the current connection. - * @private - * @returns {Promise} + * @returns */ private async saveConnection(): Promise { return this.connectionsRepo.set( @@ -139,8 +135,7 @@ export class NostrSigner extends ccc.SignerNostr { /** * Restores the previous connection. - * @private - * @returns {Promise} + * @returns */ private async restoreConnection(): Promise { this.connection = await this.connectionsRepo.get({ diff --git a/packages/joy-id/src/signerFactory/index.ts b/packages/joy-id/src/signerFactory/index.ts index 89a8314e..e6a2221f 100644 --- a/packages/joy-id/src/signerFactory/index.ts +++ b/packages/joy-id/src/signerFactory/index.ts @@ -9,10 +9,12 @@ import { NostrSigner } from "../nostr/index.js"; * Gets the JoyID signers based on the client, name, and icon. * If the browser is standalone or a webview, returns SignerAlwaysError instances. * Otherwise, returns instances of CkbSigner, BitcoinSigner, and EvmSigner. - * @param {ccc.Client} client - The client instance. - * @param {string} name - The name of the signer. - * @param {string} icon - The icon URL of the signer. - * @returns {ccc.SignerInfo[]} An array of signer information objects. + * @public + * + * @param client - The client instance. + * @param name - The name of the signer. + * @param icon - The icon URL of the signer. + * @returns An array of signer information objects. */ export function getJoyIdSigners( client: ccc.Client, diff --git a/packages/joy-id/typedoc.json b/packages/joy-id/typedoc.json new file mode 100644 index 00000000..48a5f6cb --- /dev/null +++ b/packages/joy-id/typedoc.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://typedoc.org/schema.json", + "entryPoints": [ + "./src/index.ts", + "./src/advanced.ts" + ], + "extends": [ + "../../typedoc.base.json" + ], + "name": "@ckb-ccc joy-id" +} \ No newline at end of file diff --git a/packages/lumos-patches/src/default.ts b/packages/lumos-patches/src/default.ts index a28873bd..b4485f1f 100644 --- a/packages/lumos-patches/src/default.ts +++ b/packages/lumos-patches/src/default.ts @@ -45,13 +45,12 @@ function addCellDep( /** * Generates a class for collecting custom script cells. - * @param {string} codeHash - The code hash of the custom script. - * @returns {typeof JoyIDCellCollector} The CustomCellCollector class. + * @param codeHash - The code hash of the custom script. + * @returns The CustomCellCollector class. */ function generateCollectorClass(codeHash: string) { /** * Class representing a collector for custom script cells. - * @class */ return class CustomCellCollector { readonly fromScript: Script; @@ -59,11 +58,11 @@ function generateCollectorClass(codeHash: string) { /** * Creates an instance of CustomCollector. - * @param {FromInfo} fromInfo - The information about the address to collect cells from. - * @param {CellProvider} cellProvider - The provider to collect cells from. - * @param {Object} options - The options for the collector. - * @param {QueryOptions} [options.queryOptions={}] - The query options for collecting cells. - * @param {Config} [options.config=getConfig()] - The Lumos configuration. + * @param fromInfo - The information about the address to collect cells from. + * @param cellProvider - The provider to collect cells from. + * @param options - The options for the collector. + * @param] - The query options for collecting cells. + * @param [options.config=getConfig()] - The Lumos configuration. * @throws {Error} If cellProvider is not provided or fromInfo is not a string. */ constructor( @@ -116,9 +115,11 @@ function generateCollectorClass(codeHash: string) { /** * Generates custom lock script information. - * @param {string} codeHash - The code hash of the custom script. - * @param {CellDep[]} cellDeps - The cell dependencies for the custom script. - * @returns {LockScriptInfo} The lock script information. + * @public + * + * @param codeHash - The code hash of the custom script. + * @param cellDeps - The cell dependencies for the custom script. + * @returns The lock script information. */ export function generateScriptInfo( codeHash: string, @@ -227,7 +228,7 @@ export function generateScriptInfo( /** * Generates default script information for CCC. - * @returns {LockScriptInfo[]} An array of lock script information. + * @returns An array of lock script information. */ export function generateDefaultScriptInfos(): LockScriptInfo[] { const mainnet = cccA.MAINNET_SCRIPTS; diff --git a/packages/lumos-patches/src/utils.ts b/packages/lumos-patches/src/utils.ts index 5aa00ea8..b55b9f9b 100644 --- a/packages/lumos-patches/src/utils.ts +++ b/packages/lumos-patches/src/utils.ts @@ -1,7 +1,9 @@ /** * Asserts that a condition is true, throwing an error if it is not. - * @param {unknown} condition - The condition to assert. - * @param {string} [message="Assert failed"] - The error message to throw if the condition is false. + * @public + * + * @param condition - The condition to assert. + * @param [message="Assert failed"] - The error message to throw if the condition is false. * @throws {Error} If the condition is false. */ export function asserts( diff --git a/packages/lumos-patches/typedoc.json b/packages/lumos-patches/typedoc.json new file mode 100644 index 00000000..88b77bd8 --- /dev/null +++ b/packages/lumos-patches/typedoc.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://typedoc.org/schema.json", + "entryPoints": [ + "./src/index.ts" + ], + "extends": [ + "../../typedoc.base.json" + ], + "name": "@ckb-ccc lumos-patches" +} \ No newline at end of file diff --git a/packages/nip07/src/signer.ts b/packages/nip07/src/signer.ts index 11f39b8f..ef9b5a21 100644 --- a/packages/nip07/src/signer.ts +++ b/packages/nip07/src/signer.ts @@ -1,6 +1,9 @@ import { ccc } from "@ckb-ccc/core"; import { Provider } from "./nip07.advanced.js"; +/** + * @public + */ export class Signer extends ccc.SignerNostr { private publicKeyCache?: Promise = undefined; diff --git a/packages/nip07/src/signersFactory.ts b/packages/nip07/src/signersFactory.ts index fe004c29..2c743b6c 100644 --- a/packages/nip07/src/signersFactory.ts +++ b/packages/nip07/src/signersFactory.ts @@ -2,6 +2,9 @@ import { ccc } from "@ckb-ccc/core"; import { Provider } from "./nip07.advanced.js"; import { Signer } from "./signer.js"; +/** + * @public + */ export function getNip07Signer(client: ccc.Client): Signer | undefined { const windowRef = window as { nostr?: Provider }; diff --git a/packages/nip07/typedoc.json b/packages/nip07/typedoc.json new file mode 100644 index 00000000..754f9e7b --- /dev/null +++ b/packages/nip07/typedoc.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://typedoc.org/schema.json", + "entryPoints": [ + "./src/index.ts", + "./src/advanced.ts" + ], + "extends": [ + "../../typedoc.base.json" + ], + "name": "@ckb-ccc nip07" +} \ No newline at end of file diff --git a/packages/okx/src/advancedBarrel.ts b/packages/okx/src/advancedBarrel.ts index 4fd913cf..331d9dbb 100644 --- a/packages/okx/src/advancedBarrel.ts +++ b/packages/okx/src/advancedBarrel.ts @@ -39,7 +39,6 @@ export interface NostrProvider extends Nip07A.Provider { /** * Interface representing a method to add event listeners to the provider. - * @interface */ export interface NostrOnMethod { /** diff --git a/packages/okx/src/btc/index.ts b/packages/okx/src/btc/index.ts index 7c85f5ef..e47611e6 100644 --- a/packages/okx/src/btc/index.ts +++ b/packages/okx/src/btc/index.ts @@ -2,17 +2,17 @@ import { ccc } from "@ckb-ccc/core"; import { BitcoinProvider } from "../advancedBarrel.js"; /** - * Class representing a Bitcoin signer that extends SignerBtc from @ckb-ccc/core. - * @class - * @extends {ccc.SignerBtc} + * Class representing a Bitcoin signer that extends SignerBtc + * @public */ export class BitcoinSigner extends ccc.SignerBtc { private network = "btcTestnet"; /** * Creates an instance of Signer. - * @param {ccc.Client} client - The client instance. - * @param {Provider} provider - The provider instance. + * @param client - The client instance. + * @param providers - The providers instance. + * @param preferredNetworks - All preferred networks */ constructor( client: ccc.Client, @@ -61,7 +61,7 @@ export class BitcoinSigner extends ccc.SignerBtc { /** * Gets the Bitcoin account address. - * @returns {Promise} A promise that resolves to the Bitcoin account address. + * @returns A promise that resolves to the Bitcoin account address. */ async getBtcAccount(): Promise { if (this.provider.getAccounts) { @@ -85,7 +85,7 @@ export class BitcoinSigner extends ccc.SignerBtc { /** * Gets the Bitcoin public key. - * @returns {Promise} A promise that resolves to the Bitcoin public key. + * @returns A promise that resolves to the Bitcoin public key. */ async getBtcPublicKey(): Promise { if (this.provider.getPublicKey) { @@ -105,7 +105,7 @@ export class BitcoinSigner extends ccc.SignerBtc { /** * Connects to the provider by requesting accounts. - * @returns {Promise} A promise that resolves when the connection is established. + * @returns A promise that resolves when the connection is established. */ async connect(): Promise { if (this.provider.requestAccounts) { @@ -138,7 +138,7 @@ export class BitcoinSigner extends ccc.SignerBtc { /** * Checks if the signer is connected. - * @returns {Promise} A promise that resolves to true if connected, false otherwise. + * @returns A promise that resolves to true if connected, false otherwise. */ async isConnected(): Promise { try { @@ -163,8 +163,8 @@ export class BitcoinSigner extends ccc.SignerBtc { /** * Signs a raw message with the Bitcoin account. - * @param {string | ccc.BytesLike} message - The message to sign. - * @returns {Promise} A promise that resolves to the signed message. + * @param message - The message to sign. + * @returns A promise that resolves to the signed message. */ async signMessageRaw(message: string | ccc.BytesLike): Promise { const challenge = diff --git a/packages/okx/src/nostr/index.ts b/packages/okx/src/nostr/index.ts index f3496997..09acf9f6 100644 --- a/packages/okx/src/nostr/index.ts +++ b/packages/okx/src/nostr/index.ts @@ -2,9 +2,8 @@ import { ccc } from "@ckb-ccc/core"; import { NostrProvider } from "../advancedBarrel.js"; /** - * Class representing a Bitcoin signer that extends SignerBtc from @ckb-ccc/core. - * @class - * @extends {ccc.SignerBtc} + * Class representing a Bitcoin signer that extends SignerBtc + * @public */ export class NostrSigner extends ccc.SignerNostr { private publicKeyCache?: Promise = undefined; diff --git a/packages/okx/src/signersFactory.ts b/packages/okx/src/signersFactory.ts index 3553c0fc..3762f6a8 100644 --- a/packages/okx/src/signersFactory.ts +++ b/packages/okx/src/signersFactory.ts @@ -5,8 +5,10 @@ import { NostrSigner } from "./nostr/index.js"; /** * Retrieves the OKX Bitcoin signer if available. - * @param {ccc.Client} client - The client instance. - * @returns {BitcoinSigner | undefined} The BitcoinSigner instance if the OKX wallet is available, otherwise undefined. + * @public + * + * @param client - The client instance. + * @returns The BitcoinSigner instance if the OKX wallet is available, otherwise undefined. */ export function getOKXSigners( client: ccc.Client, diff --git a/packages/okx/typedoc.json b/packages/okx/typedoc.json new file mode 100644 index 00000000..3b2a38e6 --- /dev/null +++ b/packages/okx/typedoc.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://typedoc.org/schema.json", + "entryPoints": [ + "./src/index.ts", + "./src/advanced.ts" + ], + "extends": [ + "../../typedoc.base.json" + ], + "name": "@ckb-ccc okx" +} \ No newline at end of file diff --git a/packages/uni-sat/src/advancedBarrel.ts b/packages/uni-sat/src/advancedBarrel.ts index 9a6f5fe5..e6ae56b5 100644 --- a/packages/uni-sat/src/advancedBarrel.ts +++ b/packages/uni-sat/src/advancedBarrel.ts @@ -1,11 +1,10 @@ /** * Interface representing a provider for interacting with accounts and signing messages. - * @interface */ export interface Provider { /** * Requests user accounts. - * @returns {Promise} A promise that resolves to an array of account addresses. + * @returns A promise that resolves to an array of account addresses. */ requestAccounts(): Promise; @@ -35,35 +34,34 @@ export interface Provider { /** * Gets the current accounts. - * @returns {Promise} A promise that resolves to an array of account addresses. + * @returns A promise that resolves to an array of account addresses. */ getAccounts(): Promise; /** * Gets the public key of the account. - * @returns {Promise} A promise that resolves to the public key. + * @returns A promise that resolves to the public key. */ getPublicKey(): Promise; /** * Signs a message with the specified type. - * @param {string} msg - The message to sign. - * @param {"ecdsa" | "bip322-simple"} type - The type of signature. - * @returns {Promise} A promise that resolves to the signed message. + * @param msg - The message to sign. + * @param type - The type of signature. + * @returns A promise that resolves to the signed message. */ signMessage(msg: string, type: "ecdsa" | "bip322-simple"): Promise; /** * Adds an event listener to the provider. - * @type {OnMethod} */ on: OnMethod; /** * Removes an event listener from the provider. - * @param {string} eventName - The name of the event to remove the listener from. - * @param {(...args: unknown[]) => unknown} listener - The listener function to remove. - * @returns {Provider} The provider instance. + * @param eventName - The name of the event to remove the listener from. + * @param listener - The listener function to remove. + * @returns The provider instance. */ removeListener( eventName: string, @@ -73,14 +71,13 @@ export interface Provider { /** * Interface representing a method to add event listeners to the provider. - * @interface */ export interface OnMethod { /** * Adds an event listener to the provider. - * @param {string} eventName - The name of the event. - * @param {(...args: unknown[]) => unknown} listener - The listener function. - * @returns {Provider} The provider instance. + * @param eventName - The name of the event. + * @param listener - The listener function. + * @returns The provider instance. */ (eventName: string, listener: (...args: unknown[]) => unknown): Provider; } diff --git a/packages/uni-sat/src/signer.ts b/packages/uni-sat/src/signer.ts index 142f10cd..653bba8e 100644 --- a/packages/uni-sat/src/signer.ts +++ b/packages/uni-sat/src/signer.ts @@ -2,15 +2,14 @@ import { ccc } from "@ckb-ccc/core"; import { Provider } from "./advancedBarrel.js"; /** - * Class representing a Bitcoin signer that extends SignerBtc from @ckb-ccc/core. - * @class - * @extends {ccc.SignerBtc} + * Class representing a Bitcoin signer that extends SignerBtc + * @public */ export class Signer extends ccc.SignerBtc { /** * Creates an instance of Signer. - * @param {ccc.Client} client - The client instance. - * @param {Provider} provider - The provider instance. + * @param client - The client instance. + * @param provider - The provider instance. */ constructor( client: ccc.Client, @@ -89,7 +88,7 @@ export class Signer extends ccc.SignerBtc { /** * Gets the Bitcoin account address. - * @returns {Promise} A promise that resolves to the Bitcoin account address. + * @returns A promise that resolves to the Bitcoin account address. */ async getBtcAccount(): Promise { return (await this.provider.getAccounts())[0]; @@ -97,7 +96,7 @@ export class Signer extends ccc.SignerBtc { /** * Gets the Bitcoin public key. - * @returns {Promise} A promise that resolves to the Bitcoin public key. + * @returns A promise that resolves to the Bitcoin public key. */ async getBtcPublicKey(): Promise { return ccc.hexFrom(await this.provider.getPublicKey()); @@ -105,7 +104,7 @@ export class Signer extends ccc.SignerBtc { /** * Connects to the provider by requesting accounts. - * @returns {Promise} A promise that resolves when the connection is established. + * @returns A promise that resolves when the connection is established. */ async connect(): Promise { await this.provider.requestAccounts(); @@ -131,7 +130,7 @@ export class Signer extends ccc.SignerBtc { /** * Checks if the signer is connected. - * @returns {Promise} A promise that resolves to true if connected, false otherwise. + * @returns A promise that resolves to true if connected, false otherwise. */ async isConnected(): Promise { if (await this._getNetworkToChange()) { @@ -142,8 +141,8 @@ export class Signer extends ccc.SignerBtc { /** * Signs a raw message with the Bitcoin account. - * @param {string | ccc.BytesLike} message - The message to sign. - * @returns {Promise} A promise that resolves to the signed message. + * @param message - The message to sign. + * @returns A promise that resolves to the signed message. */ async signMessageRaw(message: string | ccc.BytesLike): Promise { const challenge = diff --git a/packages/uni-sat/src/signersFactory.ts b/packages/uni-sat/src/signersFactory.ts index 934ccbd6..f3c0f7d3 100644 --- a/packages/uni-sat/src/signersFactory.ts +++ b/packages/uni-sat/src/signersFactory.ts @@ -4,8 +4,10 @@ import { Signer } from "./signer.js"; /** * Retrieves the UniSat signer if available. - * @param {ccc.Client} client - The client instance. - * @returns {Signer | undefined} The Signer instance if the UniSat provider is available, otherwise undefined. + * @public + * + * @param client - The client instance. + * @returns The Signer instance if the UniSat provider is available, otherwise undefined. */ export function getUniSatSigners( client: ccc.Client, diff --git a/packages/uni-sat/typedoc.json b/packages/uni-sat/typedoc.json new file mode 100644 index 00000000..9103aff5 --- /dev/null +++ b/packages/uni-sat/typedoc.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://typedoc.org/schema.json", + "entryPoints": [ + "./src/index.ts", + "./src/advanced.ts" + ], + "extends": [ + "../../typedoc.base.json" + ], + "name": "@ckb-ccc uni-sat" +} \ No newline at end of file diff --git a/packages/utxo-global/README.md b/packages/utxo-global/README.md index 6dfa58c6..e05b7e6f 100644 --- a/packages/utxo-global/README.md +++ b/packages/utxo-global/README.md @@ -4,7 +4,7 @@

    -

    +

    UTXO Global Wallet for Nervos - A New Horizon for Your Crypto Adventures!

    diff --git a/packages/utxo-global/src/btc/index.ts b/packages/utxo-global/src/btc/index.ts index 00bac352..65a248ab 100644 --- a/packages/utxo-global/src/btc/index.ts +++ b/packages/utxo-global/src/btc/index.ts @@ -1,6 +1,9 @@ import { ccc } from "@ckb-ccc/core"; import { Provider } from "../advancedBarrel.js"; +/** + * @public + */ export class SignerBtc extends ccc.SignerBtc { private accountCache: string | undefined; diff --git a/packages/utxo-global/src/ckb/index.ts b/packages/utxo-global/src/ckb/index.ts index c8371fd4..7a8e30e2 100644 --- a/packages/utxo-global/src/ckb/index.ts +++ b/packages/utxo-global/src/ckb/index.ts @@ -1,6 +1,9 @@ import { ccc } from "@ckb-ccc/core"; import { Provider } from "../advancedBarrel.js"; +/** + * @public + */ export class SignerCkb extends ccc.Signer { private accountCache: string | undefined; get type(): ccc.SignerType { @@ -9,7 +12,7 @@ export class SignerCkb extends ccc.Signer { /** * Gets the sign type. - * @returns {ccc.SignerSignType} The sign type. + * @returns The sign type. */ get signType(): ccc.SignerSignType { return ccc.SignerSignType.CkbSecp256k1; diff --git a/packages/utxo-global/src/signersFactory.ts b/packages/utxo-global/src/signersFactory.ts index 75773cfb..ab2a25ed 100644 --- a/packages/utxo-global/src/signersFactory.ts +++ b/packages/utxo-global/src/signersFactory.ts @@ -3,6 +3,9 @@ import { Provider } from "./advancedBarrel.js"; import { SignerBtc } from "./btc/index.js"; import { SignerCkb } from "./ckb/index.js"; +/** + * @public + */ export function getUtxoGlobalSigners(client: ccc.Client): ccc.SignerInfo[] { const windowRef = window as { utxoGlobal?: { diff --git a/packages/utxo-global/typedoc.json b/packages/utxo-global/typedoc.json new file mode 100644 index 00000000..545723bd --- /dev/null +++ b/packages/utxo-global/typedoc.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://typedoc.org/schema.json", + "entryPoints": [ + "./src/index.ts", + "./src/advanced.ts" + ], + "extends": [ + "../../typedoc.base.json" + ], + "name": "@ckb-ccc utxo-global" +} \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 10379789..2884b945 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,6 +23,15 @@ importers: ts-jest: specifier: ^29.1.4 version: 29.1.4(@babel/core@7.24.7)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.24.7))(jest@29.7.0(@types/node@20.12.7)(ts-node@10.9.2(@types/node@20.12.7)(typescript@5.4.5)))(typescript@5.4.5) + typedoc: + specifier: ^0.26.6 + version: 0.26.6(typescript@5.4.5) + typedoc-material-theme: + specifier: ^1.1.0 + version: 1.1.0(typedoc@0.26.6(typescript@5.4.5)) + typedoc-plugin-extras: + specifier: ^3.1.0 + version: 3.1.0(typedoc@0.26.6(typescript@5.4.5)) typescript: specifier: ^5.4.5 version: 5.4.5 @@ -1155,6 +1164,7 @@ packages: '@humanwhocodes/config-array@0.13.0': resolution: {integrity: sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==} engines: {node: '>=10.10.0'} + deprecated: Use @eslint/config-array instead '@humanwhocodes/module-importer@1.0.1': resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} @@ -1162,6 +1172,7 @@ packages: '@humanwhocodes/object-schema@2.0.3': resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==} + deprecated: Use @eslint/object-schema instead '@humanwhocodes/retry@0.2.3': resolution: {integrity: sha512-X38nUbachlb01YMlvPFojKoiXq+LzZvuSce70KPMPdeM1Rj03k4dR7lDslhbqXn3Ang4EU3+EAmwEAsbrjHW3g==} @@ -1300,6 +1311,9 @@ packages: '@manypkg/get-packages@1.1.3': resolution: {integrity: sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A==} + '@material/material-color-utilities@0.2.7': + resolution: {integrity: sha512-0FCeqG6WvK4/Cc06F/xXMd/pv4FeisI0c1tUpBbfhA2n9Y8eZEv4Karjbmf2ZqQCPUWMrGp8A571tCjizxoTiQ==} + '@nervosnetwork/ckb-sdk-utils@0.109.3': resolution: {integrity: sha512-sV3WXlZmd765qtFsXpwl0Bl3hOgGev15Og810acO6iC0cVHEVvv/Uiabd8a2xkqyfziRDI0tfWC0DewOJB28rg==} @@ -1493,6 +1507,9 @@ packages: '@scure/bip39@1.3.0': resolution: {integrity: sha512-disdg7gHuTDZtY+ZdkmLpPCk7fxZSu3gBiEGuoC1XYxv9cGx3Z6cpTggCgW6odSOOIXCiDjuGejW+aJKCY/pIQ==} + '@shikijs/core@1.14.1': + resolution: {integrity: sha512-KyHIIpKNaT20FtFPFjCQB5WVSTpLR/n+jQXhWHWVUMm9MaOaG9BGOG0MSyt7yA4+Lm+4c9rTc03tt3nYzeYSfw==} + '@sinclair/typebox@0.27.8': resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} @@ -1574,6 +1591,9 @@ packages: '@types/graceful-fs@4.1.9': resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} + '@types/hast@3.0.4': + resolution: {integrity: sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==} + '@types/http-errors@2.0.4': resolution: {integrity: sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==} @@ -1655,6 +1675,9 @@ packages: '@types/trusted-types@2.0.7': resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==} + '@types/unist@3.0.3': + resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==} + '@types/validator@13.12.0': resolution: {integrity: sha512-nH45Lk7oPIJ1RVOF6JgFI6Dy0QpHEzq4QecZhvguxYPDwT8c93prCMqAtiIttm39voZ+DDR+qkNnMpJmMBRqag==} @@ -2536,6 +2559,10 @@ packages: resolution: {integrity: sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==} engines: {node: '>=8.6'} + entities@4.5.0: + resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} + engines: {node: '>=0.12'} + error-ex@1.3.2: resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} @@ -3541,6 +3568,9 @@ packages: lines-and-columns@1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} + linkify-it@5.0.0: + resolution: {integrity: sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==} + lit-element@4.0.5: resolution: {integrity: sha512-iTWskWZEtn9SyEf4aBG6rKT8GABZMrTWop1+jopsEOgEcugcXJGKuX5bEbkq9qfzY+XB4MAgCaSPwnNpdsNQ3Q==} @@ -3611,6 +3641,9 @@ packages: peerDependencies: react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc + lunr@2.3.9: + resolution: {integrity: sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==} + magic-string@0.30.8: resolution: {integrity: sha512-ISQTe55T2ao7XtlAStud6qwYPZjE4GK1S/BeVPus4jrq6JuOnQ00YKQC581RWhR122W7msZV263KzVeLoqidyQ==} engines: {node: '>=12'} @@ -3625,9 +3658,16 @@ packages: makeerror@1.0.12: resolution: {integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==} + markdown-it@14.1.0: + resolution: {integrity: sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==} + hasBin: true + md5.js@1.3.5: resolution: {integrity: sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==} + mdurl@2.0.0: + resolution: {integrity: sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==} + media-typer@0.3.0: resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==} engines: {node: '>= 0.6'} @@ -3693,6 +3733,10 @@ packages: resolution: {integrity: sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==} engines: {node: '>=16 || 14 >=14.17'} + minimatch@9.0.5: + resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} + engines: {node: '>=16 || 14 >=14.17'} + minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} @@ -4139,6 +4183,10 @@ packages: pseudomap@1.0.2: resolution: {integrity: sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==} + punycode.js@2.3.1: + resolution: {integrity: sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==} + engines: {node: '>=6'} + punycode@2.3.1: resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} engines: {node: '>=6'} @@ -4371,6 +4419,9 @@ packages: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} engines: {node: '>=8'} + shiki@1.14.1: + resolution: {integrity: sha512-FujAN40NEejeXdzPt+3sZ3F2dx1U24BY2XTY01+MG8mbxCiA2XukXdcbyMyLAHJ/1AUUnQd1tZlvIjefWWEJeA==} + side-channel@1.0.6: resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} engines: {node: '>= 0.4'} @@ -4740,6 +4791,24 @@ packages: typedarray@0.0.6: resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==} + typedoc-material-theme@1.1.0: + resolution: {integrity: sha512-LLWGVb8w+i+QGnsu/a0JKjcuzndFQt/UeGVOQz0HFFGGocROEHv5QYudIACrj+phL2LDwH05tJx0Ob3pYYH2UA==} + engines: {node: '>=18.0.0', npm: '>=8.6.0'} + peerDependencies: + typedoc: ^0.25.13 || ^0.26.3 + + typedoc-plugin-extras@3.1.0: + resolution: {integrity: sha512-8tNeq2fgl2HCUZ6eZuAoLLKEvB/WrRS4He9MtTfo3X3Pa8Iw3TS5D0g8krDhUXUk1uHpXVAVHm8rSOMS2mdJRw==} + peerDependencies: + typedoc: 0.26.x + + typedoc@0.26.6: + resolution: {integrity: sha512-SfEU3SH3wHNaxhFPjaZE2kNl/NFtLNW5c1oHsg7mti7GjmUj1Roq6osBQeMd+F4kL0BoRBBr8gQAuqBlfFu8LA==} + engines: {node: '>= 18'} + hasBin: true + peerDependencies: + typescript: 4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x + typescript-eslint@7.7.0: resolution: {integrity: sha512-wZZ+7mTQJCn4mGAvzdERtL4vwKGM/mF9cMSMeKUllz3Hgbd1Mdd5L60Q+nJmCio9RB4OyMMr0EX4Ry2Q7jiAyw==} engines: {node: ^18.18.0 || >=20.0.0} @@ -4760,6 +4829,9 @@ packages: engines: {node: '>=14.17'} hasBin: true + uc.micro@2.1.0: + resolution: {integrity: sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==} + uid@2.0.2: resolution: {integrity: sha512-u3xV3X7uzvi5b1MncmZo3i2Aw222Zk1keqLA1YkHldREkAhAqi65wuPfe7lHx8H/Wzy+8CE7S7uS3jekIM5s8g==} engines: {node: '>=8'} @@ -4938,6 +5010,11 @@ packages: engines: {node: '>= 14'} hasBin: true + yaml@2.5.0: + resolution: {integrity: sha512-2wWLbGbYDiSqqIKoPjar3MPgB94ErzCtrNE1FdqGuaO0pi2JGjmE8aW8TDZwzU7vuxcGRdL/4gPQwQ7hD5AMSw==} + engines: {node: '>= 14'} + hasBin: true + yargs-parser@20.2.9: resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} engines: {node: '>=10'} @@ -5888,6 +5965,8 @@ snapshots: globby: 11.1.0 read-yaml-file: 1.1.0 + '@material/material-color-utilities@0.2.7': {} + '@nervosnetwork/ckb-sdk-utils@0.109.3': dependencies: '@nervosnetwork/ckb-types': 0.109.3 @@ -6088,6 +6167,10 @@ snapshots: '@noble/hashes': 1.4.0 '@scure/base': 1.1.7 + '@shikijs/core@1.14.1': + dependencies: + '@types/hast': 3.0.4 + '@sinclair/typebox@0.27.8': {} '@sinonjs/commons@3.0.1': @@ -6187,6 +6270,10 @@ snapshots: dependencies: '@types/node': 20.12.7 + '@types/hast@3.0.4': + dependencies: + '@types/unist': 3.0.3 + '@types/http-errors@2.0.4': {} '@types/istanbul-lib-coverage@2.0.6': {} @@ -6272,6 +6359,8 @@ snapshots: '@types/trusted-types@2.0.7': {} + '@types/unist@3.0.3': {} + '@types/validator@13.12.0': {} '@types/yargs-parser@21.0.3': {} @@ -7335,6 +7424,8 @@ snapshots: dependencies: ansi-colors: 4.1.3 + entities@4.5.0: {} + error-ex@1.3.2: dependencies: is-arrayish: 0.2.1 @@ -8798,6 +8889,10 @@ snapshots: lines-and-columns@1.2.4: {} + linkify-it@5.0.0: + dependencies: + uc.micro: 2.1.0 + lit-element@4.0.5: dependencies: '@lit-labs/ssr-dom-shim': 1.2.0 @@ -8871,6 +8966,8 @@ snapshots: dependencies: react: 18.2.0 + lunr@2.3.9: {} + magic-string@0.30.8: dependencies: '@jridgewell/sourcemap-codec': 1.4.15 @@ -8885,12 +8982,23 @@ snapshots: dependencies: tmpl: 1.0.5 + markdown-it@14.1.0: + dependencies: + argparse: 2.0.1 + entities: 4.5.0 + linkify-it: 5.0.0 + mdurl: 2.0.0 + punycode.js: 2.3.1 + uc.micro: 2.1.0 + md5.js@1.3.5: dependencies: hash-base: 3.1.0 inherits: 2.0.4 safe-buffer: 5.2.1 + mdurl@2.0.0: {} + media-typer@0.3.0: {} memfs@3.5.3: @@ -8938,6 +9046,10 @@ snapshots: dependencies: brace-expansion: 2.0.1 + minimatch@9.0.5: + dependencies: + brace-expansion: 2.0.1 + minimist@1.2.8: {} minipass@7.0.4: {} @@ -9302,6 +9414,8 @@ snapshots: pseudomap@1.0.2: {} + punycode.js@2.3.1: {} + punycode@2.3.1: {} pure-rand@6.1.0: {} @@ -9576,6 +9690,11 @@ snapshots: shebang-regex@3.0.0: {} + shiki@1.14.1: + dependencies: + '@shikijs/core': 1.14.1 + '@types/hast': 3.0.4 + side-channel@1.0.6: dependencies: call-bind: 1.0.7 @@ -9978,6 +10097,24 @@ snapshots: typedarray@0.0.6: {} + typedoc-material-theme@1.1.0(typedoc@0.26.6(typescript@5.4.5)): + dependencies: + '@material/material-color-utilities': 0.2.7 + typedoc: 0.26.6(typescript@5.4.5) + + typedoc-plugin-extras@3.1.0(typedoc@0.26.6(typescript@5.4.5)): + dependencies: + typedoc: 0.26.6(typescript@5.4.5) + + typedoc@0.26.6(typescript@5.4.5): + dependencies: + lunr: 2.3.9 + markdown-it: 14.1.0 + minimatch: 9.0.5 + shiki: 1.14.1 + typescript: 5.4.5 + yaml: 2.5.0 + typescript-eslint@7.7.0(eslint@9.1.0)(typescript@5.4.5): dependencies: '@typescript-eslint/eslint-plugin': 7.7.0(@typescript-eslint/parser@7.7.0(eslint@9.1.0)(typescript@5.4.5))(eslint@9.1.0)(typescript@5.4.5) @@ -9993,6 +10130,8 @@ snapshots: typescript@5.4.5: {} + uc.micro@2.1.0: {} + uid@2.0.2: dependencies: '@lukeed/csprng': 1.1.0 @@ -10191,6 +10330,8 @@ snapshots: yaml@2.4.1: {} + yaml@2.5.0: {} + yargs-parser@20.2.9: {} yargs-parser@21.1.1: {} diff --git a/tsconfig.base.json b/tsconfig.base.json index ec36e316..6ba0aecd 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -17,5 +17,5 @@ "noFallthroughCasesInSwitch": true, "forceConsistentCasingInFileNames": true }, - "include": ["src/**/*"] + "include": ["packages/**/*"] } diff --git a/typedoc.base.json b/typedoc.base.json new file mode 100644 index 00000000..10bd9951 --- /dev/null +++ b/typedoc.base.json @@ -0,0 +1,15 @@ +{ + "$schema": "https://typedoc.org/schema.json", + "sourceLinkTemplate": "https://github.com/ckb-ecofund/ccc/blob/master/{path}#L{line}", + "excludeReferences": true, + "excludeExternals": true, + "externalPattern": [ + "**/dist/**", + "./node_modules/**" + ], + "sort": [ + "source-order", + "alphabetical", + "kind" + ] +} diff --git a/typedoc.json b/typedoc.json new file mode 100644 index 00000000..004097f5 --- /dev/null +++ b/typedoc.json @@ -0,0 +1,31 @@ +{ + "$schema": "https://typedoc.org/schema.json", + "entryPoints": [ + "packages/core", + "packages/ccc", + "packages/connector", + "packages/connector-react", + "packages/utxo-global", + "packages/joy-id", + "packages/okx", + "packages/uni-sat", + "packages/nip07", + "packages/eip6963", + "packages/lumos-patches" + ], + "entryPointStrategy": "packages", + "githubPages": true, + "navigationLinks": { + "GitHub": "https://github.com/ckb-ecofund/ccc", + "App": "https://app.ckbccc.com", + }, + "hostedBaseUrl": "https://docs.example.com", + "plugin": [ + "typedoc-material-theme", + "typedoc-plugin-extras" + ], + "themeColor": "#434343", + "favicon": "assets/logo.svg", + "customDescription": "Docs for CCC", + "footerLastModified": true +} \ No newline at end of file