Content pfp
Content
@
0 reply
0 recast
2 reactions

nix pfp
nix
@nix
Is there a way to compile Solidity to bytecode without wrapping it in a contract? Like, literally compile `5 + 5`, to be executed on top of an EVM VM?
2 replies
0 recast
2 reactions

horsefacts pfp
horsefacts
@horsefacts.eth
Say hello to /huff: https://huff.sh/
1 reply
0 recast
3 reactions

tokenfox pfp
tokenfox
@tokenfox.eth
Foundry has a getCode utility function that can be used to return bytecode of any artifact: https://book.getfoundry.sh/cheatcodes/get-code For scripting is: https://book.getfoundry.sh/tutorials/solidity-scripting In both cases you likely need to wrap your code into a contract
0 reply
0 recast
0 reaction