@identity.com/solana-gatekeeper-lib v6.1.1-alpha.3
gatekeeper-lib
Library and CLI to manage OCIV Gateway Tokens
Usage
$ npm install -g @identity.com/solana-gatekeeper-lib
$ gateway COMMAND
running command...
$ gateway (-v|--version|version)
@identity.com/solana-gatekeeper-lib/1.1.4-beta1 darwin-x64 node-v17.0.1
$ gateway --help [COMMAND]
USAGE
$ gateway COMMAND
...
Commands
gateway add-gatekeeper ADDRESS
gateway freeze GATEWAYTOKEN
gateway help [COMMAND]
gateway issue ADDRESS
gateway refresh GATEWAYTOKEN [EXPIRY]
gateway revoke GATEWAYTOKEN
gateway revoke-gatekeeper ADDRESS
gateway unfreeze GATEWAYTOKEN
gateway verify OWNER
gateway add-gatekeeper ADDRESS
Add a gatekeeper to a network
USAGE
$ gateway add-gatekeeper ADDRESS
ARGUMENTS
ADDRESS The address of the gatekeeper to add to the network
OPTIONS
-c, --cluster=cluster [default: http://ec2-34-238-243-215.compute-1.amazonaws.com:8899] The
cluster to target: mainnet-beta, testnet, devnet, civicnet, localnet.
Alternatively, set the environment variable SOLANA_CLUSTER
-g, --gatekeeperKey=gatekeeperKey [default: [object Object]] The private key file for the gatekeeper
authority
-h, --help show CLI help
-n, --gatekeeperNetworkKey=gatekeeperNetworkKey [default: [object Object]] The private key file for the gatekeeper
authority
EXAMPLE
$ gateway add-gatekeeper tgky5YfBseCvqehzsycwCG6rh2udA4w14MxZMnZz9Hp
See code: dist/commands/add-gatekeeper.ts
gateway freeze GATEWAYTOKEN
Freeze a gateway token
USAGE
$ gateway freeze GATEWAYTOKEN
ARGUMENTS
GATEWAYTOKEN The gateway token to freeze
OPTIONS
-c, --cluster=cluster [default: http://ec2-34-238-243-215.compute-1.amazonaws.com:8899] The
cluster to target: mainnet-beta, testnet, devnet, civicnet, localnet.
Alternatively, set the environment variable SOLANA_CLUSTER
-g, --gatekeeperKey=gatekeeperKey [default: [object Object]] The private key file for the gatekeeper
authority
-h, --help show CLI help
-n, --gatekeeperNetworkKey=gatekeeperNetworkKey [default: [object Object]] The public key (in base 58) of the
gatekeeper network that the gatekeeper belongs to.
EXAMPLE
$ gateway freeze EzZgkwaDrgycsiyGeCVRXXRcieE1fxhGMp829qwj5TMv
Frozen
See code: dist/commands/freeze.ts
gateway help [COMMAND]
display help for gateway
USAGE
$ gateway help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
gateway issue ADDRESS
Issue a gateway token to a wallet
USAGE
$ gateway issue ADDRESS
ARGUMENTS
ADDRESS The address to issue the token to
OPTIONS
-c, --cluster=cluster [default: http://ec2-34-238-243-215.compute-1.amazonaws.com:8899] The
cluster to target: mainnet-beta, testnet, devnet, civicnet, localnet.
Alternatively, set the environment variable SOLANA_CLUSTER
-e, --expiry=expiry The expiry time in seconds for the gateway token (default none)
-g, --gatekeeperKey=gatekeeperKey [default: [object Object]] The private key file for the gatekeeper
authority
-h, --help show CLI help
-n, --gatekeeperNetworkKey=gatekeeperNetworkKey [default: [object Object]] The public key (in base 58) of the
gatekeeper network that the gatekeeper belongs to.
EXAMPLE
$ gateway issue EzZgkwaDrgycsiyGeCVRXXRcieE1fxhGMp829qwj5TMv2QJjjrzdPSrcZUuAH2KrEU61crWz49KnSLSzwjDUnLSV
See code: dist/commands/issue.ts
gateway refresh GATEWAYTOKEN [EXPIRY]
Refresh a gateway token
USAGE
$ gateway refresh GATEWAYTOKEN [EXPIRY]
ARGUMENTS
GATEWAYTOKEN The gateway token to freeze
EXPIRY [default: 54000] The new expiry time in seconds for the gateway token (default 15 minutes)
OPTIONS
-c, --cluster=cluster [default: http://ec2-34-238-243-215.compute-1.amazonaws.com:8899] The
cluster to target: mainnet-beta, testnet, devnet, civicnet, localnet.
Alternatively, set the environment variable SOLANA_CLUSTER
-g, --gatekeeperKey=gatekeeperKey [default: [object Object]] The private key file for the gatekeeper
authority
-h, --help show CLI help
-n, --gatekeeperNetworkKey=gatekeeperNetworkKey [default: [object Object]] The public key (in base 58) of the
gatekeeper network that the gatekeeper belongs to.
EXAMPLE
$ gateway refresh EzZgkwaDrgycsiyGeCVRXXRcieE1fxhGMp829qwj5TMv 54000
Refreshed
See code: dist/commands/refresh.ts
gateway revoke GATEWAYTOKEN
Revoke a gateway token
USAGE
$ gateway revoke GATEWAYTOKEN
ARGUMENTS
GATEWAYTOKEN The gateway token to revoke
OPTIONS
-c, --cluster=cluster [default: http://ec2-34-238-243-215.compute-1.amazonaws.com:8899] The
cluster to target: mainnet-beta, testnet, devnet, civicnet, localnet.
Alternatively, set the environment variable SOLANA_CLUSTER
-g, --gatekeeperKey=gatekeeperKey [default: [object Object]] The private key file for the gatekeeper
authority
-h, --help show CLI help
-n, --gatekeeperNetworkKey=gatekeeperNetworkKey [default: [object Object]] The public key (in base 58) of the
gatekeeper network that the gatekeeper belongs to.
EXAMPLE
$ gateway revoke EzZgkwaDrgycsiyGeCVRXXRcieE1fxhGMp829qwj5TMv
Revoked
See code: dist/commands/revoke.ts
gateway revoke-gatekeeper ADDRESS
Revoke a gatekeeper from a network
USAGE
$ gateway revoke-gatekeeper ADDRESS
ARGUMENTS
ADDRESS The address of the gatekeeper to revoke from the network
OPTIONS
-c, --cluster=cluster [default: http://ec2-34-238-243-215.compute-1.amazonaws.com:8899] The
cluster to target: mainnet-beta, testnet, devnet, civicnet, localnet.
Alternatively, set the environment variable SOLANA_CLUSTER
-g, --gatekeeperKey=gatekeeperKey [default: [object Object]] The private key file for the gatekeeper
authority
-h, --help show CLI help
-n, --gatekeeperNetworkKey=gatekeeperNetworkKey [default: [object Object]] The private key file for the gatekeeper
authority
EXAMPLE
$ gateway revoke-gatekeeper tgky5YfBseCvqehzsycwCG6rh2udA4w14MxZMnZz9Hp
See code: dist/commands/revoke-gatekeeper.ts
gateway unfreeze GATEWAYTOKEN
Unfreeze a gateway token
USAGE
$ gateway unfreeze GATEWAYTOKEN
ARGUMENTS
GATEWAYTOKEN The gateway token to unfreeze
OPTIONS
-c, --cluster=cluster [default: http://ec2-34-238-243-215.compute-1.amazonaws.com:8899] The
cluster to target: mainnet-beta, testnet, devnet, civicnet, localnet.
Alternatively, set the environment variable SOLANA_CLUSTER
-g, --gatekeeperKey=gatekeeperKey [default: [object Object]] The private key file for the gatekeeper
authority
-h, --help show CLI help
-n, --gatekeeperNetworkKey=gatekeeperNetworkKey [default: [object Object]] The public key (in base 58) of the
gatekeeper network that the gatekeeper belongs to.
EXAMPLE
$ gateway unfreeze EzZgkwaDrgycsiyGeCVRXXRcieE1fxhGMp829qwj5TMv
Unfrozen
See code: dist/commands/unfreeze.ts
gateway verify OWNER
Verify a gateway token
USAGE
$ gateway verify OWNER
ARGUMENTS
OWNER The gateway token to revoke
OPTIONS
-c, --cluster=cluster [default: http://ec2-34-238-243-215.compute-1.amazonaws.com:8899] The
cluster to target: mainnet-beta, testnet, devnet, civicnet, localnet.
Alternatively, set the environment variable SOLANA_CLUSTER
-h, --help show CLI help
-n, --gatekeeperNetworkKey=gatekeeperNetworkKey [default: [object Object]] The public key (in base 58) of the
gatekeeper network that the gatekeeper belongs to.
EXAMPLE
$ gateway verify EzZgkwaDrgycsiyGeCVRXXRcieE1fxhGMp829qwj5TMv
{
"issuingGatekeeper": "tgky5YfBseCvqehzsycwCG6rh2udA4w14MxZMnZz9Hp",
"gatekeeperNetwork": "48V9nmW9awiR9BmihdGhUL3ZpYJ8MCgGeUoSWbtqjicv",
"owner": "EzZgkwaDrgycsiyGeCVRXXRcieE1fxhGMp829qwj5TMv",
"state": "ACTIVE",
"publicKey": "3rNZ6RzH6jLCzFeySVDc8Z82sJkeQ4xi7BCUzjpZBvZr",
"programId": "gatem74V238djXdzWnJf94Wo1DcnuGkfijbf3AuBhfs"
}
See code: dist/commands/verify.ts
15 days ago
15 days ago
15 days ago
1 month ago
1 month ago
11 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago