Skip to content

Possibility to include an other lua script #2

Open

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")

-- ...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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