Smart contract AST extraction through solidity-parser

Viewed 11

Iam receiving this error

File "", line 2 python3 -m solidity_parser <parse|outline> https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/ERC721.sol ^ SyntaxError: invalid syntax

while trying to extract solidity smart contract AST,I wrote the following code

pip install solidity-parser python3 -m solidity_parser < parse > https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/ERC721.sol

I used the following link for guidance https://github.com/ConsenSys/python-solidity-parser

0 Answers
Related