NEWTON

NEWTON


Popular tags

    How to deploy a contract through starknet.py?

    Asked

    1 month ago

    30

    views


    0

    Hi, I was deploying contracts with Contract.deploy, but since the last version this method is gone :/

    What should I do to deploy contracts now?

      starknetpystarknet_pydeploy

    0xa483...6765fa

    asked

    1 month ago


    1 answers

    0

    Accepted answer

    Hey, just read the docs! There are a few ways of deploying a contract in StarkNet.py:

    • Contract.deploy_contract (class_hash must be known)
    • Contract.declare and then deploy on the result
    • Through the Deployer

    Docs are providing code examples, so just read them :)

    war-in

    answered

    1 month ago

    Your answer

    NEWTON

    NEWTON