From 6f7048fbd984f5fd3d236f01217b2b357b9a5177 Mon Sep 17 00:00:00 2001 From: Ouziel Slama Date: Tue, 24 Sep 2024 12:37:03 +0200 Subject: [PATCH] Deploy website - based on ea9ecf9f746b5c0c8ab8cf30f3df16cd1da38654 --- 404.html | 2 +- assets/js/78f44bf9.708e4350.js | 1 - assets/js/78f44bf9.8698d53a.js | 1 + ...ntime~main.70464742.js => runtime~main.b517dec6.js} | 2 +- docs/advanced/api-v1/api-v1-changelog/index.html | 2 +- docs/advanced/api-v1/api-v1-overview/index.html | 2 +- docs/advanced/api-v1/api-v1-spec/index.html | 2 +- docs/advanced/api-v2/node-api/index.html | 2 +- docs/advanced/api-v2/v1-to-v2/index.html | 2 +- docs/advanced/bounties/index.html | 2 +- .../command-line-interface/multisig/index.html | 2 +- .../command-line-interface/sending-bulk/index.html | 2 +- docs/advanced/command-line-interface/usage/index.html | 2 +- docs/advanced/exchange-integration/index.html | 2 +- docs/advanced/how-to/atomic-swap/index.html | 2 +- docs/advanced/how-to/docker-kickstart/index.html | 2 +- docs/advanced/how-to/regtest-node/index.html | 10 ++++++---- docs/advanced/how-to/sentry-integration/index.html | 2 +- docs/advanced/protocol/index.html | 2 +- .../allow-subassets-on-numerics/index.html | 2 +- .../dispenser-must-be-created-by-source/index.html | 2 +- .../specifications/enable-dispense-tx/index.html | 2 +- docs/advanced/specifications/fairminter/index.html | 2 +- docs/advanced/specifications/free-subassets/index.html | 2 +- docs/advanced/specifications/gas-system/index.html | 2 +- .../lockable-issuance-descriptions/index.html | 2 +- docs/advanced/specifications/utxo-support/index.html | 2 +- docs/basics/assets/counterparty-assets/index.html | 2 +- docs/basics/assets/enhanced-asset/index.html | 2 +- docs/basics/assets/enhanced-feed/index.html | 2 +- docs/basics/faq/index.html | 2 +- docs/basics/getting-started/index.html | 2 +- docs/basics/manual-installation/index.html | 2 +- docs/basics/usage/index.html | 2 +- docs/basics/what-is-counterparty/index.html | 2 +- docs/basics/what-is-xcp/index.html | 2 +- index.html | 2 +- 37 files changed, 41 insertions(+), 39 deletions(-) delete mode 100644 assets/js/78f44bf9.708e4350.js create mode 100644 assets/js/78f44bf9.8698d53a.js rename assets/js/{runtime~main.70464742.js => runtime~main.b517dec6.js} (65%) diff --git a/404.html b/404.html index a5b5299..0a5f0ed 100644 --- a/404.html +++ b/404.html @@ -4,7 +4,7 @@ Page Not Found | Counterparty - + diff --git a/assets/js/78f44bf9.708e4350.js b/assets/js/78f44bf9.708e4350.js deleted file mode 100644 index ff8a988..0000000 --- a/assets/js/78f44bf9.708e4350.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkxcpdoc=self.webpackChunkxcpdoc||[]).push([[845],{3821:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>c,default:()=>h,frontMatter:()=>r,metadata:()=>i,toc:()=>a});var s=n(4848),o=n(8453);const r={},c="Test Counterparty Server on Regtest network",i={id:"advanced/how-to/regtest-node",title:"Test Counterparty Server on Regtest network",description:"You must have the following three applications installed and available in the $PATH:",source:"@site/docs/advanced/how-to/regtest-node.md",sourceDirName:"advanced/how-to",slug:"/advanced/how-to/regtest-node",permalink:"/docs/advanced/how-to/regtest-node",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/edit/master/website/docs/advanced/how-to/regtest-node.md",tags:[],version:"current",frontMatter:{},sidebar:"advanced",previous:{title:"Atomic Swap with UTXO Support",permalink:"/docs/advanced/how-to/atomic-swap"},next:{title:"Make Dispenses Normal Counterparty Transactions",permalink:"/docs/advanced/specifications/enable-dispense-tx"}},d={},a=[{value:"Method 1",id:"method-1",level:2},{value:"Method 2",id:"method-2",level:2}];function l(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",ul:"ul",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"test-counterparty-server-on-regtest-network",children:"Test Counterparty Server on Regtest network"}),"\n",(0,s.jsx)(t.h1,{id:"prerequisites",children:"Prerequisites"}),"\n",(0,s.jsx)(t.p,{children:"You must have the following three applications installed and available in the $PATH:"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Bitcoin Core"}),"\n",(0,s.jsx)(t.li,{children:"Addrindexrs"}),"\n",(0,s.jsx)(t.li,{children:"Counteparty Core"}),"\n"]}),"\n",(0,s.jsxs)(t.p,{children:["You can follow the instructions here ",(0,s.jsx)(t.a,{href:"https://docs.counterparty.io/docs/basics/manual-installation/",children:"https://docs.counterparty.io/docs/basics/manual-installation/"})," to install them."]}),"\n",(0,s.jsx)(t.h1,{id:"start-the-regtest-node",children:"Start the regtest node"}),"\n",(0,s.jsx)(t.h2,{id:"method-1",children:"Method 1"}),"\n",(0,s.jsxs)(t.p,{children:["Use the ",(0,s.jsx)(t.code,{children:"regtestnode.py"})," script:"]}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{children:"$ python3 counterpartcore/test/regtest/regtestnode.py\n"})}),"\n",(0,s.jsx)(t.p,{children:"This script does the following:"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Starts Bitcoin Core and Addrindexrs"}),"\n",(0,s.jsx)(t.li,{children:"Generates 10 addresses containing BTC"}),"\n",(0,s.jsxs)(t.li,{children:["Starts ",(0,s.jsx)(t.code,{children:"counterparty-server"})]}),"\n",(0,s.jsx)(t.li,{children:"Uses the generated addresses to burn BTC and obtain XCP."}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"Once finished you have a node ready to use. You can check with:"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{children:"$ curl [http://localhost:24000/v2/](http://localhost:24000/v2/)\n$ bitcoin-cli -regtest -rpcuser rpc -rpcpassword rpc -getinfo\n"})}),"\n",(0,s.jsx)(t.h2,{id:"method-2",children:"Method 2"}),"\n",(0,s.jsx)(t.p,{children:"If you need a server containing sample data you can use:"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{children:"$ python3 counterpartcore/test/regtest/testscenarios.py serve\n"})}),"\n",(0,s.jsxs)(t.p,{children:["This script performs the same operations as ",(0,s.jsx)(t.code,{children:"regtestnode.py"})," but also executes all scenario transactions found in ",(0,s.jsx)(t.code,{children:"counterpartcore/test/regtest/scenarios"}),"."]}),"\n",(0,s.jsx)(t.h1,{id:"interact-with-the-regtest-node",children:"Interact with the regtest node"}),"\n",(0,s.jsxs)(t.p,{children:["You can use ",(0,s.jsx)(t.code,{children:"curl"})," and ",(0,s.jsx)(t.code,{children:"bitcoin-cli"})," or the ",(0,s.jsx)(t.code,{children:"tools/xcpcli.py"})," tool.\nThis tool is very easy to use and the help contains complete documentation for each command. It allows:"]}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"To query the API"}),"\n",(0,s.jsx)(t.li,{children:"to compose, sign and send a transaction across the network in a single command."}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"Examples:"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{children:"$ python3 tools/xcpcli.py -h\n$ python3 tools/xcpcli.py get_asset_balances -h\n$ python3 tools/xcpcli.py get_asset_balances --asset XCP\n$ python3 tools/xcpcli.py send_send -h\n$ python3 tools/xcpcli.py send_send --address bcrt1qusq9znaxgfn8klvw77np3tchv2g0djzf6v3zfn --asset XCP --destination mjts5dr3JwF7U5MMNWkG8dYffEAXEhayFn --quantity 10\n"})})]})}function h(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},8453:(e,t,n)=>{n.d(t,{R:()=>c,x:()=>i});var s=n(6540);const o={},r=s.createContext(o);function c(e){const t=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/78f44bf9.8698d53a.js b/assets/js/78f44bf9.8698d53a.js new file mode 100644 index 0000000..eb6c447 --- /dev/null +++ b/assets/js/78f44bf9.8698d53a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkxcpdoc=self.webpackChunkxcpdoc||[]).push([[845],{3821:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>c,default:()=>h,frontMatter:()=>r,metadata:()=>i,toc:()=>a});var s=t(4848),o=t(8453);const r={},c="Test Counterparty Server on Regtest network",i={id:"advanced/how-to/regtest-node",title:"Test Counterparty Server on Regtest network",description:"You must have the following three applications installed and available in the $PATH:",source:"@site/docs/advanced/how-to/regtest-node.md",sourceDirName:"advanced/how-to",slug:"/advanced/how-to/regtest-node",permalink:"/docs/advanced/how-to/regtest-node",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/edit/master/website/docs/advanced/how-to/regtest-node.md",tags:[],version:"current",frontMatter:{},sidebar:"advanced",previous:{title:"Atomic Swap with UTXO Support",permalink:"/docs/advanced/how-to/atomic-swap"},next:{title:"Make Dispenses Normal Counterparty Transactions",permalink:"/docs/advanced/specifications/enable-dispense-tx"}},d={},a=[{value:"Method 1",id:"method-1",level:2},{value:"Method 2",id:"method-2",level:2}];function l(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",ul:"ul",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h1,{id:"test-counterparty-server-on-regtest-network",children:"Test Counterparty Server on Regtest network"}),"\n",(0,s.jsx)(n.h1,{id:"prerequisites",children:"Prerequisites"}),"\n",(0,s.jsx)(n.p,{children:"You must have the following three applications installed and available in the $PATH:"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"Bitcoin Core"}),"\n",(0,s.jsx)(n.li,{children:"Addrindexrs"}),"\n",(0,s.jsx)(n.li,{children:"Counteparty Core"}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["You can follow the instructions here ",(0,s.jsx)(n.a,{href:"https://docs.counterparty.io/docs/basics/manual-installation/",children:"https://docs.counterparty.io/docs/basics/manual-installation/"})," to install them."]}),"\n",(0,s.jsx)(n.p,{children:"You also need to install the following Python packages using pip:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{children:"$ pip3 install rich sh\n"})}),"\n",(0,s.jsx)(n.h1,{id:"start-the-regtest-node",children:"Start the regtest node"}),"\n",(0,s.jsx)(n.h2,{id:"method-1",children:"Method 1"}),"\n",(0,s.jsxs)(n.p,{children:["Use the ",(0,s.jsx)(n.code,{children:"regtestnode.py"})," script:"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{children:"$ python3 counterpartycore/test/regtest/regtestnode.py\n"})}),"\n",(0,s.jsx)(n.p,{children:"This script does the following:"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"Starts Bitcoin Core and Addrindexrs"}),"\n",(0,s.jsx)(n.li,{children:"Generates 10 addresses containing BTC"}),"\n",(0,s.jsxs)(n.li,{children:["Starts ",(0,s.jsx)(n.code,{children:"counterparty-server"})]}),"\n",(0,s.jsx)(n.li,{children:"Uses the generated addresses to burn BTC and obtain XCP."}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:"Once finished you have a node ready to use. You can check with:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{children:"$ curl http://localhost:24000/v2/\n$ bitcoin-cli -regtest -rpcuser rpc -rpcpassword rpc -getinfo\n"})}),"\n",(0,s.jsx)(n.h2,{id:"method-2",children:"Method 2"}),"\n",(0,s.jsx)(n.p,{children:"If you need a server containing sample data you can use:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{children:"$ python3 counterpartycore/test/regtest/testscenarios.py serve\n"})}),"\n",(0,s.jsxs)(n.p,{children:["This script performs the same operations as ",(0,s.jsx)(n.code,{children:"regtestnode.py"})," but also executes all scenario transactions found in ",(0,s.jsx)(n.code,{children:"counterpartcore/test/regtest/scenarios"}),"."]}),"\n",(0,s.jsx)(n.h1,{id:"interact-with-the-regtest-node",children:"Interact with the regtest node"}),"\n",(0,s.jsxs)(n.p,{children:["You can use ",(0,s.jsx)(n.code,{children:"curl"})," and ",(0,s.jsx)(n.code,{children:"bitcoin-cli"})," or the ",(0,s.jsx)(n.code,{children:"tools/xcpcli.py"})," tool.\nThis tool is very easy to use and the help contains complete documentation for each command. It allows:"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"To query the API"}),"\n",(0,s.jsx)(n.li,{children:"to compose, sign and send a transaction across the network in a single command."}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:"Examples:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{children:"$ python3 tools/xcpcli.py -h\n$ python3 tools/xcpcli.py get_asset_balances -h\n$ python3 tools/xcpcli.py get_asset_balances --asset XCP\n$ python3 tools/xcpcli.py send_send -h\n$ python3 tools/xcpcli.py send_send --address bcrt1qusq9znaxgfn8klvw77np3tchv2g0djzf6v3zfn --asset XCP --destination mjts5dr3JwF7U5MMNWkG8dYffEAXEhayFn --quantity 10\n"})})]})}function h(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},8453:(e,n,t)=>{t.d(n,{R:()=>c,x:()=>i});var s=t(6540);const o={},r=s.createContext(o);function c(e){const n=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),s.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.70464742.js b/assets/js/runtime~main.b517dec6.js similarity index 65% rename from assets/js/runtime~main.70464742.js rename to assets/js/runtime~main.b517dec6.js index ed8d770..b9d42cb 100644 --- a/assets/js/runtime~main.70464742.js +++ b/assets/js/runtime~main.b517dec6.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,t,r,f,c={},o={};function d(e){var a=o[e];if(void 0!==a)return a.exports;var t=o[e]={id:e,loaded:!1,exports:{}};return c[e].call(t.exports,t,t.exports,d),t.loaded=!0,t.exports}d.m=c,d.c=o,e=[],d.O=(a,t,r,f)=>{if(!t){var c=1/0;for(i=0;i=f)&&Object.keys(d.O).every((e=>d.O[e](t[b])))?t.splice(b--,1):(o=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[t,r,f]},d.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return d.d(a,{a:a}),a},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,d.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var f=Object.create(null);d.r(f);var c={};a=a||[null,t({}),t([]),t(t)];for(var o=2&r&&e;"object"==typeof o&&!~a.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach((a=>c[a]=()=>e[a]));return c.default=()=>e,d.d(f,c),f},d.d=(e,a)=>{for(var t in a)d.o(a,t)&&!d.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},d.f={},d.e=e=>Promise.all(Object.keys(d.f).reduce(((a,t)=>(d.f[t](e,a),a)),[])),d.u=e=>"assets/js/"+({10:"e79842f2",25:"3866f40a",26:"4f873c4b",48:"a94703ab",53:"39f92788",61:"aeaaba45",98:"a7bd4aaa",107:"418705b5",133:"b2ebb06c",137:"9bf309c2",184:"28a74b18",216:"b7a88ac5",228:"a7852acd",253:"40cf6384",291:"ceae6123",313:"0d902d1d",356:"825c9a32",365:"a00ce575",369:"47dd2ef0",380:"4ce8663f",398:"a1c33974",401:"17896441",463:"aaef2cb0",466:"1cd19a42",467:"fe704f88",513:"1a034fda",549:"e9ab1486",559:"c463f2d8",568:"4a97e2ba",581:"935f2afb",604:"b7d3b5fd",634:"c4f5d8e4",637:"53a774fe",645:"9e3db766",647:"5e95c892",711:"e74c2636",738:"c66ced44",787:"2ee84cfa",845:"78f44bf9",929:"e25eb256"}[e]||e)+"."+{10:"47a4cd08",25:"57250c59",26:"3f59a55a",48:"1fa3c1e4",53:"9530600f",61:"e439c077",98:"b04d429b",107:"e7f06077",133:"b9fee121",137:"312d384c",184:"02d38687",216:"68ab7575",228:"6e1e6c64",253:"dbc9d9d3",291:"45947550",293:"d306facd",313:"c0441f09",356:"063b5c32",365:"48a0f047",369:"eceb3e3c",380:"c313a617",398:"bcd30f4c",401:"7770069d",463:"932814c2",466:"162ac5ba",467:"d78e1018",513:"894738f7",549:"cadf83d1",559:"7b7e782d",568:"1612bc22",581:"d72fae3c",604:"a8f29e10",634:"f43e20c5",637:"51e721c2",645:"d4cd8842",647:"6d89839a",711:"bd11bcb9",738:"dfe63458",787:"e50171e5",845:"708e4350",929:"863660a9"}[e]+".js",d.miniCssF=e=>{},d.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),d.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),r={},f="xcpdoc:",d.l=(e,a,t,c)=>{if(r[e])r[e].push(a);else{var o,b;if(void 0!==t)for(var n=document.getElementsByTagName("script"),i=0;i{o.onerror=o.onload=null,clearTimeout(s);var f=r[e];if(delete r[e],o.parentNode&&o.parentNode.removeChild(o),f&&f.forEach((e=>e(t))),a)return a(t)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=l.bind(null,o.onerror),o.onload=l.bind(null,o.onload),b&&document.head.appendChild(o)}},d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.p="/",d.gca=function(e){return e={17896441:"401",e79842f2:"10","3866f40a":"25","4f873c4b":"26",a94703ab:"48","39f92788":"53",aeaaba45:"61",a7bd4aaa:"98","418705b5":"107",b2ebb06c:"133","9bf309c2":"137","28a74b18":"184",b7a88ac5:"216",a7852acd:"228","40cf6384":"253",ceae6123:"291","0d902d1d":"313","825c9a32":"356",a00ce575:"365","47dd2ef0":"369","4ce8663f":"380",a1c33974:"398",aaef2cb0:"463","1cd19a42":"466",fe704f88:"467","1a034fda":"513",e9ab1486:"549",c463f2d8:"559","4a97e2ba":"568","935f2afb":"581",b7d3b5fd:"604",c4f5d8e4:"634","53a774fe":"637","9e3db766":"645","5e95c892":"647",e74c2636:"711",c66ced44:"738","2ee84cfa":"787","78f44bf9":"845",e25eb256:"929"}[e]||e,d.p+d.u(e)},(()=>{var e={354:0,869:0};d.f.j=(a,t)=>{var r=d.o(e,a)?e[a]:void 0;if(0!==r)if(r)t.push(r[2]);else if(/^(354|869)$/.test(a))e[a]=0;else{var f=new Promise(((t,f)=>r=e[a]=[t,f]));t.push(r[2]=f);var c=d.p+d.u(a),o=new Error;d.l(c,(t=>{if(d.o(e,a)&&(0!==(r=e[a])&&(e[a]=void 0),r)){var f=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;o.message="Loading chunk "+a+" failed.\n("+f+": "+c+")",o.name="ChunkLoadError",o.type=f,o.request=c,r[1](o)}}),"chunk-"+a,a)}},d.O.j=a=>0===e[a];var a=(a,t)=>{var r,f,c=t[0],o=t[1],b=t[2],n=0;if(c.some((a=>0!==e[a]))){for(r in o)d.o(o,r)&&(d.m[r]=o[r]);if(b)var i=b(d)}for(a&&a(t);n{"use strict";var e,a,t,r,c,f={},o={};function d(e){var a=o[e];if(void 0!==a)return a.exports;var t=o[e]={id:e,loaded:!1,exports:{}};return f[e].call(t.exports,t,t.exports,d),t.loaded=!0,t.exports}d.m=f,d.c=o,e=[],d.O=(a,t,r,c)=>{if(!t){var f=1/0;for(i=0;i=c)&&Object.keys(d.O).every((e=>d.O[e](t[b])))?t.splice(b--,1):(o=!1,c0&&e[i-1][2]>c;i--)e[i]=e[i-1];e[i]=[t,r,c]},d.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return d.d(a,{a:a}),a},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,d.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var c=Object.create(null);d.r(c);var f={};a=a||[null,t({}),t([]),t(t)];for(var o=2&r&&e;"object"==typeof o&&!~a.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach((a=>f[a]=()=>e[a]));return f.default=()=>e,d.d(c,f),c},d.d=(e,a)=>{for(var t in a)d.o(a,t)&&!d.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},d.f={},d.e=e=>Promise.all(Object.keys(d.f).reduce(((a,t)=>(d.f[t](e,a),a)),[])),d.u=e=>"assets/js/"+({10:"e79842f2",25:"3866f40a",26:"4f873c4b",48:"a94703ab",53:"39f92788",61:"aeaaba45",98:"a7bd4aaa",107:"418705b5",133:"b2ebb06c",137:"9bf309c2",184:"28a74b18",216:"b7a88ac5",228:"a7852acd",253:"40cf6384",291:"ceae6123",313:"0d902d1d",356:"825c9a32",365:"a00ce575",369:"47dd2ef0",380:"4ce8663f",398:"a1c33974",401:"17896441",463:"aaef2cb0",466:"1cd19a42",467:"fe704f88",513:"1a034fda",549:"e9ab1486",559:"c463f2d8",568:"4a97e2ba",581:"935f2afb",604:"b7d3b5fd",634:"c4f5d8e4",637:"53a774fe",645:"9e3db766",647:"5e95c892",711:"e74c2636",738:"c66ced44",787:"2ee84cfa",845:"78f44bf9",929:"e25eb256"}[e]||e)+"."+{10:"47a4cd08",25:"57250c59",26:"3f59a55a",48:"1fa3c1e4",53:"9530600f",61:"e439c077",98:"b04d429b",107:"e7f06077",133:"b9fee121",137:"312d384c",184:"02d38687",216:"68ab7575",228:"6e1e6c64",253:"dbc9d9d3",291:"45947550",293:"d306facd",313:"c0441f09",356:"063b5c32",365:"48a0f047",369:"eceb3e3c",380:"c313a617",398:"bcd30f4c",401:"7770069d",463:"932814c2",466:"162ac5ba",467:"d78e1018",513:"894738f7",549:"cadf83d1",559:"7b7e782d",568:"1612bc22",581:"d72fae3c",604:"a8f29e10",634:"f43e20c5",637:"51e721c2",645:"d4cd8842",647:"6d89839a",711:"bd11bcb9",738:"dfe63458",787:"e50171e5",845:"8698d53a",929:"863660a9"}[e]+".js",d.miniCssF=e=>{},d.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),d.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),r={},c="xcpdoc:",d.l=(e,a,t,f)=>{if(r[e])r[e].push(a);else{var o,b;if(void 0!==t)for(var n=document.getElementsByTagName("script"),i=0;i{o.onerror=o.onload=null,clearTimeout(s);var c=r[e];if(delete r[e],o.parentNode&&o.parentNode.removeChild(o),c&&c.forEach((e=>e(t))),a)return a(t)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=l.bind(null,o.onerror),o.onload=l.bind(null,o.onload),b&&document.head.appendChild(o)}},d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.p="/",d.gca=function(e){return e={17896441:"401",e79842f2:"10","3866f40a":"25","4f873c4b":"26",a94703ab:"48","39f92788":"53",aeaaba45:"61",a7bd4aaa:"98","418705b5":"107",b2ebb06c:"133","9bf309c2":"137","28a74b18":"184",b7a88ac5:"216",a7852acd:"228","40cf6384":"253",ceae6123:"291","0d902d1d":"313","825c9a32":"356",a00ce575:"365","47dd2ef0":"369","4ce8663f":"380",a1c33974:"398",aaef2cb0:"463","1cd19a42":"466",fe704f88:"467","1a034fda":"513",e9ab1486:"549",c463f2d8:"559","4a97e2ba":"568","935f2afb":"581",b7d3b5fd:"604",c4f5d8e4:"634","53a774fe":"637","9e3db766":"645","5e95c892":"647",e74c2636:"711",c66ced44:"738","2ee84cfa":"787","78f44bf9":"845",e25eb256:"929"}[e]||e,d.p+d.u(e)},(()=>{var e={354:0,869:0};d.f.j=(a,t)=>{var r=d.o(e,a)?e[a]:void 0;if(0!==r)if(r)t.push(r[2]);else if(/^(354|869)$/.test(a))e[a]=0;else{var c=new Promise(((t,c)=>r=e[a]=[t,c]));t.push(r[2]=c);var f=d.p+d.u(a),o=new Error;d.l(f,(t=>{if(d.o(e,a)&&(0!==(r=e[a])&&(e[a]=void 0),r)){var c=t&&("load"===t.type?"missing":t.type),f=t&&t.target&&t.target.src;o.message="Loading chunk "+a+" failed.\n("+c+": "+f+")",o.name="ChunkLoadError",o.type=c,o.request=f,r[1](o)}}),"chunk-"+a,a)}},d.O.j=a=>0===e[a];var a=(a,t)=>{var r,c,f=t[0],o=t[1],b=t[2],n=0;if(f.some((a=>0!==e[a]))){for(r in o)d.o(o,r)&&(d.m[r]=o[r]);if(b)var i=b(d)}for(a&&a(t);n API v1 ChangeLog | Counterparty - + diff --git a/docs/advanced/api-v1/api-v1-overview/index.html b/docs/advanced/api-v1/api-v1-overview/index.html index 06410c3..152f26c 100644 --- a/docs/advanced/api-v1/api-v1-overview/index.html +++ b/docs/advanced/api-v1/api-v1-overview/index.html @@ -4,7 +4,7 @@ API v1 Overview | Counterparty - + diff --git a/docs/advanced/api-v1/api-v1-spec/index.html b/docs/advanced/api-v1/api-v1-spec/index.html index 722250f..9a6ce91 100644 --- a/docs/advanced/api-v1/api-v1-spec/index.html +++ b/docs/advanced/api-v1/api-v1-spec/index.html @@ -4,7 +4,7 @@ API v1 Specification | Counterparty - + diff --git a/docs/advanced/api-v2/node-api/index.html b/docs/advanced/api-v2/node-api/index.html index 8ae6deb..2eccdde 100644 --- a/docs/advanced/api-v2/node-api/index.html +++ b/docs/advanced/api-v2/node-api/index.html @@ -4,7 +4,7 @@ API v2 | Counterparty - + diff --git a/docs/advanced/api-v2/v1-to-v2/index.html b/docs/advanced/api-v2/v1-to-v2/index.html index 72d7cff..e1de5e2 100644 --- a/docs/advanced/api-v2/v1-to-v2/index.html +++ b/docs/advanced/api-v2/v1-to-v2/index.html @@ -4,7 +4,7 @@ API v2 Migration Guide | Counterparty - + diff --git a/docs/advanced/bounties/index.html b/docs/advanced/bounties/index.html index 716e185..28731b0 100644 --- a/docs/advanced/bounties/index.html +++ b/docs/advanced/bounties/index.html @@ -4,7 +4,7 @@ Bug Bounties | Counterparty - + diff --git a/docs/advanced/command-line-interface/multisig/index.html b/docs/advanced/command-line-interface/multisig/index.html index e4aa6a6..54af5db 100644 --- a/docs/advanced/command-line-interface/multisig/index.html +++ b/docs/advanced/command-line-interface/multisig/index.html @@ -4,7 +4,7 @@ Using multisig with counterparty-server | Counterparty - + diff --git a/docs/advanced/command-line-interface/sending-bulk/index.html b/docs/advanced/command-line-interface/sending-bulk/index.html index 3fc28af..cc22bf6 100644 --- a/docs/advanced/command-line-interface/sending-bulk/index.html +++ b/docs/advanced/command-line-interface/sending-bulk/index.html @@ -4,7 +4,7 @@ How to send Counterparty assets in bulk | Counterparty - + diff --git a/docs/advanced/command-line-interface/usage/index.html b/docs/advanced/command-line-interface/usage/index.html index 46b7593..18a8d59 100644 --- a/docs/advanced/command-line-interface/usage/index.html +++ b/docs/advanced/command-line-interface/usage/index.html @@ -4,7 +4,7 @@ Command-line (CLI) Guide | Counterparty - + diff --git a/docs/advanced/exchange-integration/index.html b/docs/advanced/exchange-integration/index.html index d004741..83aa5c1 100644 --- a/docs/advanced/exchange-integration/index.html +++ b/docs/advanced/exchange-integration/index.html @@ -4,7 +4,7 @@ Exchange Integration | Counterparty - + diff --git a/docs/advanced/how-to/atomic-swap/index.html b/docs/advanced/how-to/atomic-swap/index.html index 553d0a2..b84bee6 100644 --- a/docs/advanced/how-to/atomic-swap/index.html +++ b/docs/advanced/how-to/atomic-swap/index.html @@ -4,7 +4,7 @@ Atomic Swap with UTXO Support | Counterparty - + diff --git a/docs/advanced/how-to/docker-kickstart/index.html b/docs/advanced/how-to/docker-kickstart/index.html index 905cd5f..a8fa0f5 100644 --- a/docs/advanced/how-to/docker-kickstart/index.html +++ b/docs/advanced/how-to/docker-kickstart/index.html @@ -4,7 +4,7 @@ Docker Kickstart | Counterparty - + diff --git a/docs/advanced/how-to/regtest-node/index.html b/docs/advanced/how-to/regtest-node/index.html index 1660d5b..c56e0b5 100644 --- a/docs/advanced/how-to/regtest-node/index.html +++ b/docs/advanced/how-to/regtest-node/index.html @@ -4,7 +4,7 @@ Test Counterparty Server on Regtest network | Counterparty - + @@ -17,10 +17,12 @@

Prerequisites

  • Counteparty Core
  • You can follow the instructions here https://docs.counterparty.io/docs/basics/manual-installation/ to install them.

    +

    You also need to install the following Python packages using pip:

    +
    $ pip3 install rich sh

    Start the regtest node

    Method 1

    Use the regtestnode.py script:

    -
    $ python3 counterpartcore/test/regtest/regtestnode.py
    +
    $ python3 counterpartycore/test/regtest/regtestnode.py

    This script does the following:

    • Starts Bitcoin Core and Addrindexrs
    • @@ -29,10 +31,10 @@

      Method 1
      $ curl [http://localhost:24000/v2/](http://localhost:24000/v2/)
      $ bitcoin-cli -regtest -rpcuser rpc -rpcpassword rpc -getinfo
      +
      $ curl http://localhost:24000/v2/
      $ bitcoin-cli -regtest -rpcuser rpc -rpcpassword rpc -getinfo

      Method 2

      If you need a server containing sample data you can use:

      -
      $ python3 counterpartcore/test/regtest/testscenarios.py serve
      +
      $ python3 counterpartycore/test/regtest/testscenarios.py serve

      This script performs the same operations as regtestnode.py but also executes all scenario transactions found in counterpartcore/test/regtest/scenarios.

      Interact with the regtest node

      You can use curl and bitcoin-cli or the tools/xcpcli.py tool. diff --git a/docs/advanced/how-to/sentry-integration/index.html b/docs/advanced/how-to/sentry-integration/index.html index 0b43e2b..8fbb9e8 100644 --- a/docs/advanced/how-to/sentry-integration/index.html +++ b/docs/advanced/how-to/sentry-integration/index.html @@ -4,7 +4,7 @@ Sentry Integration | Counterparty - + diff --git a/docs/advanced/protocol/index.html b/docs/advanced/protocol/index.html index b407e27..364f302 100644 --- a/docs/advanced/protocol/index.html +++ b/docs/advanced/protocol/index.html @@ -4,7 +4,7 @@ Protocol Specification | Counterparty - + diff --git a/docs/advanced/specifications/allow-subassets-on-numerics/index.html b/docs/advanced/specifications/allow-subassets-on-numerics/index.html index 88161ea..ebe84d7 100644 --- a/docs/advanced/specifications/allow-subassets-on-numerics/index.html +++ b/docs/advanced/specifications/allow-subassets-on-numerics/index.html @@ -4,7 +4,7 @@ Subassets on Numeric Assets | Counterparty - + diff --git a/docs/advanced/specifications/dispenser-must-be-created-by-source/index.html b/docs/advanced/specifications/dispenser-must-be-created-by-source/index.html index a9752a2..0a28b25 100644 --- a/docs/advanced/specifications/dispenser-must-be-created-by-source/index.html +++ b/docs/advanced/specifications/dispenser-must-be-created-by-source/index.html @@ -4,7 +4,7 @@ Require Dispenser to be Source Address | Counterparty - + diff --git a/docs/advanced/specifications/enable-dispense-tx/index.html b/docs/advanced/specifications/enable-dispense-tx/index.html index ee9e8d0..572ab7b 100644 --- a/docs/advanced/specifications/enable-dispense-tx/index.html +++ b/docs/advanced/specifications/enable-dispense-tx/index.html @@ -4,7 +4,7 @@ Make Dispenses Normal Counterparty Transactions | Counterparty - + diff --git a/docs/advanced/specifications/fairminter/index.html b/docs/advanced/specifications/fairminter/index.html index 9c1cbb0..4120253 100644 --- a/docs/advanced/specifications/fairminter/index.html +++ b/docs/advanced/specifications/fairminter/index.html @@ -4,7 +4,7 @@ Fair Minting | Counterparty - + diff --git a/docs/advanced/specifications/free-subassets/index.html b/docs/advanced/specifications/free-subassets/index.html index 1e4a63a..34f9ff1 100644 --- a/docs/advanced/specifications/free-subassets/index.html +++ b/docs/advanced/specifications/free-subassets/index.html @@ -4,7 +4,7 @@ Eliminate XCP for Subasset Issuances | Counterparty - + diff --git a/docs/advanced/specifications/gas-system/index.html b/docs/advanced/specifications/gas-system/index.html index d881969..469235f 100644 --- a/docs/advanced/specifications/gas-system/index.html +++ b/docs/advanced/specifications/gas-system/index.html @@ -4,7 +4,7 @@ Gas System | Counterparty - + diff --git a/docs/advanced/specifications/lockable-issuance-descriptions/index.html b/docs/advanced/specifications/lockable-issuance-descriptions/index.html index 97022c9..a899da8 100644 --- a/docs/advanced/specifications/lockable-issuance-descriptions/index.html +++ b/docs/advanced/specifications/lockable-issuance-descriptions/index.html @@ -4,7 +4,7 @@ Be Able to Lock Descriptions | Counterparty - + diff --git a/docs/advanced/specifications/utxo-support/index.html b/docs/advanced/specifications/utxo-support/index.html index ce7da71..84ca72d 100644 --- a/docs/advanced/specifications/utxo-support/index.html +++ b/docs/advanced/specifications/utxo-support/index.html @@ -4,7 +4,7 @@ UTXO Support | Counterparty - + diff --git a/docs/basics/assets/counterparty-assets/index.html b/docs/basics/assets/counterparty-assets/index.html index 98d5af8..b58e934 100644 --- a/docs/basics/assets/counterparty-assets/index.html +++ b/docs/basics/assets/counterparty-assets/index.html @@ -4,7 +4,7 @@ Understanding Assets on Counterparty | Counterparty - + diff --git a/docs/basics/assets/enhanced-asset/index.html b/docs/basics/assets/enhanced-asset/index.html index bc29248..fb05a8d 100644 --- a/docs/basics/assets/enhanced-asset/index.html +++ b/docs/basics/assets/enhanced-asset/index.html @@ -4,7 +4,7 @@ Enhanced Asset Info | Counterparty - + diff --git a/docs/basics/assets/enhanced-feed/index.html b/docs/basics/assets/enhanced-feed/index.html index e45d5ae..7fcd0d9 100644 --- a/docs/basics/assets/enhanced-feed/index.html +++ b/docs/basics/assets/enhanced-feed/index.html @@ -4,7 +4,7 @@ Enhanced Feed Info | Counterparty - + diff --git a/docs/basics/faq/index.html b/docs/basics/faq/index.html index 9540599..211c174 100644 --- a/docs/basics/faq/index.html +++ b/docs/basics/faq/index.html @@ -4,7 +4,7 @@ Frequently Asked Questions | Counterparty - + diff --git a/docs/basics/getting-started/index.html b/docs/basics/getting-started/index.html index 08f14f2..898fa30 100644 --- a/docs/basics/getting-started/index.html +++ b/docs/basics/getting-started/index.html @@ -4,7 +4,7 @@ Getting Started | Counterparty - + diff --git a/docs/basics/manual-installation/index.html b/docs/basics/manual-installation/index.html index 2be0bf5..09ad589 100644 --- a/docs/basics/manual-installation/index.html +++ b/docs/basics/manual-installation/index.html @@ -4,7 +4,7 @@ Manual Installation | Counterparty - + diff --git a/docs/basics/usage/index.html b/docs/basics/usage/index.html index 137c4d2..2ee8805 100644 --- a/docs/basics/usage/index.html +++ b/docs/basics/usage/index.html @@ -4,7 +4,7 @@ Basic Usage | Counterparty - + diff --git a/docs/basics/what-is-counterparty/index.html b/docs/basics/what-is-counterparty/index.html index 53eec0f..ffb7240 100644 --- a/docs/basics/what-is-counterparty/index.html +++ b/docs/basics/what-is-counterparty/index.html @@ -4,7 +4,7 @@ What is Counterparty? | Counterparty - + diff --git a/docs/basics/what-is-xcp/index.html b/docs/basics/what-is-xcp/index.html index a441307..d3eb504 100644 --- a/docs/basics/what-is-xcp/index.html +++ b/docs/basics/what-is-xcp/index.html @@ -4,7 +4,7 @@ What is XCP? | Counterparty - + diff --git a/index.html b/index.html index 3ece6b1..9829f83 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ Counterparty - +