Difference between revisions of "Cast"

From wikieduonline
Jump to navigation Jump to search
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
* https://book.getfoundry.sh/cast/
+
* [https://book.getfoundry.sh/cast/ Homepage], [https://github.com/foundry-rs/foundry/tree/master/crates/cast GitHub]
* GitHub: https://github.com/foundry-rs/foundry/tree/master/crates/cast
+
* [[Foundry installation]], in <code>[[~/.foundry/bin]]</code> using <code>[[curl]]</code>.
 +
== Commands ==
 +
* <code>[[cast --help]]</code>
 +
* <code>[[cast rpc]]</code>
 +
* <code>[[cast wallet]]</code>
 +
* <code>[[cast tx]]</code>
 +
* <code>[[cast send]]</code>
 +
* <code>[[cast balance]]</code>
 +
* <code>[[cast nonce]]</code>
 +
* <code>[[cast call]]</code>
 +
* <code>[[cast block]]</code>: <code>[[cast block latest|lastest]]</code>
 +
** <code>[[--rpc-url]]</code>
 +
* <code>[[cast block-number --rpc-url]]</code>
 +
* <code>[[cast chain-id]]</code>
  
curl -L https://foundry.[[paradigm.xyz]] | bash
+
== Activities ==
Detected your preferred shell is zsh and added foundryup to PATH.
+
* [[Send Ethereum from one account to another]]
Run 'source /Users/user/.zshenv' or start a new terminal session to use foundryup.
 
Then, simply run '[[foundryup]]' to install Foundry.
 
  
 
[[cast --help]]
 
[[cast block-number]]
 
[[cast nonce]]
 
[[cast block]]
 
[[cast send]]
 
[[cast wallet]]
 
 
 
== Related ==
 
== Related ==
 
* [[Ethereum RPC calls]]
 
* [[Ethereum RPC calls]]
 +
* [[Execution clients]]
 +
* <code>[[eth-cli]]</code>
 +
* [[Viem]]
 +
* <code>[[curl -X POST -H "Content-Type: application/json"]] --compressed [[--data]]</code>
 +
'{"[[jsonrpc]]":"2.0","method":"[[debug_traceBlockByNumber]]","params":["0x12345",{"enableMemory":false,"disableStack":false,"disableStorage":false,"enableReturnData":true}],"id":1}' http://YOUR-RPC-ENDPOINT:[[8545]]
  
 
== See also ==
 
== See also ==

Latest revision as of 14:14, 20 September 2024

Advertising: