basics wallet - SkycoinWikis/CXChains GitHub Wiki

CXCHAINS HOME » CX » CX CHAINS » WALLET

Wallet

The transactions that are going to be run against the program state that is being stored on the blockchain need to be signed in order to meet the constraints imposed by the Skycoin blockchain platform.

Although, in theory, a secret key should be enough to sign a transaction, CX chains require at the moment to generate a wallet to be used to sign transactions. This wallet can be generated using the cx command, for example:

$ cx --create-wallet --wallet-seed "museum nothing practice weird wheel dignity economy attend mask recipe minor dress"

Seed

Any transaction that occurs in a CX chain can be seen as a transaction between two accounts, which are represented by two addresses. At the moment, these addresses involved in the transactions are hardcoded in CX. As a consequent, in order to run any transaction in a CX chain, a wallet created from the seed "museum nothing practice weird wheel dignity economy attend mask recipe minor dress" needs to be created.

The two addresses involved in any CX chain transaction are TkyD4wD64UE6M5BkNQA17zaf7Xcg4AufwX and 2PBcLADETphmqWV7sujRZdh3UcabssgKAEB. If this was a transaction involving the transfer of SKY from one address to another, the former would be the address that is sending SKY to the latter.

NEXT ->