Hey @smartgoo ![]()
We deployed a SilverScript AMM covenant to testnet-10 (transition-pattern like the Counter example). Deploy worked — covenant is live with 4.9 KAS locked.
The blocker: We can’t call entrypoints (swap/addLiquidity). The `kaspa.experimental.silverscript` module (`compile()`, `build_sig_script_for_covenant_decl()`) isn’t in the PyPI release of the Kaspa SDK. Building from source fails with maturin/Rust issues.
The Counter example shows exactly what we need:
contract = silverscript.compile(SOURCE, [constructor_args])
call = contract.build_sig_script_for_covenant_decl(“add”, [5])
covenant_input.signature_script = call + redeem_script
Question: Is the silverscript module available somewhere? Or a workaround for building entrypoint sighashes from Python today?
Thanks! ![]()