You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For proper cross-contract communication between ink! and Solang-compiled Solidity contracts we need the ability to generate a Solidity interface for a contract.
ToDo
As part of this issue a new sub-command cargo contract generate-interface should be added. This command should have two flags:
--metadata-path: the contract to which we want to generate an accessor interface.
--target: denoting which language the interface would be generated in. For this issue we only add solidity as a target, outputting Solidity code for accessing the contract from the metadata.
The text was updated successfully, but these errors were encountered:
Motivation
For proper cross-contract communication between ink! and Solang-compiled Solidity contracts we need the ability to generate a Solidity interface for a contract.
ToDo
As part of this issue a new sub-command
cargo contract generate-interface
should be added. This command should have two flags:--metadata-path
: the contract to which we want to generate an accessor interface.--target
: denoting which language the interface would be generated in. For this issue we only addsolidity
as a target, outputting Solidity code for accessing the contract from the metadata.The text was updated successfully, but these errors were encountered: