NRE Reference
Here you can find a complete reference of the functions provided by the Nile Runtime Environment.
Functions
deploy(contract, arguments=None, alias=None, overriding_path=None, abi=None, mainnet_token=None, watch_mode=None) → (address, abi)
Deploy a smart contract.
Deprecated in favor of deployments through accounts. |
Arguments
-
contract
Contract to deploy.
-
arguments
List of arguments for the constructor (calldata).
-
alias
Alias for deployment registration.
-
overriding_path
Override for the path to artifacts and abis.
-
abi
Use a different abi for registration (useful for proxies).
-
mainnet_token
Token for mainnet deployments.
-
watch_mode
Either
track
ordebug
(checkstatus
command).
call(address_or_alias, method, params=None, abi=None) → output
Call a view function in a smart contract.
get_or_deploy_account(signer, watch_mode=None) → account
Get or deploy an Account contract.