This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM techbureau/catapult-tools:gcc-0.1.0.2 | |
ADD ./userconfig /userconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker-compose stop peer-node-x | |
$ docker-compose stop api-node-x | |
$ docker-compose stop db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[node] | |
port = 7919 | |
apiPort = 7901 | |
shouldAllowAddressReuse = false | |
shouldUseSingleThreadPool = false | |
[localnode] | |
host = catapult48gh23s.xyz | |
friendlyName = api-node-19 | |
version = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
harvestKey = <nemesis_addresses_harvesting private key> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
harvestKey = <nemesis_addresses_harvesting private key> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo { "dependencies": { "nem2-sdk": "^0.10.1" } } > package.json | |
npm install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ node transfer95.js | |
payload: A5000000DC9ED42254FD59AB7B4724212E56B2AC6C7250E8D067C77CBA02F3D4D789513132922CEFA1605E4275DA92F3421E08D1DBA65D1350641F02B913ABD336D0A60768599F9BD72D20640DFE45450B68777C8FDEE4B56BDB1A997FB8BD292AE843F2039054410000000000000000415628FD1000000090758EB47C28D6143BAA3DE6A8D9C319B503A1BFD8E789E9E20100010029CF5FD941AD25D58096980000000000 | |
hash: 5EDC333A6AEB3D9FFDAC795CC5EA55AB0D996B2671B873F69F267C2FF19D5377 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const cryptoJS = require("crypto-js"); | |
const hash = cryptoJS.SHA256(text); | |
const apostilleHash = apostilleHashPrefix + hash.toString(cryptoJS.enc.Hex); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const convertIntoMultisigTransaction1 = ModifyMultisigAccountTransaction.create( | |
Deadline.create(), | |
2, | |
2, | |
[ | |
new MultisigCosignatoryModification( | |
MultisigCosignatoryModificationType.Add, | |
member1, | |
), | |
new MultisigCosignatoryModification( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @internal | |
* Serialize and sign transaction creating a new SignedTransaction | |
* @param account | |
* @returns {CosignatureSignedTransaction} | |
*/ | |
public signWith(account: Account): CosignatureSignedTransaction { | |
const aggregateSignatureTransaction = new CosignaturetransactionLibrary(this.transactionToCosign.transactionInfo!.hash); | |
const signedTransactionRaw = aggregateSignatureTransaction.signCosignatoriesTransaction(account); | |
return new CosignatureSignedTransaction(signedTransactionRaw.parentHash, |