var address = 'Do27ycn5urnJnWnNboiDh5i5PkAEFmvehd'; // The address that launch the smart contract.
var privKey = '02bf9e9964a3c0421ad5a8dde06f848977c514fd5cc638434d567a05b87ade39'; // The private key.
var script = '53c56b6c766b00527ac46c766b51527ac461616168124d6f64756c652e52756e74696d652e4c6f67616168194d6f64756c652e53746f726167652e476574436f6e746578740e48656c6c6f2046756e6374696f6e05576f726c6461527268124d6f64756c652e53746f726167652e50757461516c766b52527ac46203006c766b52c3616c7566'; // Script that is compiled.
var param = '07'; // Smart contract parameter types.
var returns = 5; // Smart contract return type
var needStorage = true;
var scName = 'HelloWorld';
var version = '1.0.0.1';
var author = 'qurasuser';
var mail = 'hello@quras.io';
var description = 'My First SC using JS Library.';
Quras.api.qurasDB.deploySmartContract(Quras.CONST.QURAS_NETWORK.MAIN, address, privKey, script, param, returns, needStorage, scName, version, author, mail, description, 490)
.then((data) => {
console.log(data)
})
.catch((error) => {
console.log(error)
})