diff --git a/404.html b/404.html index c5ef2e0b7..1e71bcdec 100644 --- a/404.html +++ b/404.html @@ -4,7 +4,7 @@ Page Not Found | Starknet Devnet - + diff --git a/assets/js/5fbc5cf1.b9b906a5.js b/assets/js/5fbc5cf1.5e58a7ed.js similarity index 87% rename from assets/js/5fbc5cf1.b9b906a5.js rename to assets/js/5fbc5cf1.5e58a7ed.js index 18946ae8d..206ae7d51 100644 --- a/assets/js/5fbc5cf1.b9b906a5.js +++ b/assets/js/5fbc5cf1.5e58a7ed.js @@ -1 +1 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7624],{8946:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>r,default:()=>l,frontMatter:()=>s,metadata:()=>c,toc:()=>o});var i=n(4848),a=n(8453);const s={sidebar_position:3},r="API",c={id:"api",title:"API",description:"JSON-RPC API",source:"@site/docs/api.md",sourceDirName:".",slug:"/api",permalink:"/starknet-devnet-rs/docs/next/api",draft:!1,unlisted:!1,editUrl:"https://github.com/0xSpaceShard/starknet-devnet-rs/blob/master/website/docs/api.md",tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"docSidebar",previous:{title:"CLI options",permalink:"/starknet-devnet-rs/docs/next/running/cli"},next:{title:"Account impersonation",permalink:"/starknet-devnet-rs/docs/next/account-impersonation"}},d={},o=[{value:"JSON-RPC API",id:"json-rpc-api",level:2},{value:"Starknet API",id:"starknet-api",level:3},{value:"Devnet API",id:"devnet-api",level:3},{value:"Healthcheck",id:"healthcheck",level:4},{value:"Interacting with Devnet in JavaScript and TypeScript",id:"interacting-with-devnet-in-javascript-and-typescript",level:2},{value:"Config API",id:"config-api",level:2}];function h(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",p:"p",pre:"pre",...(0,a.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"api",children:"API"}),"\n",(0,i.jsx)(t.h2,{id:"json-rpc-api",children:"JSON-RPC API"}),"\n",(0,i.jsxs)(t.p,{children:["Both Starknet's and Devnet's JSON-RPC API are reachable at ",(0,i.jsx)(t.code,{children:"/rpc"})," and ",(0,i.jsx)(t.code,{children:"/"}),". E.g. if spawning Devnet with default settings, these URLs are functionally equivalent: ",(0,i.jsx)(t.code,{children:"http://127.0.0.1:5050/rpc"})," and ",(0,i.jsx)(t.code,{children:"http://127.0.0.1:5050/"}),". The difference between these two groups of methods is their prefix: ",(0,i.jsx)(t.code,{children:"starknet_"})," (e.g. ",(0,i.jsx)(t.code,{children:"starknet_getNonce"}),") and ",(0,i.jsx)(t.code,{children:"devnet_"})," (e.g. ",(0,i.jsx)(t.code,{children:"devnet_mint"}),")."]}),"\n",(0,i.jsx)(t.h3,{id:"starknet-api",children:"Starknet API"}),"\n",(0,i.jsxs)(t.p,{children:["Unlike Pythonic Devnet, which also supported Starknet's gateway and feeder gateway API, Devnet in Rust supports ",(0,i.jsx)(t.a,{href:"https://github.com/starkware-libs/starknet-specs/tree/master/api",children:"Starknet's JSON-RPC API"}),". Since JSON-RPC v0.6.0, to find out which JSON-RPC version is supported by which Devnet version, check out the ",(0,i.jsx)(t.a,{href:"https://github.com/0xspaceshard/starknet-devnet-rs/releases",children:"releases page"}),"."]}),"\n",(0,i.jsx)(t.h3,{id:"devnet-api",children:"Devnet API"}),"\n",(0,i.jsxs)(t.p,{children:["Devnet has many additional features which are available via their own endpoints and ",(0,i.jsx)(t.a,{href:"https://github.com/0xSpaceShard/starknet-devnet-rs/website/static/devnet_api.json",children:"JSON-RPC"}),", which are all mentioned throughout the documentation. New features are only supported as part of the JSON-RPC API. Older non-RPC requests are still supported, but considered deprecated - they will be removed in the future, except the ",(0,i.jsx)(t.a,{href:"#healthcheck",children:"healthcheck endpoint"}),"."]}),"\n",(0,i.jsx)(t.h4,{id:"healthcheck",children:"Healthcheck"}),"\n",(0,i.jsxs)(t.p,{children:["To check if a Devnet instance is alive, send an HTTP request ",(0,i.jsx)(t.code,{children:"GET /is_alive"}),". If alive, the Devnet will reply with a ",(0,i.jsx)(t.code,{children:"200 OK"})," and an appropriate message."]}),"\n",(0,i.jsx)(t.h2,{id:"interacting-with-devnet-in-javascript-and-typescript",children:"Interacting with Devnet in JavaScript and TypeScript"}),"\n",(0,i.jsxs)(t.p,{children:["To spawn Devnet and interact with it using the ",(0,i.jsx)(t.a,{href:"#devnet-api",children:"Devnet API"}),", you can use ",(0,i.jsx)(t.a,{href:"https://github.com/0xSpaceShard/starknet-devnet-js/",children:(0,i.jsx)(t.code,{children:"starknet-devnet-js"})}),". This can be especially useful in achieving ",(0,i.jsx)(t.a,{href:"/starknet-devnet-rs/docs/next/postman#l1-l2-interaction-via-postman",children:"L1-L2 communication"}),"."]}),"\n",(0,i.jsxs)(t.p,{children:["To interact with Devnet using the ",(0,i.jsx)(t.a,{href:"#starknet-api",children:"Starknet API"}),", use ",(0,i.jsx)(t.a,{href:"https://www.starknetjs.com/",children:"starknet.js"}),"."]}),"\n",(0,i.jsx)(t.h2,{id:"config-api",children:"Config API"}),"\n",(0,i.jsxs)(t.p,{children:["To retrieve the current configuration of Devnet, as specified via ",(0,i.jsx)(t.a,{href:"/starknet-devnet-rs/docs/next/running/cli",children:"CLI"})," and later requests, send a ",(0,i.jsx)(t.code,{children:"GET"})," request to ",(0,i.jsx)(t.code,{children:"/config"})," or ",(0,i.jsx)(t.code,{children:"JSON-RPC"})," request with method name ",(0,i.jsx)(t.code,{children:"devnet_getConfig"}),". Example response is attached below. It can be interpreted as a JSON mapping of CLI input parameters, both specified and default ones, with some irrelevant parameters omitted. So use ",(0,i.jsx)(t.code,{children:"starknet-devnet --help"})," to better understand the meaning of each value, though keep in mind that some of the parameters have slightly modified names."]}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-json",children:'{\n "seed": 4063802897,\n "total_accounts": 10,\n "account_contract_class_hash": "0x61dac032f228abef9c6626f995015233097ae253a7f72d68552db02f2971b8f",\n "predeployed_accounts_initial_balance": "1000000000000000000000",\n "start_time": null,\n "gas_price_wei": 100000000000,\n "gas_price_fri": 100000000000,\n "data_gas_price_wei": 100000000000,\n "data_gas_price_fri": 100000000000,\n "chain_id": "SN_SEPOLIA",\n "dump_on": "exit",\n "dump_path": "dump_path.json",\n "state_archive": "none",\n "fork_config": {\n "url": "http://rpc.pathfinder.equilibrium.co/integration-sepolia/rpc/v0_7",\n "block_number": 26429\n },\n "server_config": {\n "host": "127.0.0.1",\n "port": 5050,\n "timeout": 120,\n "request_body_size_limit": 2000000\n },\n "block_generation": null,\n "lite_mode": false\n}\n'})})]})}function l(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8453:(e,t,n)=>{n.d(t,{R:()=>r,x:()=>c});var i=n(6540);const a={},s=i.createContext(a);function r(e){const t=i.useContext(s);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:r(e.components),i.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7624],{8946:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>r,default:()=>l,frontMatter:()=>s,metadata:()=>c,toc:()=>o});var i=n(4848),a=n(8453);const s={sidebar_position:3},r="API",c={id:"api",title:"API",description:"JSON-RPC API",source:"@site/docs/api.md",sourceDirName:".",slug:"/api",permalink:"/starknet-devnet-rs/docs/next/api",draft:!1,unlisted:!1,editUrl:"https://github.com/0xSpaceShard/starknet-devnet-rs/blob/master/website/docs/api.md",tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"docSidebar",previous:{title:"CLI options",permalink:"/starknet-devnet-rs/docs/next/running/cli"},next:{title:"Account impersonation",permalink:"/starknet-devnet-rs/docs/next/account-impersonation"}},d={},o=[{value:"JSON-RPC API",id:"json-rpc-api",level:2},{value:"Starknet API",id:"starknet-api",level:3},{value:"Devnet API",id:"devnet-api",level:3},{value:"Healthcheck",id:"healthcheck",level:4},{value:"Interacting with Devnet in JavaScript and TypeScript",id:"interacting-with-devnet-in-javascript-and-typescript",level:2},{value:"Config API",id:"config-api",level:2}];function h(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",p:"p",pre:"pre",...(0,a.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"api",children:"API"}),"\n",(0,i.jsx)(t.h2,{id:"json-rpc-api",children:"JSON-RPC API"}),"\n",(0,i.jsxs)(t.p,{children:["Both Starknet's and Devnet's JSON-RPC API are reachable at ",(0,i.jsx)(t.code,{children:"/rpc"})," and ",(0,i.jsx)(t.code,{children:"/"}),". E.g. if spawning Devnet with default settings, these URLs are functionally equivalent: ",(0,i.jsx)(t.code,{children:"http://127.0.0.1:5050/rpc"})," and ",(0,i.jsx)(t.code,{children:"http://127.0.0.1:5050/"}),". The difference between these two groups of methods is their prefix: ",(0,i.jsx)(t.code,{children:"starknet_"})," (e.g. ",(0,i.jsx)(t.code,{children:"starknet_getNonce"}),") and ",(0,i.jsx)(t.code,{children:"devnet_"})," (e.g. ",(0,i.jsx)(t.code,{children:"devnet_mint"}),")."]}),"\n",(0,i.jsx)(t.h3,{id:"starknet-api",children:"Starknet API"}),"\n",(0,i.jsxs)(t.p,{children:["Unlike Pythonic Devnet, which also supported Starknet's gateway and feeder gateway API, Devnet in Rust supports ",(0,i.jsx)(t.a,{href:"https://github.com/starkware-libs/starknet-specs/tree/master/api",children:"Starknet's JSON-RPC API"}),". Since JSON-RPC v0.6.0, to find out which JSON-RPC version is supported by which Devnet version, check out the ",(0,i.jsx)(t.a,{href:"https://github.com/0xspaceshard/starknet-devnet-rs/releases",children:"releases page"}),"."]}),"\n",(0,i.jsx)(t.h3,{id:"devnet-api",children:"Devnet API"}),"\n",(0,i.jsxs)(t.p,{children:["Devnet has many additional features which are available via their own endpoints and ",(0,i.jsx)(t.a,{href:"https://github.com/0xSpaceShard/starknet-devnet-rs/website/static/devnet_api.json",children:"JSON-RPC"}),", which are all mentioned throughout the documentation. New features are only supported as part of the JSON-RPC API. Older non-RPC requests are still supported, but considered deprecated - they will be removed in the future, except the ",(0,i.jsx)(t.a,{href:"#healthcheck",children:"healthcheck endpoint"}),"."]}),"\n",(0,i.jsx)(t.h4,{id:"healthcheck",children:"Healthcheck"}),"\n",(0,i.jsxs)(t.p,{children:["To check if a Devnet instance is alive, send an HTTP request ",(0,i.jsx)(t.code,{children:"GET /is_alive"}),". If alive, the Devnet will reply with a ",(0,i.jsx)(t.code,{children:"200 OK"})," and an appropriate message."]}),"\n",(0,i.jsx)(t.h2,{id:"interacting-with-devnet-in-javascript-and-typescript",children:"Interacting with Devnet in JavaScript and TypeScript"}),"\n",(0,i.jsxs)(t.p,{children:["To spawn Devnet and interact with it using the ",(0,i.jsx)(t.a,{href:"#devnet-api",children:"Devnet API"}),", you can use ",(0,i.jsx)(t.a,{href:"https://github.com/0xSpaceShard/starknet-devnet-js/",children:(0,i.jsx)(t.code,{children:"starknet-devnet-js"})}),". This can be especially useful in achieving ",(0,i.jsx)(t.a,{href:"/starknet-devnet-rs/docs/next/postman#l1-l2-interaction-via-postman",children:"L1-L2 communication"}),"."]}),"\n",(0,i.jsxs)(t.p,{children:["To interact with Devnet using the ",(0,i.jsx)(t.a,{href:"#starknet-api",children:"Starknet API"}),", use ",(0,i.jsx)(t.a,{href:"https://www.starknetjs.com/",children:"starknet.js"}),"."]}),"\n",(0,i.jsx)(t.h2,{id:"config-api",children:"Config API"}),"\n",(0,i.jsxs)(t.p,{children:["To retrieve the current configuration of Devnet, as specified via ",(0,i.jsx)(t.a,{href:"/starknet-devnet-rs/docs/next/running/cli",children:"CLI"})," and later requests, send a ",(0,i.jsx)(t.code,{children:"GET"})," request to ",(0,i.jsx)(t.code,{children:"/config"})," or ",(0,i.jsx)(t.code,{children:"JSON-RPC"})," request with method name ",(0,i.jsx)(t.code,{children:"devnet_getConfig"}),". Example response is attached below. It can be interpreted as a JSON mapping of CLI input parameters, both specified and default ones, with some irrelevant parameters omitted. So use ",(0,i.jsx)(t.code,{children:"starknet-devnet --help"})," to better understand the meaning of each value, though keep in mind that some of the parameters have slightly modified names."]}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-json",children:'{\n "seed": 4063802897,\n "total_accounts": 10,\n "account_contract_class_hash": "0x61dac032f228abef9c6626f995015233097ae253a7f72d68552db02f2971b8f",\n "predeployed_accounts_initial_balance": "1000000000000000000000",\n "start_time": null,\n "gas_price_wei": 100000000000,\n "gas_price_fri": 100000000000,\n "data_gas_price_wei": 100000000000,\n "data_gas_price_fri": 100000000000,\n "chain_id": "SN_SEPOLIA",\n "dump_on": "exit",\n "dump_path": "dump_path.json",\n "state_archive": "none",\n "fork_config": {\n "url": "http://rpc.pathfinder.equilibrium.co/integration-sepolia/rpc/v0_7",\n "block_number": 26429\n },\n "server_config": {\n "host": "127.0.0.1",\n "port": 5050,\n "timeout": 120,\n "request_body_size_limit": 2000000,\n "restricted_methods": null\n },\n "block_generation": null,\n "lite_mode": false,\n "eth_erc20_class_hash": "0x046ded64ae2dead6448e247234bab192a9c483644395b66f2155f2614e5804b0",\n "strk_erc20_class_hash": "0x046ded64ae2dead6448e247234bab192a9c483644395b66f2155f2614e5804b0"\n}\n'})})]})}function l(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8453:(e,t,n)=>{n.d(t,{R:()=>r,x:()=>c});var i=n(6540);const a={},s=i.createContext(a);function r(e){const t=i.useContext(s);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:r(e.components),i.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.8a28b0fb.js b/assets/js/runtime~main.590e1ce6.js similarity index 99% rename from assets/js/runtime~main.8a28b0fb.js rename to assets/js/runtime~main.590e1ce6.js index 8d8cfa40c..2edee9a8a 100644 --- a/assets/js/runtime~main.8a28b0fb.js +++ b/assets/js/runtime~main.590e1ce6.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,b,f,d,c={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var b=t[e]={id:e,loaded:!1,exports:{}};return c[e].call(b.exports,b,b.exports,r),b.loaded=!0,b.exports}r.m=c,r.c=t,e=[],r.O=(a,b,f,d)=>{if(!b){var c=1/0;for(i=0;i=d)&&Object.keys(r.O).every((e=>r.O[e](b[o])))?b.splice(o--,1):(t=!1,d0&&e[i-1][2]>d;i--)e[i]=e[i-1];e[i]=[b,f,d]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},b=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,f){if(1&f&&(e=this(e)),8&f)return e;if("object"==typeof e&&e){if(4&f&&e.__esModule)return e;if(16&f&&"function"==typeof e.then)return e}var d=Object.create(null);r.r(d);var c={};a=a||[null,b({}),b([]),b(b)];for(var t=2&f&&e;"object"==typeof t&&!~a.indexOf(t);t=b(t))Object.getOwnPropertyNames(t).forEach((a=>c[a]=()=>e[a]));return c.default=()=>e,r.d(d,c),d},r.d=(e,a)=>{for(var b in a)r.o(a,b)&&!r.o(e,b)&&Object.defineProperty(e,b,{enumerable:!0,get:a[b]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,b)=>(r.f[b](e,a),a)),[])),r.u=e=>"assets/js/"+({134:"b7bb6147",141:"28a0cb7e",337:"3f194bb7",463:"682c6856",484:"673b87a5",562:"5fadd32f",579:"9bb1131a",598:"c25a813d",626:"005b2ed7",646:"7b998695",662:"645cda15",871:"9978e21e",952:"2d66ba60",1235:"a7456010",1316:"1b560adb",1437:"8e76450a",1475:"9c3aeb12",1527:"778bcc8b",1863:"b4513eec",1864:"09d5ad39",1914:"1151f991",2134:"c4d2e5c1",2282:"6d990bb1",2408:"9abfa349",2412:"16a2713f",2604:"b8663a1f",2627:"4769fc4e",2828:"49885c5e",2871:"3c883fc4",2916:"425e1ae2",2963:"922c21f9",3124:"ef2a8751",3332:"e28eadbb",3705:"c75c8ede",3726:"a5e062ff",3768:"e8953dad",3919:"f84fb341",3950:"b7007dab",3956:"a0ea14c4",3976:"0e384e19",4033:"ba6851eb",4290:"ae603a5f",4291:"93f3c2aa",4455:"993d6a8d",4583:"1df93b7f",4643:"f44adc48",4676:"24503201",4876:"17682634",5120:"a5ad27b1",5186:"b0477c6d",5348:"5402810c",5480:"80526ee6",5532:"e81f6410",5624:"9b932233",5634:"ef3b0775",5700:"b9f7b2ab",5742:"aba21aa0",5771:"8f2e4180",5864:"2ad05638",5960:"0657c530",6017:"8d981dc3",6131:"119a2918",6187:"e44e17f8",6286:"e2f00550",6439:"ad6bd692",6613:"38541689",6651:"18672b0b",6773:"2146f16f",6828:"9976ff42",6900:"cc3979e2",6928:"def2ee80",6969:"14eb3368",7098:"a7bd4aaa",7117:"224c8fe8",7229:"eb78b783",7230:"93f75803",7341:"e2db9f7a",7595:"0debafb6",7624:"5fbc5cf1",7780:"1e29fbdb",7817:"a56dc942",7883:"e2538a57",7969:"5985dcf4",8401:"17896441",8586:"b1ee2929",8626:"bca784a7",8704:"1c1cdb4e",8838:"f8ae958c",9048:"a94703ab",9167:"ba738306",9218:"cc2baa30",9308:"509bfc31",9337:"e120dcd9",9378:"5b870ab8",9440:"8d820236",9471:"e82252d2",9497:"e3e59843",9629:"9875b4b5",9647:"5e95c892",9736:"4adc7347",9891:"6bb6da1f",9998:"7923f30a"}[e]||e)+"."+{134:"290a582f",141:"7924471a",337:"22bfc72a",463:"6d8a69a6",484:"d8f6d2d7",562:"04fe94e0",579:"12332b9a",598:"dcaf95cd",626:"fff9bdb8",646:"77b6f90e",662:"f6ef4fb7",871:"44defd03",952:"b247a1f7",1235:"7b4b0a20",1316:"0fed137f",1437:"457a0c79",1475:"2ff5ffe7",1527:"6f445848",1863:"e8fccf27",1864:"836bb2d7",1914:"193b4b8f",2134:"6f189758",2237:"ede9a640",2282:"54661cca",2408:"620b16d7",2412:"f08ebda5",2604:"04e57222",2627:"8cd2f5e8",2828:"4bc7e5ad",2871:"d1c841d8",2916:"469cee91",2963:"08818fdb",3124:"0dc9d49a",3332:"9880c232",3705:"6fed968f",3726:"5a44be1d",3768:"d8af09d8",3919:"e4b03c02",3950:"dce48c7e",3956:"74b8c7b1",3976:"9f5b9cab",4033:"524a5dc2",4290:"fa5b263f",4291:"850dddd9",4455:"5534343a",4583:"f182b925",4643:"fe264cf6",4676:"df561d25",4876:"3d25384a",5120:"45ba4134",5186:"5a13a38e",5348:"3ad38ed6",5480:"b9a69f3d",5532:"60f06895",5624:"211be870",5634:"0187249f",5700:"fc7d833c",5742:"9ac6642b",5771:"6fb725c9",5864:"e7cacb2b",5960:"aa8fdf00",6017:"5d6a3cde",6131:"18512c2f",6187:"709607a7",6286:"8ca4e8a2",6439:"2d8efa6d",6613:"8921907a",6651:"03c22191",6773:"fed3c84a",6828:"8da5bc72",6900:"f2efdc37",6928:"5fd884cc",6969:"eeb6b7e2",7098:"b82ee0df",7117:"7ab239ae",7229:"33a8bdeb",7230:"260ce03e",7341:"810d7342",7595:"bf13c614",7624:"b9b906a5",7780:"d5a6d9e6",7817:"d708dd89",7883:"b963a51d",7969:"70d866fa",8401:"dcdbd021",8586:"037d9b49",8626:"31e0bae6",8704:"8434c89b",8838:"5cbb1183",9048:"2668bc5b",9167:"fde851af",9218:"5b9b66e1",9308:"dad3f1e7",9337:"22e90422",9378:"e5b723a6",9440:"525617f1",9471:"9b22e8ad",9497:"a3e0afab",9629:"9ea44d6b",9647:"b1f5748f",9736:"7ae4e26a",9891:"d58d4f04",9998:"012c6902"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),f={},d="website:",r.l=(e,a,b,c)=>{if(f[e])f[e].push(a);else{var t,o;if(void 0!==b)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var d=f[e];if(delete f[e],t.parentNode&&t.parentNode.removeChild(t),d&&d.forEach((e=>e(b))),a)return a(b)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/starknet-devnet-rs/",r.gca=function(e){return e={17682634:"4876",17896441:"8401",24503201:"4676",38541689:"6613",b7bb6147:"134","28a0cb7e":"141","3f194bb7":"337","682c6856":"463","673b87a5":"484","5fadd32f":"562","9bb1131a":"579",c25a813d:"598","005b2ed7":"626","7b998695":"646","645cda15":"662","9978e21e":"871","2d66ba60":"952",a7456010:"1235","1b560adb":"1316","8e76450a":"1437","9c3aeb12":"1475","778bcc8b":"1527",b4513eec:"1863","09d5ad39":"1864","1151f991":"1914",c4d2e5c1:"2134","6d990bb1":"2282","9abfa349":"2408","16a2713f":"2412",b8663a1f:"2604","4769fc4e":"2627","49885c5e":"2828","3c883fc4":"2871","425e1ae2":"2916","922c21f9":"2963",ef2a8751:"3124",e28eadbb:"3332",c75c8ede:"3705",a5e062ff:"3726",e8953dad:"3768",f84fb341:"3919",b7007dab:"3950",a0ea14c4:"3956","0e384e19":"3976",ba6851eb:"4033",ae603a5f:"4290","93f3c2aa":"4291","993d6a8d":"4455","1df93b7f":"4583",f44adc48:"4643",a5ad27b1:"5120",b0477c6d:"5186","5402810c":"5348","80526ee6":"5480",e81f6410:"5532","9b932233":"5624",ef3b0775:"5634",b9f7b2ab:"5700",aba21aa0:"5742","8f2e4180":"5771","2ad05638":"5864","0657c530":"5960","8d981dc3":"6017","119a2918":"6131",e44e17f8:"6187",e2f00550:"6286",ad6bd692:"6439","18672b0b":"6651","2146f16f":"6773","9976ff42":"6828",cc3979e2:"6900",def2ee80:"6928","14eb3368":"6969",a7bd4aaa:"7098","224c8fe8":"7117",eb78b783:"7229","93f75803":"7230",e2db9f7a:"7341","0debafb6":"7595","5fbc5cf1":"7624","1e29fbdb":"7780",a56dc942:"7817",e2538a57:"7883","5985dcf4":"7969",b1ee2929:"8586",bca784a7:"8626","1c1cdb4e":"8704",f8ae958c:"8838",a94703ab:"9048",ba738306:"9167",cc2baa30:"9218","509bfc31":"9308",e120dcd9:"9337","5b870ab8":"9378","8d820236":"9440",e82252d2:"9471",e3e59843:"9497","9875b4b5":"9629","5e95c892":"9647","4adc7347":"9736","6bb6da1f":"9891","7923f30a":"9998"}[e]||e,r.p+r.u(e)},(()=>{var e={5354:0,1869:0};r.f.j=(a,b)=>{var f=r.o(e,a)?e[a]:void 0;if(0!==f)if(f)b.push(f[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var d=new Promise(((b,d)=>f=e[a]=[b,d]));b.push(f[2]=d);var c=r.p+r.u(a),t=new Error;r.l(c,(b=>{if(r.o(e,a)&&(0!==(f=e[a])&&(e[a]=void 0),f)){var d=b&&("load"===b.type?"missing":b.type),c=b&&b.target&&b.target.src;t.message="Loading chunk "+a+" failed.\n("+d+": "+c+")",t.name="ChunkLoadError",t.type=d,t.request=c,f[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,b)=>{var f,d,c=b[0],t=b[1],o=b[2],n=0;if(c.some((a=>0!==e[a]))){for(f in t)r.o(t,f)&&(r.m[f]=t[f]);if(o)var i=o(r)}for(a&&a(b);n{"use strict";var e,a,b,f,d,c={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var b=t[e]={id:e,loaded:!1,exports:{}};return c[e].call(b.exports,b,b.exports,r),b.loaded=!0,b.exports}r.m=c,r.c=t,e=[],r.O=(a,b,f,d)=>{if(!b){var c=1/0;for(i=0;i=d)&&Object.keys(r.O).every((e=>r.O[e](b[o])))?b.splice(o--,1):(t=!1,d0&&e[i-1][2]>d;i--)e[i]=e[i-1];e[i]=[b,f,d]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},b=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,f){if(1&f&&(e=this(e)),8&f)return e;if("object"==typeof e&&e){if(4&f&&e.__esModule)return e;if(16&f&&"function"==typeof e.then)return e}var d=Object.create(null);r.r(d);var c={};a=a||[null,b({}),b([]),b(b)];for(var t=2&f&&e;"object"==typeof t&&!~a.indexOf(t);t=b(t))Object.getOwnPropertyNames(t).forEach((a=>c[a]=()=>e[a]));return c.default=()=>e,r.d(d,c),d},r.d=(e,a)=>{for(var b in a)r.o(a,b)&&!r.o(e,b)&&Object.defineProperty(e,b,{enumerable:!0,get:a[b]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,b)=>(r.f[b](e,a),a)),[])),r.u=e=>"assets/js/"+({134:"b7bb6147",141:"28a0cb7e",337:"3f194bb7",463:"682c6856",484:"673b87a5",562:"5fadd32f",579:"9bb1131a",598:"c25a813d",626:"005b2ed7",646:"7b998695",662:"645cda15",871:"9978e21e",952:"2d66ba60",1235:"a7456010",1316:"1b560adb",1437:"8e76450a",1475:"9c3aeb12",1527:"778bcc8b",1863:"b4513eec",1864:"09d5ad39",1914:"1151f991",2134:"c4d2e5c1",2282:"6d990bb1",2408:"9abfa349",2412:"16a2713f",2604:"b8663a1f",2627:"4769fc4e",2828:"49885c5e",2871:"3c883fc4",2916:"425e1ae2",2963:"922c21f9",3124:"ef2a8751",3332:"e28eadbb",3705:"c75c8ede",3726:"a5e062ff",3768:"e8953dad",3919:"f84fb341",3950:"b7007dab",3956:"a0ea14c4",3976:"0e384e19",4033:"ba6851eb",4290:"ae603a5f",4291:"93f3c2aa",4455:"993d6a8d",4583:"1df93b7f",4643:"f44adc48",4676:"24503201",4876:"17682634",5120:"a5ad27b1",5186:"b0477c6d",5348:"5402810c",5480:"80526ee6",5532:"e81f6410",5624:"9b932233",5634:"ef3b0775",5700:"b9f7b2ab",5742:"aba21aa0",5771:"8f2e4180",5864:"2ad05638",5960:"0657c530",6017:"8d981dc3",6131:"119a2918",6187:"e44e17f8",6286:"e2f00550",6439:"ad6bd692",6613:"38541689",6651:"18672b0b",6773:"2146f16f",6828:"9976ff42",6900:"cc3979e2",6928:"def2ee80",6969:"14eb3368",7098:"a7bd4aaa",7117:"224c8fe8",7229:"eb78b783",7230:"93f75803",7341:"e2db9f7a",7595:"0debafb6",7624:"5fbc5cf1",7780:"1e29fbdb",7817:"a56dc942",7883:"e2538a57",7969:"5985dcf4",8401:"17896441",8586:"b1ee2929",8626:"bca784a7",8704:"1c1cdb4e",8838:"f8ae958c",9048:"a94703ab",9167:"ba738306",9218:"cc2baa30",9308:"509bfc31",9337:"e120dcd9",9378:"5b870ab8",9440:"8d820236",9471:"e82252d2",9497:"e3e59843",9629:"9875b4b5",9647:"5e95c892",9736:"4adc7347",9891:"6bb6da1f",9998:"7923f30a"}[e]||e)+"."+{134:"290a582f",141:"7924471a",337:"22bfc72a",463:"6d8a69a6",484:"d8f6d2d7",562:"04fe94e0",579:"12332b9a",598:"dcaf95cd",626:"fff9bdb8",646:"77b6f90e",662:"f6ef4fb7",871:"44defd03",952:"b247a1f7",1235:"7b4b0a20",1316:"0fed137f",1437:"457a0c79",1475:"2ff5ffe7",1527:"6f445848",1863:"e8fccf27",1864:"836bb2d7",1914:"193b4b8f",2134:"6f189758",2237:"ede9a640",2282:"54661cca",2408:"620b16d7",2412:"f08ebda5",2604:"04e57222",2627:"8cd2f5e8",2828:"4bc7e5ad",2871:"d1c841d8",2916:"469cee91",2963:"08818fdb",3124:"0dc9d49a",3332:"9880c232",3705:"6fed968f",3726:"5a44be1d",3768:"d8af09d8",3919:"e4b03c02",3950:"dce48c7e",3956:"74b8c7b1",3976:"9f5b9cab",4033:"524a5dc2",4290:"fa5b263f",4291:"850dddd9",4455:"5534343a",4583:"f182b925",4643:"fe264cf6",4676:"df561d25",4876:"3d25384a",5120:"45ba4134",5186:"5a13a38e",5348:"3ad38ed6",5480:"b9a69f3d",5532:"60f06895",5624:"211be870",5634:"0187249f",5700:"fc7d833c",5742:"9ac6642b",5771:"6fb725c9",5864:"e7cacb2b",5960:"aa8fdf00",6017:"5d6a3cde",6131:"18512c2f",6187:"709607a7",6286:"8ca4e8a2",6439:"2d8efa6d",6613:"8921907a",6651:"03c22191",6773:"fed3c84a",6828:"8da5bc72",6900:"f2efdc37",6928:"5fd884cc",6969:"eeb6b7e2",7098:"b82ee0df",7117:"7ab239ae",7229:"33a8bdeb",7230:"260ce03e",7341:"810d7342",7595:"bf13c614",7624:"5e58a7ed",7780:"d5a6d9e6",7817:"d708dd89",7883:"b963a51d",7969:"70d866fa",8401:"dcdbd021",8586:"037d9b49",8626:"31e0bae6",8704:"8434c89b",8838:"5cbb1183",9048:"2668bc5b",9167:"fde851af",9218:"5b9b66e1",9308:"dad3f1e7",9337:"22e90422",9378:"e5b723a6",9440:"525617f1",9471:"9b22e8ad",9497:"a3e0afab",9629:"9ea44d6b",9647:"b1f5748f",9736:"7ae4e26a",9891:"d58d4f04",9998:"012c6902"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),f={},d="website:",r.l=(e,a,b,c)=>{if(f[e])f[e].push(a);else{var t,o;if(void 0!==b)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var d=f[e];if(delete f[e],t.parentNode&&t.parentNode.removeChild(t),d&&d.forEach((e=>e(b))),a)return a(b)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/starknet-devnet-rs/",r.gca=function(e){return e={17682634:"4876",17896441:"8401",24503201:"4676",38541689:"6613",b7bb6147:"134","28a0cb7e":"141","3f194bb7":"337","682c6856":"463","673b87a5":"484","5fadd32f":"562","9bb1131a":"579",c25a813d:"598","005b2ed7":"626","7b998695":"646","645cda15":"662","9978e21e":"871","2d66ba60":"952",a7456010:"1235","1b560adb":"1316","8e76450a":"1437","9c3aeb12":"1475","778bcc8b":"1527",b4513eec:"1863","09d5ad39":"1864","1151f991":"1914",c4d2e5c1:"2134","6d990bb1":"2282","9abfa349":"2408","16a2713f":"2412",b8663a1f:"2604","4769fc4e":"2627","49885c5e":"2828","3c883fc4":"2871","425e1ae2":"2916","922c21f9":"2963",ef2a8751:"3124",e28eadbb:"3332",c75c8ede:"3705",a5e062ff:"3726",e8953dad:"3768",f84fb341:"3919",b7007dab:"3950",a0ea14c4:"3956","0e384e19":"3976",ba6851eb:"4033",ae603a5f:"4290","93f3c2aa":"4291","993d6a8d":"4455","1df93b7f":"4583",f44adc48:"4643",a5ad27b1:"5120",b0477c6d:"5186","5402810c":"5348","80526ee6":"5480",e81f6410:"5532","9b932233":"5624",ef3b0775:"5634",b9f7b2ab:"5700",aba21aa0:"5742","8f2e4180":"5771","2ad05638":"5864","0657c530":"5960","8d981dc3":"6017","119a2918":"6131",e44e17f8:"6187",e2f00550:"6286",ad6bd692:"6439","18672b0b":"6651","2146f16f":"6773","9976ff42":"6828",cc3979e2:"6900",def2ee80:"6928","14eb3368":"6969",a7bd4aaa:"7098","224c8fe8":"7117",eb78b783:"7229","93f75803":"7230",e2db9f7a:"7341","0debafb6":"7595","5fbc5cf1":"7624","1e29fbdb":"7780",a56dc942:"7817",e2538a57:"7883","5985dcf4":"7969",b1ee2929:"8586",bca784a7:"8626","1c1cdb4e":"8704",f8ae958c:"8838",a94703ab:"9048",ba738306:"9167",cc2baa30:"9218","509bfc31":"9308",e120dcd9:"9337","5b870ab8":"9378","8d820236":"9440",e82252d2:"9471",e3e59843:"9497","9875b4b5":"9629","5e95c892":"9647","4adc7347":"9736","6bb6da1f":"9891","7923f30a":"9998"}[e]||e,r.p+r.u(e)},(()=>{var e={5354:0,1869:0};r.f.j=(a,b)=>{var f=r.o(e,a)?e[a]:void 0;if(0!==f)if(f)b.push(f[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var d=new Promise(((b,d)=>f=e[a]=[b,d]));b.push(f[2]=d);var c=r.p+r.u(a),t=new Error;r.l(c,(b=>{if(r.o(e,a)&&(0!==(f=e[a])&&(e[a]=void 0),f)){var d=b&&("load"===b.type?"missing":b.type),c=b&&b.target&&b.target.src;t.message="Loading chunk "+a+" failed.\n("+d+": "+c+")",t.name="ChunkLoadError",t.type=d,t.request=c,f[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,b)=>{var f,d,c=b[0],t=b[1],o=b[2],n=0;if(c.some((a=>0!==e[a]))){for(f in t)r.o(t,f)&&(r.m[f]=t[f]);if(o)var i=o(r)}for(a&&a(b);n Account impersonation | Starknet Devnet - + diff --git a/docs/0.0.6/api/index.html b/docs/0.0.6/api/index.html index e92a3c7ef..05350a2e1 100644 --- a/docs/0.0.6/api/index.html +++ b/docs/0.0.6/api/index.html @@ -4,7 +4,7 @@ API | Starknet Devnet - + diff --git a/docs/0.0.6/balance/index.html b/docs/0.0.6/balance/index.html index 3ece1aee0..7b0dcc5ad 100644 --- a/docs/0.0.6/balance/index.html +++ b/docs/0.0.6/balance/index.html @@ -4,7 +4,7 @@ Account balance | Starknet Devnet - + diff --git a/docs/0.0.6/blocks/index.html b/docs/0.0.6/blocks/index.html index 3d807ec08..744783c73 100644 --- a/docs/0.0.6/blocks/index.html +++ b/docs/0.0.6/blocks/index.html @@ -4,7 +4,7 @@ Blocks | Starknet Devnet - + diff --git a/docs/0.0.6/category/running/index.html b/docs/0.0.6/category/running/index.html index 50ad61514..aae62cdd0 100644 --- a/docs/0.0.6/category/running/index.html +++ b/docs/0.0.6/category/running/index.html @@ -4,7 +4,7 @@ Running | Starknet Devnet - + diff --git a/docs/0.0.6/dump-load-restart/index.html b/docs/0.0.6/dump-load-restart/index.html index 6d04bffa5..502d8adc4 100644 --- a/docs/0.0.6/dump-load-restart/index.html +++ b/docs/0.0.6/dump-load-restart/index.html @@ -4,7 +4,7 @@ Dump, load, restart | Starknet Devnet - + diff --git a/docs/0.0.6/forking/index.html b/docs/0.0.6/forking/index.html index 2c22b411a..a0a543a71 100644 --- a/docs/0.0.6/forking/index.html +++ b/docs/0.0.6/forking/index.html @@ -4,7 +4,7 @@ Forking | Starknet Devnet - + diff --git a/docs/0.0.6/historic-state/index.html b/docs/0.0.6/historic-state/index.html index d49ab4368..f7cdfcd40 100644 --- a/docs/0.0.6/historic-state/index.html +++ b/docs/0.0.6/historic-state/index.html @@ -4,7 +4,7 @@ Historic state support | Starknet Devnet - + diff --git a/docs/0.0.6/intro/index.html b/docs/0.0.6/intro/index.html index a8833b804..a2d971dbe 100644 --- a/docs/0.0.6/intro/index.html +++ b/docs/0.0.6/intro/index.html @@ -4,7 +4,7 @@ Intro | Starknet Devnet - + diff --git a/docs/0.0.6/lite/index.html b/docs/0.0.6/lite/index.html index a8fe789ac..2083874a2 100644 --- a/docs/0.0.6/lite/index.html +++ b/docs/0.0.6/lite/index.html @@ -4,7 +4,7 @@ Lite mode | Starknet Devnet - + diff --git a/docs/0.0.6/postman/index.html b/docs/0.0.6/postman/index.html index 95468f18b..82d8e93ba 100644 --- a/docs/0.0.6/postman/index.html +++ b/docs/0.0.6/postman/index.html @@ -4,7 +4,7 @@ L1-L2 interaction via Postman | Starknet Devnet - + diff --git a/docs/0.0.6/predeployed/index.html b/docs/0.0.6/predeployed/index.html index ac1d80d9a..bb61432a5 100644 --- a/docs/0.0.6/predeployed/index.html +++ b/docs/0.0.6/predeployed/index.html @@ -4,7 +4,7 @@ Predeployed contracts | Starknet Devnet - + diff --git a/docs/0.0.6/running/cli/index.html b/docs/0.0.6/running/cli/index.html index 479c75634..727d9879a 100644 --- a/docs/0.0.6/running/cli/index.html +++ b/docs/0.0.6/running/cli/index.html @@ -4,7 +4,7 @@ CLI options | Starknet Devnet - + diff --git a/docs/0.0.6/running/docker/index.html b/docs/0.0.6/running/docker/index.html index 6ec7079b9..3be194022 100644 --- a/docs/0.0.6/running/docker/index.html +++ b/docs/0.0.6/running/docker/index.html @@ -4,7 +4,7 @@ Run with Docker | Starknet Devnet - + diff --git a/docs/0.0.6/running/install/index.html b/docs/0.0.6/running/install/index.html index 9d76536fd..7d426a607 100644 --- a/docs/0.0.6/running/install/index.html +++ b/docs/0.0.6/running/install/index.html @@ -4,7 +4,7 @@ Install and run | Starknet Devnet - + diff --git a/docs/0.0.6/server-config/index.html b/docs/0.0.6/server-config/index.html index 05f05a61a..45e9fe927 100644 --- a/docs/0.0.6/server-config/index.html +++ b/docs/0.0.6/server-config/index.html @@ -4,7 +4,7 @@ Server config | Starknet Devnet - + diff --git a/docs/0.0.6/starknet-time/index.html b/docs/0.0.6/starknet-time/index.html index 2931118ad..00dff89a6 100644 --- a/docs/0.0.6/starknet-time/index.html +++ b/docs/0.0.6/starknet-time/index.html @@ -4,7 +4,7 @@ Starknet time | Starknet Devnet - + diff --git a/docs/0.0.7/account-impersonation/index.html b/docs/0.0.7/account-impersonation/index.html index 2633a5d95..ea6d9dc96 100644 --- a/docs/0.0.7/account-impersonation/index.html +++ b/docs/0.0.7/account-impersonation/index.html @@ -4,7 +4,7 @@ Account impersonation | Starknet Devnet - + diff --git a/docs/0.0.7/api/index.html b/docs/0.0.7/api/index.html index 60fca7094..087500da7 100644 --- a/docs/0.0.7/api/index.html +++ b/docs/0.0.7/api/index.html @@ -4,7 +4,7 @@ API | Starknet Devnet - + diff --git a/docs/0.0.7/balance/index.html b/docs/0.0.7/balance/index.html index d8c65634b..d36fc2685 100644 --- a/docs/0.0.7/balance/index.html +++ b/docs/0.0.7/balance/index.html @@ -4,7 +4,7 @@ Account balance | Starknet Devnet - + diff --git a/docs/0.0.7/blocks/index.html b/docs/0.0.7/blocks/index.html index 27fe78af4..9b44ad94a 100644 --- a/docs/0.0.7/blocks/index.html +++ b/docs/0.0.7/blocks/index.html @@ -4,7 +4,7 @@ Blocks | Starknet Devnet - + diff --git a/docs/0.0.7/category/running/index.html b/docs/0.0.7/category/running/index.html index da32b5564..6ca6d5dea 100644 --- a/docs/0.0.7/category/running/index.html +++ b/docs/0.0.7/category/running/index.html @@ -4,7 +4,7 @@ Running | Starknet Devnet - + diff --git a/docs/0.0.7/dump-load-restart/index.html b/docs/0.0.7/dump-load-restart/index.html index e30a058c5..e787eb67f 100644 --- a/docs/0.0.7/dump-load-restart/index.html +++ b/docs/0.0.7/dump-load-restart/index.html @@ -4,7 +4,7 @@ Dump, load, restart | Starknet Devnet - + diff --git a/docs/0.0.7/forking/index.html b/docs/0.0.7/forking/index.html index 28f60bd81..32a702546 100644 --- a/docs/0.0.7/forking/index.html +++ b/docs/0.0.7/forking/index.html @@ -4,7 +4,7 @@ Forking | Starknet Devnet - + diff --git a/docs/0.0.7/historic-state/index.html b/docs/0.0.7/historic-state/index.html index f7b0156d2..f187ca23e 100644 --- a/docs/0.0.7/historic-state/index.html +++ b/docs/0.0.7/historic-state/index.html @@ -4,7 +4,7 @@ Historic state support | Starknet Devnet - + diff --git a/docs/0.0.7/intro/index.html b/docs/0.0.7/intro/index.html index 5393ffd26..2eb8e1a76 100644 --- a/docs/0.0.7/intro/index.html +++ b/docs/0.0.7/intro/index.html @@ -4,7 +4,7 @@ Intro | Starknet Devnet - + diff --git a/docs/0.0.7/lite/index.html b/docs/0.0.7/lite/index.html index baf7cc929..669b7e7f8 100644 --- a/docs/0.0.7/lite/index.html +++ b/docs/0.0.7/lite/index.html @@ -4,7 +4,7 @@ Lite mode | Starknet Devnet - + diff --git a/docs/0.0.7/postman/index.html b/docs/0.0.7/postman/index.html index a2cce51ea..e40ff71ad 100644 --- a/docs/0.0.7/postman/index.html +++ b/docs/0.0.7/postman/index.html @@ -4,7 +4,7 @@ L1-L2 interaction via Postman | Starknet Devnet - + diff --git a/docs/0.0.7/predeployed/index.html b/docs/0.0.7/predeployed/index.html index 26997ff8b..afd27eb76 100644 --- a/docs/0.0.7/predeployed/index.html +++ b/docs/0.0.7/predeployed/index.html @@ -4,7 +4,7 @@ Predeployed contracts | Starknet Devnet - + diff --git a/docs/0.0.7/running/cli/index.html b/docs/0.0.7/running/cli/index.html index 59748a88a..719b715e4 100644 --- a/docs/0.0.7/running/cli/index.html +++ b/docs/0.0.7/running/cli/index.html @@ -4,7 +4,7 @@ CLI options | Starknet Devnet - + diff --git a/docs/0.0.7/running/docker/index.html b/docs/0.0.7/running/docker/index.html index 8639f977e..a9aba4c0b 100644 --- a/docs/0.0.7/running/docker/index.html +++ b/docs/0.0.7/running/docker/index.html @@ -4,7 +4,7 @@ Run with Docker | Starknet Devnet - + diff --git a/docs/0.0.7/running/install/index.html b/docs/0.0.7/running/install/index.html index b6b42e65d..1a48ecdf1 100644 --- a/docs/0.0.7/running/install/index.html +++ b/docs/0.0.7/running/install/index.html @@ -4,7 +4,7 @@ Install and run | Starknet Devnet - + diff --git a/docs/0.0.7/server-config/index.html b/docs/0.0.7/server-config/index.html index 398587801..bc4c2ff6a 100644 --- a/docs/0.0.7/server-config/index.html +++ b/docs/0.0.7/server-config/index.html @@ -4,7 +4,7 @@ Server config | Starknet Devnet - + diff --git a/docs/0.0.7/starknet-time/index.html b/docs/0.0.7/starknet-time/index.html index 0ff6b7b00..2c874e759 100644 --- a/docs/0.0.7/starknet-time/index.html +++ b/docs/0.0.7/starknet-time/index.html @@ -4,7 +4,7 @@ Starknet time | Starknet Devnet - + diff --git a/docs/0.1.1/account-impersonation/index.html b/docs/0.1.1/account-impersonation/index.html index 04bd82cfa..364ccb479 100644 --- a/docs/0.1.1/account-impersonation/index.html +++ b/docs/0.1.1/account-impersonation/index.html @@ -4,7 +4,7 @@ Account impersonation | Starknet Devnet - + diff --git a/docs/0.1.1/api/index.html b/docs/0.1.1/api/index.html index 01de209da..6f1aef34a 100644 --- a/docs/0.1.1/api/index.html +++ b/docs/0.1.1/api/index.html @@ -4,7 +4,7 @@ API | Starknet Devnet - + diff --git a/docs/0.1.1/balance/index.html b/docs/0.1.1/balance/index.html index d8270f041..9934dd3ab 100644 --- a/docs/0.1.1/balance/index.html +++ b/docs/0.1.1/balance/index.html @@ -4,7 +4,7 @@ Account balance | Starknet Devnet - + diff --git a/docs/0.1.1/blocks/index.html b/docs/0.1.1/blocks/index.html index e7af9c60e..11faf8020 100644 --- a/docs/0.1.1/blocks/index.html +++ b/docs/0.1.1/blocks/index.html @@ -4,7 +4,7 @@ Blocks | Starknet Devnet - + diff --git a/docs/0.1.1/category/running/index.html b/docs/0.1.1/category/running/index.html index 68bdd23b8..f17534b5f 100644 --- a/docs/0.1.1/category/running/index.html +++ b/docs/0.1.1/category/running/index.html @@ -4,7 +4,7 @@ Running | Starknet Devnet - + diff --git a/docs/0.1.1/dump-load-restart/index.html b/docs/0.1.1/dump-load-restart/index.html index 558bc3d6b..a71307ffb 100644 --- a/docs/0.1.1/dump-load-restart/index.html +++ b/docs/0.1.1/dump-load-restart/index.html @@ -4,7 +4,7 @@ Dump, load, restart | Starknet Devnet - + diff --git a/docs/0.1.1/forking/index.html b/docs/0.1.1/forking/index.html index 6ec08d1c6..610e981a3 100644 --- a/docs/0.1.1/forking/index.html +++ b/docs/0.1.1/forking/index.html @@ -4,7 +4,7 @@ Forking | Starknet Devnet - + diff --git a/docs/0.1.1/historic-state/index.html b/docs/0.1.1/historic-state/index.html index 045304c07..14c330915 100644 --- a/docs/0.1.1/historic-state/index.html +++ b/docs/0.1.1/historic-state/index.html @@ -4,7 +4,7 @@ Historic state support | Starknet Devnet - + diff --git a/docs/0.1.1/intro/index.html b/docs/0.1.1/intro/index.html index b10f2dd1a..596222de0 100644 --- a/docs/0.1.1/intro/index.html +++ b/docs/0.1.1/intro/index.html @@ -4,7 +4,7 @@ Intro | Starknet Devnet - + diff --git a/docs/0.1.1/lite/index.html b/docs/0.1.1/lite/index.html index cf6307e20..cd32f3622 100644 --- a/docs/0.1.1/lite/index.html +++ b/docs/0.1.1/lite/index.html @@ -4,7 +4,7 @@ Lite mode | Starknet Devnet - + diff --git a/docs/0.1.1/postman/index.html b/docs/0.1.1/postman/index.html index 841aaaf02..71f56fa70 100644 --- a/docs/0.1.1/postman/index.html +++ b/docs/0.1.1/postman/index.html @@ -4,7 +4,7 @@ L1-L2 interaction via Postman | Starknet Devnet - + diff --git a/docs/0.1.1/predeployed/index.html b/docs/0.1.1/predeployed/index.html index 19a7f9705..f366b697e 100644 --- a/docs/0.1.1/predeployed/index.html +++ b/docs/0.1.1/predeployed/index.html @@ -4,7 +4,7 @@ Predeployed contracts | Starknet Devnet - + diff --git a/docs/0.1.1/running/cli/index.html b/docs/0.1.1/running/cli/index.html index bd328c6f8..5d2c05902 100644 --- a/docs/0.1.1/running/cli/index.html +++ b/docs/0.1.1/running/cli/index.html @@ -4,7 +4,7 @@ CLI options | Starknet Devnet - + diff --git a/docs/0.1.1/running/docker/index.html b/docs/0.1.1/running/docker/index.html index 2bee1d157..5f9ca35d5 100644 --- a/docs/0.1.1/running/docker/index.html +++ b/docs/0.1.1/running/docker/index.html @@ -4,7 +4,7 @@ Run with Docker | Starknet Devnet - + diff --git a/docs/0.1.1/running/install/index.html b/docs/0.1.1/running/install/index.html index c2cc8bc58..8c8b29d8c 100644 --- a/docs/0.1.1/running/install/index.html +++ b/docs/0.1.1/running/install/index.html @@ -4,7 +4,7 @@ Install and run | Starknet Devnet - + diff --git a/docs/0.1.1/server-config/index.html b/docs/0.1.1/server-config/index.html index 6a21bc609..5a1c994d3 100644 --- a/docs/0.1.1/server-config/index.html +++ b/docs/0.1.1/server-config/index.html @@ -4,7 +4,7 @@ Server config | Starknet Devnet - + diff --git a/docs/0.1.1/starknet-time/index.html b/docs/0.1.1/starknet-time/index.html index a16a49b61..c302c64e7 100644 --- a/docs/0.1.1/starknet-time/index.html +++ b/docs/0.1.1/starknet-time/index.html @@ -4,7 +4,7 @@ Starknet time | Starknet Devnet - + diff --git a/docs/account-impersonation/index.html b/docs/account-impersonation/index.html index 2aed8a86a..64e7faa5d 100644 --- a/docs/account-impersonation/index.html +++ b/docs/account-impersonation/index.html @@ -4,7 +4,7 @@ Account impersonation | Starknet Devnet - + diff --git a/docs/api/index.html b/docs/api/index.html index 55be00ba7..03c76e801 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -4,7 +4,7 @@ API | Starknet Devnet - + diff --git a/docs/balance/index.html b/docs/balance/index.html index 8d67f2493..72b15ac6e 100644 --- a/docs/balance/index.html +++ b/docs/balance/index.html @@ -4,7 +4,7 @@ Account balance | Starknet Devnet - + diff --git a/docs/blocks/index.html b/docs/blocks/index.html index 61221fed3..3a9662ef1 100644 --- a/docs/blocks/index.html +++ b/docs/blocks/index.html @@ -4,7 +4,7 @@ Blocks | Starknet Devnet - + diff --git a/docs/category/running/index.html b/docs/category/running/index.html index a43cf21db..3628b0b10 100644 --- a/docs/category/running/index.html +++ b/docs/category/running/index.html @@ -4,7 +4,7 @@ Running | Starknet Devnet - + diff --git a/docs/dump-load-restart/index.html b/docs/dump-load-restart/index.html index 6f4568afa..a76226a5a 100644 --- a/docs/dump-load-restart/index.html +++ b/docs/dump-load-restart/index.html @@ -4,7 +4,7 @@ Dump, load, restart | Starknet Devnet - + diff --git a/docs/examples/index.html b/docs/examples/index.html index 0c8a5cc01..3a354df3f 100644 --- a/docs/examples/index.html +++ b/docs/examples/index.html @@ -4,7 +4,7 @@ Examples | Starknet Devnet - + diff --git a/docs/forking/index.html b/docs/forking/index.html index abd922f63..a4c521487 100644 --- a/docs/forking/index.html +++ b/docs/forking/index.html @@ -4,7 +4,7 @@ Forking | Starknet Devnet - + diff --git a/docs/historic-state/index.html b/docs/historic-state/index.html index 38f113a06..cdc44581a 100644 --- a/docs/historic-state/index.html +++ b/docs/historic-state/index.html @@ -4,7 +4,7 @@ Historic state support | Starknet Devnet - + diff --git a/docs/intro/index.html b/docs/intro/index.html index e2b03661c..406b32286 100644 --- a/docs/intro/index.html +++ b/docs/intro/index.html @@ -4,7 +4,7 @@ Intro | Starknet Devnet - + diff --git a/docs/lite/index.html b/docs/lite/index.html index 741cbf080..2ae303463 100644 --- a/docs/lite/index.html +++ b/docs/lite/index.html @@ -4,7 +4,7 @@ Lite mode | Starknet Devnet - + diff --git a/docs/next/account-impersonation/index.html b/docs/next/account-impersonation/index.html index 92c9442d6..139b60e2e 100644 --- a/docs/next/account-impersonation/index.html +++ b/docs/next/account-impersonation/index.html @@ -4,7 +4,7 @@ Account impersonation | Starknet Devnet - + diff --git a/docs/next/api/index.html b/docs/next/api/index.html index 270c5bc34..21856dafe 100644 --- a/docs/next/api/index.html +++ b/docs/next/api/index.html @@ -4,7 +4,7 @@ API | Starknet Devnet - + @@ -22,6 +22,6 @@

Starknet API, use starknet.js.

Config API​

To retrieve the current configuration of Devnet, as specified via CLI and later requests, send a GET request to /config or JSON-RPC request with method name devnet_getConfig. Example response is attached below. It can be interpreted as a JSON mapping of CLI input parameters, both specified and default ones, with some irrelevant parameters omitted. So use starknet-devnet --help to better understand the meaning of each value, though keep in mind that some of the parameters have slightly modified names.

-
{
"seed": 4063802897,
"total_accounts": 10,
"account_contract_class_hash": "0x61dac032f228abef9c6626f995015233097ae253a7f72d68552db02f2971b8f",
"predeployed_accounts_initial_balance": "1000000000000000000000",
"start_time": null,
"gas_price_wei": 100000000000,
"gas_price_fri": 100000000000,
"data_gas_price_wei": 100000000000,
"data_gas_price_fri": 100000000000,
"chain_id": "SN_SEPOLIA",
"dump_on": "exit",
"dump_path": "dump_path.json",
"state_archive": "none",
"fork_config": {
"url": "http://rpc.pathfinder.equilibrium.co/integration-sepolia/rpc/v0_7",
"block_number": 26429
},
"server_config": {
"host": "127.0.0.1",
"port": 5050,
"timeout": 120,
"request_body_size_limit": 2000000
},
"block_generation": null,
"lite_mode": false
}
+
{
"seed": 4063802897,
"total_accounts": 10,
"account_contract_class_hash": "0x61dac032f228abef9c6626f995015233097ae253a7f72d68552db02f2971b8f",
"predeployed_accounts_initial_balance": "1000000000000000000000",
"start_time": null,
"gas_price_wei": 100000000000,
"gas_price_fri": 100000000000,
"data_gas_price_wei": 100000000000,
"data_gas_price_fri": 100000000000,
"chain_id": "SN_SEPOLIA",
"dump_on": "exit",
"dump_path": "dump_path.json",
"state_archive": "none",
"fork_config": {
"url": "http://rpc.pathfinder.equilibrium.co/integration-sepolia/rpc/v0_7",
"block_number": 26429
},
"server_config": {
"host": "127.0.0.1",
"port": 5050,
"timeout": 120,
"request_body_size_limit": 2000000,
"restricted_methods": null
},
"block_generation": null,
"lite_mode": false,
"eth_erc20_class_hash": "0x046ded64ae2dead6448e247234bab192a9c483644395b66f2155f2614e5804b0",
"strk_erc20_class_hash": "0x046ded64ae2dead6448e247234bab192a9c483644395b66f2155f2614e5804b0"
}
\ No newline at end of file diff --git a/docs/next/balance/index.html b/docs/next/balance/index.html index 429003ac4..e6a9846f4 100644 --- a/docs/next/balance/index.html +++ b/docs/next/balance/index.html @@ -4,7 +4,7 @@ Account balance | Starknet Devnet - + diff --git a/docs/next/blocks/index.html b/docs/next/blocks/index.html index 6e23df84c..7e3b87714 100644 --- a/docs/next/blocks/index.html +++ b/docs/next/blocks/index.html @@ -4,7 +4,7 @@ Blocks | Starknet Devnet - + diff --git a/docs/next/category/running/index.html b/docs/next/category/running/index.html index 950612d12..e80039d00 100644 --- a/docs/next/category/running/index.html +++ b/docs/next/category/running/index.html @@ -4,7 +4,7 @@ Running | Starknet Devnet - + diff --git a/docs/next/dump-load-restart/index.html b/docs/next/dump-load-restart/index.html index 2093f9b06..a955a1a29 100644 --- a/docs/next/dump-load-restart/index.html +++ b/docs/next/dump-load-restart/index.html @@ -4,7 +4,7 @@ Dump, load, restart | Starknet Devnet - + diff --git a/docs/next/examples/index.html b/docs/next/examples/index.html index 6b53353fb..e5cdaf8b1 100644 --- a/docs/next/examples/index.html +++ b/docs/next/examples/index.html @@ -4,7 +4,7 @@ Examples | Starknet Devnet - + diff --git a/docs/next/forking/index.html b/docs/next/forking/index.html index 970030f20..a0053679f 100644 --- a/docs/next/forking/index.html +++ b/docs/next/forking/index.html @@ -4,7 +4,7 @@ Forking | Starknet Devnet - + diff --git a/docs/next/gas/index.html b/docs/next/gas/index.html index d52b3b8c5..df07bef20 100644 --- a/docs/next/gas/index.html +++ b/docs/next/gas/index.html @@ -4,7 +4,7 @@ Gas price modification | Starknet Devnet - + diff --git a/docs/next/historic-state/index.html b/docs/next/historic-state/index.html index 5531dab55..0ea8e6160 100644 --- a/docs/next/historic-state/index.html +++ b/docs/next/historic-state/index.html @@ -4,7 +4,7 @@ Historic state support | Starknet Devnet - + diff --git a/docs/next/intro/index.html b/docs/next/intro/index.html index c899850ae..e60954a17 100644 --- a/docs/next/intro/index.html +++ b/docs/next/intro/index.html @@ -4,7 +4,7 @@ Intro | Starknet Devnet - + diff --git a/docs/next/lite/index.html b/docs/next/lite/index.html index a81389552..209b6f0fe 100644 --- a/docs/next/lite/index.html +++ b/docs/next/lite/index.html @@ -4,7 +4,7 @@ Lite mode | Starknet Devnet - + diff --git a/docs/next/postman/index.html b/docs/next/postman/index.html index 72d2621c9..21cf56270 100644 --- a/docs/next/postman/index.html +++ b/docs/next/postman/index.html @@ -4,7 +4,7 @@ L1-L2 interaction via Postman | Starknet Devnet - + diff --git a/docs/next/predeployed/index.html b/docs/next/predeployed/index.html index 49fb373dc..8b90a5d56 100644 --- a/docs/next/predeployed/index.html +++ b/docs/next/predeployed/index.html @@ -4,7 +4,7 @@ Predeployed contracts | Starknet Devnet - + diff --git a/docs/next/restrictive/index.html b/docs/next/restrictive/index.html index fc54d6470..8dbf04bc2 100644 --- a/docs/next/restrictive/index.html +++ b/docs/next/restrictive/index.html @@ -4,7 +4,7 @@ Restrictive mode | Starknet Devnet - + diff --git a/docs/next/running/cli/index.html b/docs/next/running/cli/index.html index 7a68967ea..df6ea70a7 100644 --- a/docs/next/running/cli/index.html +++ b/docs/next/running/cli/index.html @@ -4,7 +4,7 @@ CLI options | Starknet Devnet - + diff --git a/docs/next/running/docker/index.html b/docs/next/running/docker/index.html index 6b7c49796..51c48da34 100644 --- a/docs/next/running/docker/index.html +++ b/docs/next/running/docker/index.html @@ -4,7 +4,7 @@ Run with Docker | Starknet Devnet - + diff --git a/docs/next/running/install/index.html b/docs/next/running/install/index.html index b39bba783..33771e48e 100644 --- a/docs/next/running/install/index.html +++ b/docs/next/running/install/index.html @@ -4,7 +4,7 @@ Install and run | Starknet Devnet - + diff --git a/docs/next/server-config/index.html b/docs/next/server-config/index.html index 26b7dc699..c1851acd6 100644 --- a/docs/next/server-config/index.html +++ b/docs/next/server-config/index.html @@ -4,7 +4,7 @@ Server config | Starknet Devnet - + diff --git a/docs/next/starknet-time/index.html b/docs/next/starknet-time/index.html index ec7a982f4..5dae0ff5a 100644 --- a/docs/next/starknet-time/index.html +++ b/docs/next/starknet-time/index.html @@ -4,7 +4,7 @@ Starknet time | Starknet Devnet - + diff --git a/docs/postman/index.html b/docs/postman/index.html index 3c6cc36bd..2f8aa0b49 100644 --- a/docs/postman/index.html +++ b/docs/postman/index.html @@ -4,7 +4,7 @@ L1-L2 interaction via Postman | Starknet Devnet - + diff --git a/docs/predeployed/index.html b/docs/predeployed/index.html index f52d9ba6b..ee76838cd 100644 --- a/docs/predeployed/index.html +++ b/docs/predeployed/index.html @@ -4,7 +4,7 @@ Predeployed contracts | Starknet Devnet - + diff --git a/docs/running/cli/index.html b/docs/running/cli/index.html index 27438e522..bac369a9b 100644 --- a/docs/running/cli/index.html +++ b/docs/running/cli/index.html @@ -4,7 +4,7 @@ CLI options | Starknet Devnet - + diff --git a/docs/running/docker/index.html b/docs/running/docker/index.html index ec2adee50..d279c41c1 100644 --- a/docs/running/docker/index.html +++ b/docs/running/docker/index.html @@ -4,7 +4,7 @@ Run with Docker | Starknet Devnet - + diff --git a/docs/running/install/index.html b/docs/running/install/index.html index 10db8e455..87a347bc8 100644 --- a/docs/running/install/index.html +++ b/docs/running/install/index.html @@ -4,7 +4,7 @@ Install and run | Starknet Devnet - + diff --git a/docs/server-config/index.html b/docs/server-config/index.html index 239b5e466..04c2286a3 100644 --- a/docs/server-config/index.html +++ b/docs/server-config/index.html @@ -4,7 +4,7 @@ Server config | Starknet Devnet - + diff --git a/docs/starknet-time/index.html b/docs/starknet-time/index.html index bac2e4a26..b9ea315b1 100644 --- a/docs/starknet-time/index.html +++ b/docs/starknet-time/index.html @@ -4,7 +4,7 @@ Starknet time | Starknet Devnet - + diff --git a/index.html b/index.html index 341bee828..4c679aed1 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ Home | Starknet Devnet - +