githubEdit

Relevant Commands and Example Use

Authorize Another Wallet to Deploy Using Your Tokens

Description

Authorize a “deploy wallet” to receive a specified amount of funds from a “funding wallet”

The command must be executed from a machine that has access to the funding wallet’s private key (I.e. access to private-key in local key-chain).

NOTE - two wallets will be necessary to test Authorized Spend.

Syntax

  • Replace wallet placeholders with actual addresses

  • Ensure that unxq is used as denomination for the fund-amount and as shown in Example Use.

provider-services tx deployment authz grant <deploy-wallet> <fund-amount> --from <funding-wallet>

Example Use

provider-services tx deployment authz grant nexqloud17ck7uhkpjjj45fw9s9vpv7jn0m97958vjjxmf8 20000000unxq --from nexqloud10x24jqyplwk37nynqy0pqaez5sx9fqrll59hl9

View Authorization Created - Specific Deploy Wallet

Description

To view details for a specific deploy wallet authorization from a specified funding wallet.

Syntax

Example Use

Expected Output

View Authorizations Created - All Deploy Wallets

Description

To view ALL wallets authorized to spend from the funding wallet

Syntax

Example Use

Change Amount of Authorized Funds

Description

To change the amount of an authorized funds

Syntax

Example Use

Create a Deployment from Authorized Funds

Description

Use the funds from the authorizers wallet to create a deployment. Please note that the deployment wallet needs some minimal, additional NXQ to cover gas costs.

NOTE - only the creation deployment step is covered in this section. Please refer to our Getting Started with Testnetarrow-up-right documentation for additional steps in creating a deployment.

Syntax

Example Use

Deposit Additional Funds to Deployment

Description

Deposit additional funds into the escrow account of a running deployment from the funding wallet

Syntax

Example Use

Revoke Access to a Deploy Wallet

Description

Revoke the authorization from a funding wallet

Syntax

Example Use

Last updated