Skip to content

abount scatter demo SPACE_INVADERS_OWNER_PKEY #150

@jackiesun8

Description

@jackiesun8
const signProvider = (buf, sign) => {
    return sign(buf, process.env.SPACE_INVADERS_OWNER_PKEY)
};

const username = this.scatter.identity.name;
this.eos.contract('invaders', {signProvider}).then(contract => {
    contract.scored(username, score, account.name, process.env.SPACE_INVADERS_OWNER_NAME, options)
});

Hi, What does SPACE_INVADERS_OWNER_PKEY mean here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions