Skip to content

Possibility to include an other lua script #2

Description

@glihm

Some users may split the lua scripts in different directories and then have a master script to execute it all.

RPC=...
ACCOUNT=...
PRIVKEY=...

declare(...)
deploy(...)

-- Variables RPC/ACCOUNT/PRIVKEY will be still valid as they belong to globals.
include("/path/contract2.lua")

-- ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions