AltExecCnsContract

https://github.com/zcom-cloud-blockchain/eth-client/blob/master/lib/alt-exec-cns-contract.js

This is a class that enables Ethereum operations via the alternative payment mechanism.

Requests are sent to AltExecCnsAPI.

Constructor

Name Type Description
account Account Requesting account
cnsAddress string CNS Address

Usage

  • For the account usage below, please refer to Account.

  • For the value to be set to '__CNS_ADDRESS__', please specify the address of the CNS you deployed.

For details on CNS contracts please refer to one of the following guides.

Node.js

var AltExecCnsContract = require('eth-client').AltExecCnsContract;
var contract = new AltExecCnsContract(account, '__CNS_ADDRESS__');

HTML

var AltExecCnsContract = ethClient.AltExecCnsContract;
var contract = new AltExecCnsContract(account, '__CNS_ADDRESS__');

results matching ""

    No results matching ""