Simple Token Balance
var CRC_Contract = {
_TotalSupply : 100000000.00, // Token Total Supply
_Balance : 100000000.00, // Initial Balance before sale
_Name : "MyFirstToken", // Token Name. It must match the project name in the settings
_Symbol : "MFT", // Asset Tiker.It must match the one in the settings
_owner : "Owner address", // Asset Owner Address
_constructor: function() {}
};'_constructor: function() {
// Create a new wallet instance
var Owner = Object.create(CRC_Wallet);
// Loads the Owner's Wallet
Owner.OpenWallet(this._owner);
// Assignes the total Supply to the Owner
Owner.Balance = this._TotalSupply;
// Updates the Owner's wallet
Owner.CloseWallet();
}Last updated