We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contract
To ease the declaration of a class, the generated Contract type may expose a declare function.
declare
abigen!(MyContract, "/path/sierra.json"); fn main() { // init provider and account let class_hash = MyContract::declare(...args).await?; }
There are two possible strategies:
Example for the declare can be taken here on Starkli.
The fees must be configurable. We also may want to check if the class is not already declared, to accelerate the process in the case it is.
In the code, this is located in the rs crate here where a new file may be added for this, to be expanded in the contract type here.
rs
The text was updated successfully, but these errors were encountered:
No branches or pull requests
To ease the declaration of a class, the generated
Contract
type may expose adeclare
function.There are two possible strategies:
Example for the declare can be taken here on Starkli.
The fees must be configurable.
We also may want to check if the class is not already declared, to accelerate the process in the case it is.
In the code, this is located in the
rs
crate here where a new file may be added for this, to be expanded in the contract type here.The text was updated successfully, but these errors were encountered: