Page Not Found | Starknet Devnet
-
+
diff --git a/assets/js/4717d09b.2e0c324e.js b/assets/js/4717d09b.2e0c324e.js
new file mode 100644
index 000000000..c8c1d796f
--- /dev/null
+++ b/assets/js/4717d09b.2e0c324e.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4525],{6548:(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/versioned_docs/version-0.2.0/api.md",sourceDirName:".",slug:"/api",permalink:"/starknet-devnet-rs/docs/api",draft:!1,unlisted:!1,editUrl:"https://github.com/0xSpaceShard/starknet-devnet-rs/blob/master/website/versioned_docs/version-0.2.0/api.md",tags:[],version:"0.2.0",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"docSidebar",previous:{title:"CLI options",permalink:"/starknet-devnet-rs/docs/running/cli"},next:{title:"Account impersonation",permalink:"/starknet-devnet-rs/docs/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",admonition:"admonition",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 JSON-RPC. The RPC methods are documented throughout the documentation in their corresponding pages, but are also aggregated ",(0,i.jsx)(t.a,{href:"https://github.com/0xSpaceShard/starknet-devnet-rs/blob/main/website/static/devnet_api.json",children:"here"}),"."]}),"\n",(0,i.jsx)(t.admonition,{title:"Deprecation notice",type:"warning",children:(0,i.jsxs)(t.p,{children:["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/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/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/4717d09b.a681cc59.js b/assets/js/4717d09b.a681cc59.js
deleted file mode 100644
index abcc5842f..000000000
--- a/assets/js/4717d09b.a681cc59.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4525],{6548:(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/versioned_docs/version-0.2.0/api.md",sourceDirName:".",slug:"/api",permalink:"/starknet-devnet-rs/docs/api",draft:!1,unlisted:!1,editUrl:"https://github.com/0xSpaceShard/starknet-devnet-rs/blob/master/website/versioned_docs/version-0.2.0/api.md",tags:[],version:"0.2.0",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"docSidebar",previous:{title:"CLI options",permalink:"/starknet-devnet-rs/docs/running/cli"},next:{title:"Account impersonation",permalink:"/starknet-devnet-rs/docs/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",admonition:"admonition",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 JSON-RPC. The RPC methods are documented throughout the documentation in their corresponding pages, but are also aggregated ",(0,i.jsx)(t.a,{href:"https://github.com/0xSpaceShard/starknet-devnet-rs/website/static/devnet_api.json",children:"here"}),"."]}),"\n",(0,i.jsx)(t.admonition,{title:"Deprecation notice",type:"warning",children:(0,i.jsxs)(t.p,{children:["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/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/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/5fbc5cf1.0e41cfdd.js b/assets/js/5fbc5cf1.0e41cfdd.js
new file mode 100644
index 000000000..6217da9a6
--- /dev/null
+++ b/assets/js/5fbc5cf1.0e41cfdd.js
@@ -0,0 +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",admonition:"admonition",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 JSON-RPC. The RPC methods are documented throughout the documentation in their corresponding pages, but are also aggregated ",(0,i.jsx)(t.a,{href:"https://github.com/0xSpaceShard/starknet-devnet-rs/blob/main/website/static/devnet_api.json",children:"here"}),"."]}),"\n",(0,i.jsx)(t.admonition,{title:"Deprecation notice",type:"warning",children:(0,i.jsxs)(t.p,{children:["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/5fbc5cf1.949f6d67.js b/assets/js/5fbc5cf1.949f6d67.js
deleted file mode 100644
index 9ebb18a7d..000000000
--- a/assets/js/5fbc5cf1.949f6d67.js
+++ /dev/null
@@ -1 +0,0 @@
-"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",admonition:"admonition",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 JSON-RPC. The RPC methods are documented throughout the documentation in their corresponding pages, but are also aggregated ",(0,i.jsx)(t.a,{href:"https://github.com/0xSpaceShard/starknet-devnet-rs/website/static/devnet_api.json",children:"here"}),"."]}),"\n",(0,i.jsx)(t.admonition,{title:"Deprecation notice",type:"warning",children:(0,i.jsxs)(t.p,{children:["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/64d9acd1.93ae8c7e.js b/assets/js/64d9acd1.93ae8c7e.js
new file mode 100644
index 000000000..7b60c27a0
--- /dev/null
+++ b/assets/js/64d9acd1.93ae8c7e.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4213],{5211:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>s,default:()=>p,frontMatter:()=>r,metadata:()=>d,toc:()=>i});var o=t(4848),c=t(8453);const r={},s="Predeployed contracts",d={id:"predeployed",title:"Predeployed contracts",description:"Devnet predeploys a UDC, an ERC20 (fee token) contract and a set of predeployed funded accounts.",source:"@site/versioned_docs/version-0.2.0/predeployed.md",sourceDirName:".",slug:"/predeployed",permalink:"/starknet-devnet-rs/docs/predeployed",draft:!1,unlisted:!1,editUrl:"https://github.com/0xSpaceShard/starknet-devnet-rs/blob/master/website/versioned_docs/version-0.2.0/predeployed.md",tags:[],version:"0.2.0",frontMatter:{},sidebar:"docSidebar",previous:{title:"L1-L2 interaction via Postman",permalink:"/starknet-devnet-rs/docs/postman"},next:{title:"Restrictive mode",permalink:"/starknet-devnet-rs/docs/restrictive"}},a={},i=[{value:"Predeployed account preservation",id:"predeployed-account-preservation",level:2},{value:"Account class selection",id:"account-class-selection",level:2},{value:"Deploying an undeclared account",id:"deploying-an-undeclared-account",level:2},{value:"How to get predeployment info?",id:"how-to-get-predeployment-info",level:2}];function l(e){const n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",ul:"ul",...(0,c.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"predeployed-contracts",children:"Predeployed contracts"}),"\n",(0,o.jsxs)(n.p,{children:["Devnet predeploys a ",(0,o.jsx)(n.a,{href:"https://docs.openzeppelin.com/contracts-cairo/0.6.1/udc",children:"UDC"}),", an ",(0,o.jsx)(n.a,{href:"https://docs.openzeppelin.com/contracts-cairo/0.8.1/erc20",children:"ERC20 (fee token)"})," contract and a set of predeployed funded accounts."]}),"\n",(0,o.jsxs)(n.p,{children:["The set of accounts can be controlled via ",(0,o.jsx)(n.a,{href:"./running/cli",children:"CLI options"}),": ",(0,o.jsx)(n.code,{children:"--accounts "}),", ",(0,o.jsx)(n.code,{children:"--initial-balance "}),", ",(0,o.jsx)(n.code,{children:"--seed "}),"."]}),"\n",(0,o.jsx)(n.h2,{id:"predeployed-account-preservation",children:"Predeployed account preservation"}),"\n",(0,o.jsxs)(n.admonition,{type:"note",children:[(0,o.jsxs)(n.p,{children:["Once you shut down your Devnet, the predeployed account you used ceases to exist. This may be a problem with tools such as ",(0,o.jsx)(n.code,{children:"starkli"})," which hardcode your account details in a local file. One option then is to delete your account entry from ",(0,o.jsx)(n.code,{children:"starkli"}),"'s account file. Another option is to spawn the same account on next Devnet startup. To do this, you can use:"]}),(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:["the ",(0,o.jsx)(n.code,{children:"--seed "})," CLI option which always predeploys the same set of accounts if using the same ",(0,o.jsx)(n.code,{children:""})," (the seed is logged on startup)"]}),"\n",(0,o.jsxs)(n.li,{children:["the ",(0,o.jsx)(n.a,{href:"./dump-load-restart",children:"dump and load feature"})]}),"\n"]})]}),"\n",(0,o.jsx)(n.h2,{id:"account-class-selection",children:"Account class selection"}),"\n",(0,o.jsx)(n.p,{children:"Choose between predeploying Cairo 0 (OpenZeppelin 0.5.1) or Cairo 1 (default; OpenZeppelin 0.8.1) accounts by using:"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{children:"--account-class [cairo0 | cairo1]\n"})}),"\n",(0,o.jsxs)(n.p,{children:["Alternatively, provide a path to the ",(0,o.jsx)(n.a,{href:"https://github.com/starkware-libs/cairo#compiling-and-running-cairo-files",children:"Sierra artifact"})," of your custom account using:"]}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{children:"--account-class-custom \n"})}),"\n",(0,o.jsx)(n.h2,{id:"deploying-an-undeclared-account",children:"Deploying an undeclared account"}),"\n",(0,o.jsxs)(n.p,{children:["If you want to deploy an instance of an account contract class not predeclared on Devnet, you can use ",(0,o.jsx)(n.a,{href:"./forking",children:"forking"}),". Just fork an origin network which has the needed class already declared, e.g. the Sepolia testnet. Why? Because new versions of wallets like ArgentX and Braavos tend to be declared on testnet/mainnet soon after release."]}),"\n",(0,o.jsx)(n.h2,{id:"how-to-get-predeployment-info",children:"How to get predeployment info?"}),"\n",(0,o.jsxs)(n.p,{children:["The information on predeployed contracts is logged on Devnet startup. Predeployed accounts can be retrieved in JSON format by sending a ",(0,o.jsx)(n.code,{children:"GET"})," request to ",(0,o.jsx)(n.code,{children:"/predeployed_accounts"}),". With the additional query parameter ",(0,o.jsx)(n.code,{children:"with_balance=true"}),", WEI and FRI balances at the pending state will be provided:"]}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{children:"GET /predeployed_accounts?[with_balance=true]\n"})}),"\n",(0,o.jsx)(n.p,{children:"Alternatively, send a JSON-RPC request:"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{children:'JSON-RPC\n{\n "jsonrpc": "2.0",\n "id": "1",\n "method": "devnet_getPredeployedAccounts"\n}\n'})}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{children:'JSON-RPC\n{\n "jsonrpc": "2.0",\n "id": "1",\n "method": "devnet_getPredeployedAccounts",\n "params": {\n // optional; defaults to false\n "with_balance": true | false\n }\n}\n'})})]})}function p(e={}){const{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},8453:(e,n,t)=>{t.d(n,{R:()=>s,x:()=>d});var o=t(6540);const c={},r=o.createContext(c);function s(e){const n=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:s(e.components),o.createElement(r.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/64d9acd1.d11a3d54.js b/assets/js/64d9acd1.d11a3d54.js
deleted file mode 100644
index 7115b3bd0..000000000
--- a/assets/js/64d9acd1.d11a3d54.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4213],{5211:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>s,default:()=>p,frontMatter:()=>r,metadata:()=>d,toc:()=>i});var o=t(4848),c=t(8453);const r={},s="Predeployed contracts",d={id:"predeployed",title:"Predeployed contracts",description:"Devnet predeploys a UDC, an ERC20 (fee token) contract and a set of predeployed funded accounts.",source:"@site/versioned_docs/version-0.2.0/predeployed.md",sourceDirName:".",slug:"/predeployed",permalink:"/starknet-devnet-rs/docs/predeployed",draft:!1,unlisted:!1,editUrl:"https://github.com/0xSpaceShard/starknet-devnet-rs/blob/master/website/versioned_docs/version-0.2.0/predeployed.md",tags:[],version:"0.2.0",frontMatter:{},sidebar:"docSidebar",previous:{title:"L1-L2 interaction via Postman",permalink:"/starknet-devnet-rs/docs/postman"},next:{title:"Restrictive mode",permalink:"/starknet-devnet-rs/docs/restrictive"}},a={},i=[{value:"Account class selection",id:"account-class-selection",level:2},{value:"Deploying an undeclared account",id:"deploying-an-undeclared-account",level:2},{value:"How to get predeployment info?",id:"how-to-get-predeployment-info",level:2}];function l(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,c.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"predeployed-contracts",children:"Predeployed contracts"}),"\n",(0,o.jsxs)(n.p,{children:["Devnet predeploys a ",(0,o.jsx)(n.a,{href:"https://docs.openzeppelin.com/contracts-cairo/0.6.1/udc",children:"UDC"}),", an ",(0,o.jsx)(n.a,{href:"https://docs.openzeppelin.com/contracts-cairo/0.8.1/erc20",children:"ERC20 (fee token)"})," contract and a set of predeployed funded accounts."]}),"\n",(0,o.jsxs)(n.p,{children:["The set of accounts can be controlled via ",(0,o.jsx)(n.a,{href:"./running/cli",children:"CLI options"}),": ",(0,o.jsx)(n.code,{children:"--accounts "}),", ",(0,o.jsx)(n.code,{children:"--initial-balance "}),", ",(0,o.jsx)(n.code,{children:"--seed "}),"."]}),"\n",(0,o.jsx)(n.h2,{id:"account-class-selection",children:"Account class selection"}),"\n",(0,o.jsx)(n.p,{children:"Choose between predeploying Cairo 0 (OpenZeppelin 0.5.1) or Cairo 1 (default; OpenZeppelin 0.8.1) accounts by using:"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{children:"--account-class [cairo0 | cairo1]\n"})}),"\n",(0,o.jsxs)(n.p,{children:["Alternatively, provide a path to the ",(0,o.jsx)(n.a,{href:"https://github.com/starkware-libs/cairo#compiling-and-running-cairo-files",children:"Sierra artifact"})," of your custom account using:"]}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{children:"--account-class-custom \n"})}),"\n",(0,o.jsx)(n.h2,{id:"deploying-an-undeclared-account",children:"Deploying an undeclared account"}),"\n",(0,o.jsxs)(n.p,{children:["If you want to deploy an instance of an account contract class not predeclared on Devnet, you can use ",(0,o.jsx)(n.a,{href:"./forking",children:"forking"}),". Just fork an origin network which has the needed class already declared, e.g. the Sepolia testnet. Why? Because new versions of wallets like ArgentX and Braavos tend to be declared on testnet/mainnet soon after release."]}),"\n",(0,o.jsx)(n.h2,{id:"how-to-get-predeployment-info",children:"How to get predeployment info?"}),"\n",(0,o.jsxs)(n.p,{children:["The information on predeployed contracts is logged on Devnet startup. Predeployed accounts can be retrieved in JSON format by sending a ",(0,o.jsx)(n.code,{children:"GET"})," request to ",(0,o.jsx)(n.code,{children:"/predeployed_accounts"}),". With the additional query parameter ",(0,o.jsx)(n.code,{children:"with_balance=true"}),", WEI and FRI balances at the pending state will be provided:"]}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{children:"GET /predeployed_accounts?[with_balance=true]\n"})}),"\n",(0,o.jsx)(n.p,{children:"Alternatively, send a JSON-RPC request:"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{children:'JSON-RPC\n{\n "jsonrpc": "2.0",\n "id": "1",\n "method": "devnet_getPredeployedAccounts"\n}\n'})}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{children:'JSON-RPC\n{\n "jsonrpc": "2.0",\n "id": "1",\n "method": "devnet_getPredeployedAccounts",\n "params": {\n // optional; defaults to false\n "with_balance": true | false\n }\n}\n'})})]})}function p(e={}){const{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},8453:(e,n,t)=>{t.d(n,{R:()=>s,x:()=>d});var o=t(6540);const c={},r=o.createContext(c);function s(e){const n=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:s(e.components),o.createElement(r.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/b4513eec.8e9ffe3f.js b/assets/js/b4513eec.8e9ffe3f.js
new file mode 100644
index 000000000..3e05ba369
--- /dev/null
+++ b/assets/js/b4513eec.8e9ffe3f.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1863],{9025:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>s,default:()=>p,frontMatter:()=>r,metadata:()=>d,toc:()=>i});var o=t(4848),c=t(8453);const r={},s="Predeployed contracts",d={id:"predeployed",title:"Predeployed contracts",description:"Devnet predeploys a UDC, an ERC20 (fee token) contract and a set of predeployed funded accounts.",source:"@site/docs/predeployed.md",sourceDirName:".",slug:"/predeployed",permalink:"/starknet-devnet-rs/docs/next/predeployed",draft:!1,unlisted:!1,editUrl:"https://github.com/0xSpaceShard/starknet-devnet-rs/blob/master/website/docs/predeployed.md",tags:[],version:"current",frontMatter:{},sidebar:"docSidebar",previous:{title:"L1-L2 interaction via Postman",permalink:"/starknet-devnet-rs/docs/next/postman"},next:{title:"Restrictive mode",permalink:"/starknet-devnet-rs/docs/next/restrictive"}},a={},i=[{value:"Predeployed account preservation",id:"predeployed-account-preservation",level:2},{value:"Account class selection",id:"account-class-selection",level:2},{value:"Deploying an undeclared account",id:"deploying-an-undeclared-account",level:2},{value:"How to get predeployment info?",id:"how-to-get-predeployment-info",level:2}];function l(e){const n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",ul:"ul",...(0,c.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"predeployed-contracts",children:"Predeployed contracts"}),"\n",(0,o.jsxs)(n.p,{children:["Devnet predeploys a ",(0,o.jsx)(n.a,{href:"https://docs.openzeppelin.com/contracts-cairo/0.6.1/udc",children:"UDC"}),", an ",(0,o.jsx)(n.a,{href:"https://docs.openzeppelin.com/contracts-cairo/0.8.1/erc20",children:"ERC20 (fee token)"})," contract and a set of predeployed funded accounts."]}),"\n",(0,o.jsxs)(n.p,{children:["The set of accounts can be controlled via ",(0,o.jsx)(n.a,{href:"./running/cli",children:"CLI options"}),": ",(0,o.jsx)(n.code,{children:"--accounts "}),", ",(0,o.jsx)(n.code,{children:"--initial-balance "}),", ",(0,o.jsx)(n.code,{children:"--seed "}),"."]}),"\n",(0,o.jsx)(n.h2,{id:"predeployed-account-preservation",children:"Predeployed account preservation"}),"\n",(0,o.jsxs)(n.admonition,{type:"note",children:[(0,o.jsxs)(n.p,{children:["Once you shut down your Devnet, the predeployed account you used ceases to exist. This may be a problem with tools such as ",(0,o.jsx)(n.code,{children:"starkli"})," which hardcode your account details in a local file. One option then is to delete your account entry from ",(0,o.jsx)(n.code,{children:"starkli"}),"'s account file. Another option is to spawn the same account on next Devnet startup. To do this, you can use:"]}),(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:["the ",(0,o.jsx)(n.code,{children:"--seed "})," CLI option which always predeploys the same set of accounts if using the same ",(0,o.jsx)(n.code,{children:""})," (the seed is logged on startup)"]}),"\n",(0,o.jsxs)(n.li,{children:["the ",(0,o.jsx)(n.a,{href:"./dump-load-restart",children:"dump and load feature"})]}),"\n"]})]}),"\n",(0,o.jsx)(n.h2,{id:"account-class-selection",children:"Account class selection"}),"\n",(0,o.jsx)(n.p,{children:"Choose between predeploying Cairo 0 (OpenZeppelin 0.5.1) or Cairo 1 (default; OpenZeppelin 0.8.1) accounts by using:"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{children:"--account-class [cairo0 | cairo1]\n"})}),"\n",(0,o.jsxs)(n.p,{children:["Alternatively, provide a path to the ",(0,o.jsx)(n.a,{href:"https://github.com/starkware-libs/cairo#compiling-and-running-cairo-files",children:"Sierra artifact"})," of your custom account using:"]}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{children:"--account-class-custom \n"})}),"\n",(0,o.jsx)(n.h2,{id:"deploying-an-undeclared-account",children:"Deploying an undeclared account"}),"\n",(0,o.jsxs)(n.p,{children:["If you want to deploy an instance of an account contract class not predeclared on Devnet, you can use ",(0,o.jsx)(n.a,{href:"./forking",children:"forking"}),". Just fork an origin network which has the needed class already declared, e.g. the Sepolia testnet. Why? Because new versions of wallets like ArgentX and Braavos tend to be declared on testnet/mainnet soon after release."]}),"\n",(0,o.jsx)(n.h2,{id:"how-to-get-predeployment-info",children:"How to get predeployment info?"}),"\n",(0,o.jsxs)(n.p,{children:["The information on predeployed contracts is logged on Devnet startup. Predeployed accounts can be retrieved in JSON format by sending a ",(0,o.jsx)(n.code,{children:"GET"})," request to ",(0,o.jsx)(n.code,{children:"/predeployed_accounts"}),". With the additional query parameter ",(0,o.jsx)(n.code,{children:"with_balance=true"}),", WEI and FRI balances at the pending state will be provided:"]}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{children:"GET /predeployed_accounts?[with_balance=true]\n"})}),"\n",(0,o.jsx)(n.p,{children:"Alternatively, send a JSON-RPC request:"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{children:'JSON-RPC\n{\n "jsonrpc": "2.0",\n "id": "1",\n "method": "devnet_getPredeployedAccounts"\n}\n'})}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{children:'JSON-RPC\n{\n "jsonrpc": "2.0",\n "id": "1",\n "method": "devnet_getPredeployedAccounts",\n "params": {\n // optional; defaults to false\n "with_balance": true | false\n }\n}\n'})})]})}function p(e={}){const{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},8453:(e,n,t)=>{t.d(n,{R:()=>s,x:()=>d});var o=t(6540);const c={},r=o.createContext(c);function s(e){const n=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:s(e.components),o.createElement(r.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/b4513eec.e8fccf27.js b/assets/js/b4513eec.e8fccf27.js
deleted file mode 100644
index 70c8d19f2..000000000
--- a/assets/js/b4513eec.e8fccf27.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1863],{9025:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>s,default:()=>p,frontMatter:()=>r,metadata:()=>d,toc:()=>i});var o=t(4848),c=t(8453);const r={},s="Predeployed contracts",d={id:"predeployed",title:"Predeployed contracts",description:"Devnet predeploys a UDC, an ERC20 (fee token) contract and a set of predeployed funded accounts.",source:"@site/docs/predeployed.md",sourceDirName:".",slug:"/predeployed",permalink:"/starknet-devnet-rs/docs/next/predeployed",draft:!1,unlisted:!1,editUrl:"https://github.com/0xSpaceShard/starknet-devnet-rs/blob/master/website/docs/predeployed.md",tags:[],version:"current",frontMatter:{},sidebar:"docSidebar",previous:{title:"L1-L2 interaction via Postman",permalink:"/starknet-devnet-rs/docs/next/postman"},next:{title:"Restrictive mode",permalink:"/starknet-devnet-rs/docs/next/restrictive"}},a={},i=[{value:"Account class selection",id:"account-class-selection",level:2},{value:"Deploying an undeclared account",id:"deploying-an-undeclared-account",level:2},{value:"How to get predeployment info?",id:"how-to-get-predeployment-info",level:2}];function l(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,c.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"predeployed-contracts",children:"Predeployed contracts"}),"\n",(0,o.jsxs)(n.p,{children:["Devnet predeploys a ",(0,o.jsx)(n.a,{href:"https://docs.openzeppelin.com/contracts-cairo/0.6.1/udc",children:"UDC"}),", an ",(0,o.jsx)(n.a,{href:"https://docs.openzeppelin.com/contracts-cairo/0.8.1/erc20",children:"ERC20 (fee token)"})," contract and a set of predeployed funded accounts."]}),"\n",(0,o.jsxs)(n.p,{children:["The set of accounts can be controlled via ",(0,o.jsx)(n.a,{href:"./running/cli",children:"CLI options"}),": ",(0,o.jsx)(n.code,{children:"--accounts "}),", ",(0,o.jsx)(n.code,{children:"--initial-balance "}),", ",(0,o.jsx)(n.code,{children:"--seed "}),"."]}),"\n",(0,o.jsx)(n.h2,{id:"account-class-selection",children:"Account class selection"}),"\n",(0,o.jsx)(n.p,{children:"Choose between predeploying Cairo 0 (OpenZeppelin 0.5.1) or Cairo 1 (default; OpenZeppelin 0.8.1) accounts by using:"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{children:"--account-class [cairo0 | cairo1]\n"})}),"\n",(0,o.jsxs)(n.p,{children:["Alternatively, provide a path to the ",(0,o.jsx)(n.a,{href:"https://github.com/starkware-libs/cairo#compiling-and-running-cairo-files",children:"Sierra artifact"})," of your custom account using:"]}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{children:"--account-class-custom \n"})}),"\n",(0,o.jsx)(n.h2,{id:"deploying-an-undeclared-account",children:"Deploying an undeclared account"}),"\n",(0,o.jsxs)(n.p,{children:["If you want to deploy an instance of an account contract class not predeclared on Devnet, you can use ",(0,o.jsx)(n.a,{href:"./forking",children:"forking"}),". Just fork an origin network which has the needed class already declared, e.g. the Sepolia testnet. Why? Because new versions of wallets like ArgentX and Braavos tend to be declared on testnet/mainnet soon after release."]}),"\n",(0,o.jsx)(n.h2,{id:"how-to-get-predeployment-info",children:"How to get predeployment info?"}),"\n",(0,o.jsxs)(n.p,{children:["The information on predeployed contracts is logged on Devnet startup. Predeployed accounts can be retrieved in JSON format by sending a ",(0,o.jsx)(n.code,{children:"GET"})," request to ",(0,o.jsx)(n.code,{children:"/predeployed_accounts"}),". With the additional query parameter ",(0,o.jsx)(n.code,{children:"with_balance=true"}),", WEI and FRI balances at the pending state will be provided:"]}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{children:"GET /predeployed_accounts?[with_balance=true]\n"})}),"\n",(0,o.jsx)(n.p,{children:"Alternatively, send a JSON-RPC request:"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{children:'JSON-RPC\n{\n "jsonrpc": "2.0",\n "id": "1",\n "method": "devnet_getPredeployedAccounts"\n}\n'})}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{children:'JSON-RPC\n{\n "jsonrpc": "2.0",\n "id": "1",\n "method": "devnet_getPredeployedAccounts",\n "params": {\n // optional; defaults to false\n "with_balance": true | false\n }\n}\n'})})]})}function p(e={}){const{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},8453:(e,n,t)=>{t.d(n,{R:()=>s,x:()=>d});var o=t(6540);const c={},r=o.createContext(c);function s(e){const n=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:s(e.components),o.createElement(r.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/runtime~main.8b1f4ce5.js b/assets/js/runtime~main.229546d8.js
similarity index 97%
rename from assets/js/runtime~main.8b1f4ce5.js
rename to assets/js/runtime~main.229546d8.js
index d0c8a7338..1880b8159 100644
--- a/assets/js/runtime~main.8b1f4ce5.js
+++ b/assets/js/runtime~main.229546d8.js
@@ -1 +1 @@
-(()=>{"use strict";var e,a,f,b,d,c={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var f=t[e]={id:e,loaded:!1,exports:{}};return c[e].call(f.exports,f,f.exports,r),f.loaded=!0,f.exports}r.m=c,r.c=t,e=[],r.O=(a,f,b,d)=>{if(!f){var c=1/0;for(i=0;i=d)&&Object.keys(r.O).every((e=>r.O[e](f[o])))?f.splice(o--,1):(t=!1,d0&&e[i-1][2]>d;i--)e[i]=e[i-1];e[i]=[f,b,d]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},f=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,b){if(1&b&&(e=this(e)),8&b)return e;if("object"==typeof e&&e){if(4&b&&e.__esModule)return e;if(16&b&&"function"==typeof e.then)return e}var d=Object.create(null);r.r(d);var c={};a=a||[null,f({}),f([]),f(f)];for(var t=2&b&&e;"object"==typeof t&&!~a.indexOf(t);t=f(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 f in a)r.o(a,f)&&!r.o(e,f)&&Object.defineProperty(e,f,{enumerable:!0,get:a[f]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,f)=>(r.f[f](e,a),a)),[])),r.u=e=>"assets/js/"+({134:"b7bb6147",141:"28a0cb7e",337:"3f194bb7",447:"79bea677",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",1513:"add761da",1527:"778bcc8b",1603:"cb97154e",1863:"b4513eec",1864:"09d5ad39",1914:"1151f991",1953:"d24dc0ef",2134:"c4d2e5c1",2282:"6d990bb1",2408:"9abfa349",2412:"16a2713f",2557:"b1ee2929",2604:"b8663a1f",2627:"4769fc4e",2828:"49885c5e",2871:"3c883fc4",2916:"425e1ae2",2963:"922c21f9",3055:"7e6e598a",3124:"ef2a8751",3211:"1ed22fa3",3332:"e28eadbb",3705:"c75c8ede",3726:"a5e062ff",3729:"a525598e",3768:"e8953dad",3919:"f84fb341",3950:"b7007dab",3956:"a0ea14c4",3976:"0e384e19",4033:"ba6851eb",4213:"64d9acd1",4290:"ae603a5f",4291:"93f3c2aa",4455:"993d6a8d",4525:"4717d09b",4583:"1df93b7f",4643:"f44adc48",4676:"24503201",4876:"17682634",5120:"a5ad27b1",5186:"b0477c6d",5222:"b759477d",5282:"c1fff4ba",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",6208:"d4ac7305",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",7330:"a130ae53",7341:"e2db9f7a",7595:"0debafb6",7624:"5fbc5cf1",7780:"1e29fbdb",7807:"fdcd530c",7817:"a56dc942",7883:"e2538a57",7969:"5985dcf4",7987:"7019eb68",8401:"17896441",8541:"9fb136ba",8586:"94a47589",8609:"06604d59",8626:"bca784a7",8704:"1c1cdb4e",8838:"f8ae958c",9048:"a94703ab",9108:"aaf8ab99",9146:"533ff15f",9167:"ba738306",9184:"5999894b",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:"5d79e79a",337:"22bfc72a",447:"6aa8f6d6",463:"6d8a69a6",484:"d8f6d2d7",562:"04fe94e0",579:"d9ecc795",598:"dcaf95cd",626:"bcd286c8",646:"77b6f90e",662:"dca1c291",871:"44defd03",952:"b247a1f7",1235:"7b4b0a20",1316:"0fed137f",1437:"457a0c79",1475:"2ff5ffe7",1513:"257e3eec",1527:"6f445848",1603:"44cfc0ec",1863:"e8fccf27",1864:"836bb2d7",1914:"193b4b8f",1953:"47d18514",2134:"6f189758",2237:"ede9a640",2282:"6f96a3b4",2408:"620b16d7",2412:"f08ebda5",2557:"0daf59a0",2604:"aedceb6b",2627:"d5e77644",2828:"4bc7e5ad",2871:"d1c841d8",2916:"469cee91",2963:"e86c36fd",3055:"6c0dfde6",3124:"0dc9d49a",3211:"ff5f5ac6",3332:"9880c232",3705:"6029ecd0",3726:"0c80ff57",3729:"296cded1",3768:"d8af09d8",3919:"cf9c8bea",3950:"dce48c7e",3956:"74b8c7b1",3976:"9f5b9cab",4033:"f246b59f",4213:"d11a3d54",4290:"fa5b263f",4291:"850dddd9",4455:"28bbc400",4525:"a681cc59",4583:"f182b925",4643:"fe264cf6",4676:"df561d25",4876:"3d25384a",5120:"660fa43f",5186:"5a13a38e",5222:"05e92393",5282:"2ec0eaa6",5348:"3ad38ed6",5480:"b9a69f3d",5532:"60f06895",5624:"211be870",5634:"0187249f",5700:"fc7d833c",5742:"9ac6642b",5771:"6fb725c9",5864:"f7bde80c",5960:"aa8fdf00",6017:"5d6a3cde",6131:"18512c2f",6187:"709607a7",6208:"da2046e6",6286:"8ca4e8a2",6439:"2d8efa6d",6613:"b3b7a295",6651:"f10bbef6",6773:"fed3c84a",6828:"8da5bc72",6900:"f2efdc37",6928:"5fd884cc",6969:"eeb6b7e2",7098:"b82ee0df",7117:"bf31a5eb",7229:"33a8bdeb",7230:"260ce03e",7330:"46fa423f",7341:"810d7342",7595:"bf13c614",7624:"949f6d67",7780:"d5a6d9e6",7807:"3feb8b84",7817:"d708dd89",7883:"b963a51d",7969:"70d866fa",7987:"19990d6b",8401:"dcdbd021",8541:"64533b19",8586:"a4d56e94",8609:"18dbfdaf",8626:"09d406cb",8704:"e543d3ff",8838:"a3ca5c4d",9048:"2668bc5b",9108:"a5aed152",9146:"e81f7cd6",9167:"fde851af",9184:"aaf5b65a",9218:"3cda2f1c",9308:"be1fbadb",9337:"22e90422",9378:"e5b723a6",9440:"525617f1",9471:"9b22e8ad",9497:"a3e0afab",9629:"9ea44d6b",9647:"b1f5748f",9736:"7ae4e26a",9891:"10bde74f",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),b={},d="website:",r.l=(e,a,f,c)=>{if(b[e])b[e].push(a);else{var t,o;if(void 0!==f)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var d=b[e];if(delete b[e],t.parentNode&&t.parentNode.removeChild(t),d&&d.forEach((e=>e(f))),a)return a(f)},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","79bea677":"447","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",add761da:"1513","778bcc8b":"1527",cb97154e:"1603",b4513eec:"1863","09d5ad39":"1864","1151f991":"1914",d24dc0ef:"1953",c4d2e5c1:"2134","6d990bb1":"2282","9abfa349":"2408","16a2713f":"2412",b1ee2929:"2557",b8663a1f:"2604","4769fc4e":"2627","49885c5e":"2828","3c883fc4":"2871","425e1ae2":"2916","922c21f9":"2963","7e6e598a":"3055",ef2a8751:"3124","1ed22fa3":"3211",e28eadbb:"3332",c75c8ede:"3705",a5e062ff:"3726",a525598e:"3729",e8953dad:"3768",f84fb341:"3919",b7007dab:"3950",a0ea14c4:"3956","0e384e19":"3976",ba6851eb:"4033","64d9acd1":"4213",ae603a5f:"4290","93f3c2aa":"4291","993d6a8d":"4455","4717d09b":"4525","1df93b7f":"4583",f44adc48:"4643",a5ad27b1:"5120",b0477c6d:"5186",b759477d:"5222",c1fff4ba:"5282","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",d4ac7305:"6208",e2f00550:"6286",ad6bd692:"6439","18672b0b":"6651","2146f16f":"6773","9976ff42":"6828",cc3979e2:"6900",def2ee80:"6928","14eb3368":"6969",a7bd4aaa:"7098","224c8fe8":"7117",eb78b783:"7229","93f75803":"7230",a130ae53:"7330",e2db9f7a:"7341","0debafb6":"7595","5fbc5cf1":"7624","1e29fbdb":"7780",fdcd530c:"7807",a56dc942:"7817",e2538a57:"7883","5985dcf4":"7969","7019eb68":"7987","9fb136ba":"8541","94a47589":"8586","06604d59":"8609",bca784a7:"8626","1c1cdb4e":"8704",f8ae958c:"8838",a94703ab:"9048",aaf8ab99:"9108","533ff15f":"9146",ba738306:"9167","5999894b":"9184",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,f)=>{var b=r.o(e,a)?e[a]:void 0;if(0!==b)if(b)f.push(b[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var d=new Promise(((f,d)=>b=e[a]=[f,d]));f.push(b[2]=d);var c=r.p+r.u(a),t=new Error;r.l(c,(f=>{if(r.o(e,a)&&(0!==(b=e[a])&&(e[a]=void 0),b)){var d=f&&("load"===f.type?"missing":f.type),c=f&&f.target&&f.target.src;t.message="Loading chunk "+a+" failed.\n("+d+": "+c+")",t.name="ChunkLoadError",t.type=d,t.request=c,b[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,f)=>{var b,d,c=f[0],t=f[1],o=f[2],n=0;if(c.some((a=>0!==e[a]))){for(b in t)r.o(t,b)&&(r.m[b]=t[b]);if(o)var i=o(r)}for(a&&a(f);n{"use strict";var e,a,f,b,d,c={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var f=t[e]={id:e,loaded:!1,exports:{}};return c[e].call(f.exports,f,f.exports,r),f.loaded=!0,f.exports}r.m=c,r.c=t,e=[],r.O=(a,f,b,d)=>{if(!f){var c=1/0;for(i=0;i=d)&&Object.keys(r.O).every((e=>r.O[e](f[o])))?f.splice(o--,1):(t=!1,d0&&e[i-1][2]>d;i--)e[i]=e[i-1];e[i]=[f,b,d]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},f=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,b){if(1&b&&(e=this(e)),8&b)return e;if("object"==typeof e&&e){if(4&b&&e.__esModule)return e;if(16&b&&"function"==typeof e.then)return e}var d=Object.create(null);r.r(d);var c={};a=a||[null,f({}),f([]),f(f)];for(var t=2&b&&e;"object"==typeof t&&!~a.indexOf(t);t=f(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 f in a)r.o(a,f)&&!r.o(e,f)&&Object.defineProperty(e,f,{enumerable:!0,get:a[f]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,f)=>(r.f[f](e,a),a)),[])),r.u=e=>"assets/js/"+({134:"b7bb6147",141:"28a0cb7e",337:"3f194bb7",447:"79bea677",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",1513:"add761da",1527:"778bcc8b",1603:"cb97154e",1863:"b4513eec",1864:"09d5ad39",1914:"1151f991",1953:"d24dc0ef",2134:"c4d2e5c1",2282:"6d990bb1",2408:"9abfa349",2412:"16a2713f",2557:"b1ee2929",2604:"b8663a1f",2627:"4769fc4e",2828:"49885c5e",2871:"3c883fc4",2916:"425e1ae2",2963:"922c21f9",3055:"7e6e598a",3124:"ef2a8751",3211:"1ed22fa3",3332:"e28eadbb",3705:"c75c8ede",3726:"a5e062ff",3729:"a525598e",3768:"e8953dad",3919:"f84fb341",3950:"b7007dab",3956:"a0ea14c4",3976:"0e384e19",4033:"ba6851eb",4213:"64d9acd1",4290:"ae603a5f",4291:"93f3c2aa",4455:"993d6a8d",4525:"4717d09b",4583:"1df93b7f",4643:"f44adc48",4676:"24503201",4876:"17682634",5120:"a5ad27b1",5186:"b0477c6d",5222:"b759477d",5282:"c1fff4ba",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",6208:"d4ac7305",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",7330:"a130ae53",7341:"e2db9f7a",7595:"0debafb6",7624:"5fbc5cf1",7780:"1e29fbdb",7807:"fdcd530c",7817:"a56dc942",7883:"e2538a57",7969:"5985dcf4",7987:"7019eb68",8401:"17896441",8541:"9fb136ba",8586:"94a47589",8609:"06604d59",8626:"bca784a7",8704:"1c1cdb4e",8838:"f8ae958c",9048:"a94703ab",9108:"aaf8ab99",9146:"533ff15f",9167:"ba738306",9184:"5999894b",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:"5d79e79a",337:"22bfc72a",447:"6aa8f6d6",463:"6d8a69a6",484:"d8f6d2d7",562:"04fe94e0",579:"d9ecc795",598:"dcaf95cd",626:"bcd286c8",646:"77b6f90e",662:"dca1c291",871:"44defd03",952:"b247a1f7",1235:"7b4b0a20",1316:"0fed137f",1437:"457a0c79",1475:"2ff5ffe7",1513:"257e3eec",1527:"6f445848",1603:"44cfc0ec",1863:"8e9ffe3f",1864:"836bb2d7",1914:"193b4b8f",1953:"47d18514",2134:"6f189758",2237:"ede9a640",2282:"6f96a3b4",2408:"620b16d7",2412:"f08ebda5",2557:"0daf59a0",2604:"aedceb6b",2627:"d5e77644",2828:"4bc7e5ad",2871:"d1c841d8",2916:"469cee91",2963:"e86c36fd",3055:"6c0dfde6",3124:"0dc9d49a",3211:"ff5f5ac6",3332:"9880c232",3705:"6029ecd0",3726:"0c80ff57",3729:"296cded1",3768:"d8af09d8",3919:"cf9c8bea",3950:"dce48c7e",3956:"74b8c7b1",3976:"9f5b9cab",4033:"f246b59f",4213:"93ae8c7e",4290:"fa5b263f",4291:"850dddd9",4455:"28bbc400",4525:"2e0c324e",4583:"f182b925",4643:"fe264cf6",4676:"df561d25",4876:"3d25384a",5120:"660fa43f",5186:"5a13a38e",5222:"05e92393",5282:"2ec0eaa6",5348:"3ad38ed6",5480:"b9a69f3d",5532:"60f06895",5624:"211be870",5634:"0187249f",5700:"fc7d833c",5742:"9ac6642b",5771:"6fb725c9",5864:"f7bde80c",5960:"aa8fdf00",6017:"5d6a3cde",6131:"18512c2f",6187:"709607a7",6208:"da2046e6",6286:"8ca4e8a2",6439:"2d8efa6d",6613:"b3b7a295",6651:"f10bbef6",6773:"fed3c84a",6828:"8da5bc72",6900:"f2efdc37",6928:"5fd884cc",6969:"eeb6b7e2",7098:"b82ee0df",7117:"bf31a5eb",7229:"33a8bdeb",7230:"260ce03e",7330:"46fa423f",7341:"810d7342",7595:"bf13c614",7624:"0e41cfdd",7780:"d5a6d9e6",7807:"3feb8b84",7817:"d708dd89",7883:"b963a51d",7969:"70d866fa",7987:"19990d6b",8401:"dcdbd021",8541:"64533b19",8586:"a4d56e94",8609:"18dbfdaf",8626:"09d406cb",8704:"e543d3ff",8838:"a3ca5c4d",9048:"2668bc5b",9108:"a5aed152",9146:"e81f7cd6",9167:"fde851af",9184:"aaf5b65a",9218:"3cda2f1c",9308:"be1fbadb",9337:"22e90422",9378:"e5b723a6",9440:"525617f1",9471:"9b22e8ad",9497:"a3e0afab",9629:"9ea44d6b",9647:"b1f5748f",9736:"7ae4e26a",9891:"10bde74f",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),b={},d="website:",r.l=(e,a,f,c)=>{if(b[e])b[e].push(a);else{var t,o;if(void 0!==f)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var d=b[e];if(delete b[e],t.parentNode&&t.parentNode.removeChild(t),d&&d.forEach((e=>e(f))),a)return a(f)},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","79bea677":"447","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",add761da:"1513","778bcc8b":"1527",cb97154e:"1603",b4513eec:"1863","09d5ad39":"1864","1151f991":"1914",d24dc0ef:"1953",c4d2e5c1:"2134","6d990bb1":"2282","9abfa349":"2408","16a2713f":"2412",b1ee2929:"2557",b8663a1f:"2604","4769fc4e":"2627","49885c5e":"2828","3c883fc4":"2871","425e1ae2":"2916","922c21f9":"2963","7e6e598a":"3055",ef2a8751:"3124","1ed22fa3":"3211",e28eadbb:"3332",c75c8ede:"3705",a5e062ff:"3726",a525598e:"3729",e8953dad:"3768",f84fb341:"3919",b7007dab:"3950",a0ea14c4:"3956","0e384e19":"3976",ba6851eb:"4033","64d9acd1":"4213",ae603a5f:"4290","93f3c2aa":"4291","993d6a8d":"4455","4717d09b":"4525","1df93b7f":"4583",f44adc48:"4643",a5ad27b1:"5120",b0477c6d:"5186",b759477d:"5222",c1fff4ba:"5282","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",d4ac7305:"6208",e2f00550:"6286",ad6bd692:"6439","18672b0b":"6651","2146f16f":"6773","9976ff42":"6828",cc3979e2:"6900",def2ee80:"6928","14eb3368":"6969",a7bd4aaa:"7098","224c8fe8":"7117",eb78b783:"7229","93f75803":"7230",a130ae53:"7330",e2db9f7a:"7341","0debafb6":"7595","5fbc5cf1":"7624","1e29fbdb":"7780",fdcd530c:"7807",a56dc942:"7817",e2538a57:"7883","5985dcf4":"7969","7019eb68":"7987","9fb136ba":"8541","94a47589":"8586","06604d59":"8609",bca784a7:"8626","1c1cdb4e":"8704",f8ae958c:"8838",a94703ab:"9048",aaf8ab99:"9108","533ff15f":"9146",ba738306:"9167","5999894b":"9184",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,f)=>{var b=r.o(e,a)?e[a]:void 0;if(0!==b)if(b)f.push(b[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var d=new Promise(((f,d)=>b=e[a]=[f,d]));f.push(b[2]=d);var c=r.p+r.u(a),t=new Error;r.l(c,(f=>{if(r.o(e,a)&&(0!==(b=e[a])&&(e[a]=void 0),b)){var d=f&&("load"===f.type?"missing":f.type),c=f&&f.target&&f.target.src;t.message="Loading chunk "+a+" failed.\n("+d+": "+c+")",t.name="ChunkLoadError",t.type=d,t.request=c,b[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,f)=>{var b,d,c=f[0],t=f[1],o=f[2],n=0;if(c.some((a=>0!==e[a]))){for(b in t)r.o(t,b)&&(r.m[b]=t[b]);if(o)var i=o(r)}for(a&&a(f);nAccount impersonation | Starknet Devnet
-
+
diff --git a/docs/0.0.6/api/index.html b/docs/0.0.6/api/index.html
index 55723c45f..e17e852a8 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 cde3aa8f2..5bd8d32b1 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 78b20dc43..894d937d0 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 40326cc5e..87b8bc210 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 c3ece5bcc..f13d5b6ff 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 f77b106e4..8516150c7 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 410bb62bc..9382651ea 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 d841e1805..43ff8b2d8 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 1b82f955e..8c78967b0 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 fe0b87494..e1c4de0b2 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 51cc3bb0d..50b42eff5 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 885db6461..a882789fb 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 b2f7813e7..5f3c3f73b 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 e642e437b..864d7f2c9 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 7d66c06cc..aca66b977 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 7211e9401..e28131f61 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 9e864ac20..18dfe3a0b 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 0fa98be96..0fac9193c 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 5f64c64eb..962f558cf 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 07fe39e9d..b3ebaad36 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 8ac2d062b..5af4d3e7f 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 d8c43576a..ac12ef8c4 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 892699a6f..738bf0116 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 e8a39ab18..ca99ee109 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 52020b68d..25a58d7ca 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 e990c121f..1f1624a76 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 d1ee5dfdd..34605c0a5 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 9d5e7cca2..d6a6ac158 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 7522b1bcf..dbd1e3b50 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 3aaff154d..e90454358 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 4f7b0e74c..365dd402a 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 426cd7b5a..1af6b35f7 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 600175c48..675d5e573 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 7c655cb7a..a92308ff0 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 79cf252cc..f6c6023d8 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 5c7712bb0..bbc548442 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 3d713eae8..34ebe58f4 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 ee7629f5a..bab30447f 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 efeb03fb9..03eec8be8 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 56299c359..f5261562c 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 9edb18204..449db151c 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 212b72f76..ba5165a12 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 c6cc05248..5ee0784f2 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 1ec4292b0..715367832 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 95a913721..c1841b480 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 42a4a3f9a..17781e3e7 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 8a1488dc5..c99aa32a0 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 b6d857735..eef6ea5a2 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 d6b75f7fc..df3120fe2 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 ef6425018..85e711ae4 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/0.1.2/account-impersonation/index.html b/docs/0.1.2/account-impersonation/index.html
index 64dc52fcc..7a76a089a 100644
--- a/docs/0.1.2/account-impersonation/index.html
+++ b/docs/0.1.2/account-impersonation/index.html
@@ -4,7 +4,7 @@
Account impersonation | Starknet Devnet
-
+
diff --git a/docs/0.1.2/api/index.html b/docs/0.1.2/api/index.html
index 28d74f17a..f7fab6856 100644
--- a/docs/0.1.2/api/index.html
+++ b/docs/0.1.2/api/index.html
@@ -4,7 +4,7 @@
API | Starknet Devnet
-
+
diff --git a/docs/0.1.2/balance/index.html b/docs/0.1.2/balance/index.html
index 8c6e13a8f..55a7fb6bc 100644
--- a/docs/0.1.2/balance/index.html
+++ b/docs/0.1.2/balance/index.html
@@ -4,7 +4,7 @@
Account balance | Starknet Devnet
-
+
diff --git a/docs/0.1.2/blocks/index.html b/docs/0.1.2/blocks/index.html
index b6f3c4726..8b0960f75 100644
--- a/docs/0.1.2/blocks/index.html
+++ b/docs/0.1.2/blocks/index.html
@@ -4,7 +4,7 @@
Blocks | Starknet Devnet
-
+
diff --git a/docs/0.1.2/category/running/index.html b/docs/0.1.2/category/running/index.html
index cd5425c4e..65f870eeb 100644
--- a/docs/0.1.2/category/running/index.html
+++ b/docs/0.1.2/category/running/index.html
@@ -4,7 +4,7 @@
Running | Starknet Devnet
-
+
diff --git a/docs/0.1.2/dump-load-restart/index.html b/docs/0.1.2/dump-load-restart/index.html
index 29200b3d9..67e02d1b0 100644
--- a/docs/0.1.2/dump-load-restart/index.html
+++ b/docs/0.1.2/dump-load-restart/index.html
@@ -4,7 +4,7 @@
Dump, load, restart | Starknet Devnet
-
+
diff --git a/docs/0.1.2/examples/index.html b/docs/0.1.2/examples/index.html
index 070956d52..087f1ed6a 100644
--- a/docs/0.1.2/examples/index.html
+++ b/docs/0.1.2/examples/index.html
@@ -4,7 +4,7 @@
Examples | Starknet Devnet
-
+
diff --git a/docs/0.1.2/forking/index.html b/docs/0.1.2/forking/index.html
index c3b5c0ef0..29a2a039b 100644
--- a/docs/0.1.2/forking/index.html
+++ b/docs/0.1.2/forking/index.html
@@ -4,7 +4,7 @@
Forking | Starknet Devnet
-
+
diff --git a/docs/0.1.2/historic-state/index.html b/docs/0.1.2/historic-state/index.html
index 2ceb5419e..324c8ca6d 100644
--- a/docs/0.1.2/historic-state/index.html
+++ b/docs/0.1.2/historic-state/index.html
@@ -4,7 +4,7 @@
Historic state support | Starknet Devnet
-
+
diff --git a/docs/0.1.2/intro/index.html b/docs/0.1.2/intro/index.html
index 3308b7f13..9ca5b7f3e 100644
--- a/docs/0.1.2/intro/index.html
+++ b/docs/0.1.2/intro/index.html
@@ -4,7 +4,7 @@
Intro | Starknet Devnet
-
+
diff --git a/docs/0.1.2/lite/index.html b/docs/0.1.2/lite/index.html
index 595b5d3b8..a582902ff 100644
--- a/docs/0.1.2/lite/index.html
+++ b/docs/0.1.2/lite/index.html
@@ -4,7 +4,7 @@
Lite mode | Starknet Devnet
-
+
diff --git a/docs/0.1.2/postman/index.html b/docs/0.1.2/postman/index.html
index 42cb89634..4fd8c7e44 100644
--- a/docs/0.1.2/postman/index.html
+++ b/docs/0.1.2/postman/index.html
@@ -4,7 +4,7 @@
L1-L2 interaction via Postman | Starknet Devnet
-
+
diff --git a/docs/0.1.2/predeployed/index.html b/docs/0.1.2/predeployed/index.html
index 266d353aa..f0d0ea557 100644
--- a/docs/0.1.2/predeployed/index.html
+++ b/docs/0.1.2/predeployed/index.html
@@ -4,7 +4,7 @@
Predeployed contracts | Starknet Devnet
-
+
diff --git a/docs/0.1.2/running/cli/index.html b/docs/0.1.2/running/cli/index.html
index 435380314..1890b0b8c 100644
--- a/docs/0.1.2/running/cli/index.html
+++ b/docs/0.1.2/running/cli/index.html
@@ -4,7 +4,7 @@
CLI options | Starknet Devnet
-
+
diff --git a/docs/0.1.2/running/docker/index.html b/docs/0.1.2/running/docker/index.html
index 4120247f3..1d1889685 100644
--- a/docs/0.1.2/running/docker/index.html
+++ b/docs/0.1.2/running/docker/index.html
@@ -4,7 +4,7 @@
Run with Docker | Starknet Devnet
-
+
diff --git a/docs/0.1.2/running/install/index.html b/docs/0.1.2/running/install/index.html
index 00479e7c7..c40253526 100644
--- a/docs/0.1.2/running/install/index.html
+++ b/docs/0.1.2/running/install/index.html
@@ -4,7 +4,7 @@
Install and run | Starknet Devnet
-
+
diff --git a/docs/0.1.2/server-config/index.html b/docs/0.1.2/server-config/index.html
index c6c4ff6c2..616be310b 100644
--- a/docs/0.1.2/server-config/index.html
+++ b/docs/0.1.2/server-config/index.html
@@ -4,7 +4,7 @@
Server config | Starknet Devnet
-
+
diff --git a/docs/0.1.2/starknet-time/index.html b/docs/0.1.2/starknet-time/index.html
index 95b7e69a5..8bd2de87c 100644
--- a/docs/0.1.2/starknet-time/index.html
+++ b/docs/0.1.2/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 bcc0bf106..3650b6324 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 6a94e1176..ac58c3588 100644
--- a/docs/api/index.html
+++ b/docs/api/index.html
@@ -4,7 +4,7 @@
API | Starknet Devnet
-
+
@@ -14,7 +14,7 @@
Unlike Pythonic Devnet, which also supported Starknet's gateway and feeder gateway API, Devnet in Rust supports 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 releases page.
Devnet has many additional features which are available via their own endpoints and JSON-RPC. The RPC methods are documented throughout the documentation in their corresponding pages, but are also aggregated here.
+
Devnet has many additional features which are available via their own endpoints and JSON-RPC. The RPC methods are documented throughout the documentation in their corresponding pages, but are also aggregated here.
Deprecation notice
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 healthcheck endpoint.
Unlike Pythonic Devnet, which also supported Starknet's gateway and feeder gateway API, Devnet in Rust supports 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 releases page.
Devnet has many additional features which are available via their own endpoints and JSON-RPC. The RPC methods are documented throughout the documentation in their corresponding pages, but are also aggregated here.
+
Devnet has many additional features which are available via their own endpoints and JSON-RPC. The RPC methods are documented throughout the documentation in their corresponding pages, but are also aggregated here.
Deprecation notice
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 healthcheck endpoint.
Once you shut down your Devnet, the predeployed account you used ceases to exist. This may be a problem with tools such as starkli which hardcode your account details in a local file. One option then is to delete your account entry from starkli's account file. Another option is to spawn the same account on next Devnet startup. To do this, you can use:
+
the --seed <VALUE> CLI option which always predeploys the same set of accounts if using the same <VALUE> (the seed is logged on startup)