2.2.6.6. [Archive] mijin Catapult(v.2) Balance transfer of balance account when commissioned mode is enabled¶
Warning
Note
- creation-day:
Aug. 1, 2022
- update date:
January 17, 2023
2.2.6.6.1. Verify accounts with balance¶

{
"address": "MAL4SPKWUI3WGSNOWSDA3KKIBJG7QHMCXD7GZVA",
"public_key": "FDA90ACB0B4DA564FBA3D9D3A3E67A7146A77D2F5C246BC67AC044AAD578E161",
"private_key": "F36139408F597D2F0DA0C5E3CB1162E3D80EFEF188E21089284F57723676CC5C"
},
2.2.6.6.2. Installation of symbol-cli¶
Install symbol-cli from npm.
$ sudo npm i -g symbol-cli@1.0.0
/usr/local/bin/symbol-cli -> /usr/local/lib/node_modules/symbol-cli/bin/symbol-cli
+ symbol-cli@1.0.0
updated 1 package in 8.724s
2.2.6.6.3. Import of balance accounts¶
item |
Description |
value |
Select the network type |
Specify the network.
CatapultNetwork value specified at build time
|
MIJIN/MIJIN_TEST |
Enter the Symbol node URL. |
Specify the mijinLBENdpoint or mijinEndpoint URL on the Outouts tab in the Cloudformation Stack. |
|
Enter a profile name |
Specify a profile name to invoke the account. |
optional |
Enter your wallet password |
Specify the password for your account |
optional |
Do you want to set the account as the default profile? |
Specify whether this account is to be used by Default. |
optional |
Select an import type |
Specify the import method for saving again. |
PrivateKey |
Enter your account private key |
private_key in nemesis_addresses_harvesting.json. |
Optional where the value starts with F3613. |
$ symbol-cli profile import
✔ Select the network type: › MIJIN
✔ Enter the Symbol node URL. (Example: http://localhost:3000): … http://xxxxxxxxxxxxxxxxxxxxx.elb.ap-northeast-1.amazonaws.com:3000
✔ Enter a profile name: … mijin-have-currency-account
✔ Enter your wallet password: … ********
✔ Do you want to set the account as the default profile? … no
✔ Select an import type: › PrivateKey
✔ Enter your account private key: … ****************************************************************
Account
┌───────────────┬──────────────────────────────────────────────────────────────────────┐
│ Property │ Value │
├───────────────┼──────────────────────────────────────────────────────────────────────┤
│ Address │ MAL4SP-KWUI3W-GSNOWS-DA3KKI-BJG7QH-MCXD7G-ZVA │
├───────────────┼──────────────────────────────────────────────────────────────────────┤
│ Public Key │ FDA90ACB0B4DA564FBA3D9D3A3E67A7146A77D2F5C246BC67AC044AAD578E161 │
├───────────────┼──────────────────────────────────────────────────────────────────────┤
│ Private Key │ F36139408F597D2F0DA0C5E3CB1162E3D80EFEF188E21089284F57723676CC5C │
├───────────────┼──────────────────────────────────────────────────────────────────────┤
│ Password │ Test1234 │
└───────────────┴──────────────────────────────────────────────────────────────────────┘
SUCCESS Stored mijin-have-currency-account profile
Warning
Note that the Mosaic Id for the base currency is created at the time of deployment and is not the same Id.
$ symbol-cli account info --profile mijin-have-currency-account
⠸ Processing
Account Information
┌───────────────────┬──────────────────────────────────────────────────────────────────┐
│ Property │ Value │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ Address │ MAL4SP-KWUI3W-GSNOWS-DA3KKI-BJG7QH-MCXD7G-ZVA │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ Address Height │ 1 │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ Public Key │ FDA90ACB0B4DA564FBA3D9D3A3E67A7146A77D2F5C246BC67AC044AAD578E161 │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ Public Key Height │ 1 │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ Importance │ 2850000 │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ Importance Height │ 2600 │
└───────────────────┴──────────────────────────────────────────────────────────────────┘
Balance Information
┌──────────────────┬─────────────────┬──────────────────┬───────────────────┐
│ Mosaic Id │ Relative Amount │ Absolute Amount │ Expiration Height │
├──────────────────┼─────────────────┼──────────────────┼───────────────────┤
│ 1D8350FA8D4830FA │ 1,799,799,999.6 │ 1799799999600000 │ Never │
├──────────────────┼─────────────────┼──────────────────┼───────────────────┤
│ 01964E14621F06F6 │ 3,000 │ 3000000 │ Never │
└──────────────────┴─────────────────┴──────────────────┴───────────────────┘
2.2.6.6.4. Create a new account¶
item |
Description |
value |
Select the network type |
Specify the network.
CatapultNetwork value specified at build time
|
MIJIN/MIJIN_TEST |
Do you want to save the account? |
Save this account. |
yes |
Select an import type |
Specify the import method for saving again. |
PrivateKey |
Enter the Symbol node URL. |
Specify the mijinLBENdpoint or mijinEndpoint URL on the Outouts tab in the Cloudformation Stack. |
|
Enter a profile name |
Specify a profile name to invoke the account. |
optional |
Enter your wallet password |
Specify the password for your account |
optional |
$ symbol-cli account generate
✔ Select the network type: › MIJIN
✔ Do you want to save the account? … yes
✔ Select an import type: › PrivateKey
✔ Enter the Symbol node URL. (Example: http://localhost:3000): … http://xxxxxxxxxxxxxxxxxxxxx.elb.ap-northeast-1.amazonaws.com:3000
✔ Enter a profile name: … mijin-no-currency-account
✔ Enter your wallet password: … ********
✔ Do you want to set the account as the default profile? … no
Account
┌───────────────┬──────────────────────────────────────────────────────────────────────┐
│ Property │ Value │
├───────────────┼──────────────────────────────────────────────────────────────────────┤
│ Address │ MADIFG-N27CKA-6DY42J-UMEFJA-7OKXLO-NXLAEQ-XII │
├───────────────┼──────────────────────────────────────────────────────────────────────┤
│ Public Key │ B86CDD63C3BA820C4659CF7FC3D53DA035CF8370AC3E0DBF025BEE691AED7DFA │
├───────────────┼──────────────────────────────────────────────────────────────────────┤
│ Private Key │ E911E779671BD33B26A9D424DB331A36BDD497BA62D91B27ADAA4B1350A52D43 │
├───────────────┼──────────────────────────────────────────────────────────────────────┤
│ Password │ Test1234 │
└───────────────┴──────────────────────────────────────────────────────────────────────┘
SUCCESS Stored mijin-no-currency-account profile
$ symbol-cli account info --profile mijin-no-currency-account
ERR {"statusCode":404,"statusMessage":"Not Found","body":"{\"code\":\"ResourceNotFound\",\"message\":\"no resource exists with id 'MADIFGN27CKA6DY42JUMEFJA7OKXLONXLAEQXII'\"}"}
TIP The account has to receive at least one transaction to be recorded on the network
2.2.6.6.5. Balance transfers¶
item |
Description |
value |
Enter your wallet password |
Please specify the password you have set |
optional |
Mosaics to transfer in the format (mosaicId(hex)|@aliasName)::absoluteAmount |
The base currency (cat.currency) is sent 100,000. The base currency has a divisibility of 6, so it has a 6-digit decimal point, so add 6 zeros. |
3BF3AF8B22CB53D8::1 |
Enter the recipient address or @alias |
Specify the forwarding address for the new account |
MADIFGN27CKA6DY42JUMEFJA7OKXLONXLAEQXII |
Enter a message |
A message can be added to the transfer transaction |
optional |
Enter the maximum fee (absolute amount) |
Specifies the transaction fee. This changes with the commission mode.
With commission 20000 or so (0.2cat.currency) <br> Without fee 0
No fee 0
|
0 |
Select the transaction announce mode |
Specifies how transactions are announced. |
normal |
$ symbol-cli transaction transfer --profile mijin-have-currency-account
✔ Enter your wallet password: … ********
✔ Mosaics to transfer in the format (mosaicId(hex)|@aliasName)::absoluteAmount, (Ex: sending 1 symbol.xym, @symbol.xym::1000000). Add multiple mosaics separated by commas: … @cat.currency::100000000000
✔ Enter the recipient address or @alias: … MADIFGN27CKA6DY42JUMEFJA7OKXLONXLAEQXII
✔ Enter a message: … test
✔ Enter the maximum fee (absolute amount): … 200000
✔ Select the transaction announce mode: › normal
┌──────────────────────────────────────────────────────────────────────────────────┐
│ TRANSFER │
├───────────────┬──────────────────────────────────────────────────────────────────┤
│ Max fee: │ 200,000 │
├───────────────┼──────────────────────────────────────────────────────────────────┤
│ Network type: │ MIJIN │
├───────────────┼──────────────────────────────────────────────────────────────────┤
│ Deadline: │ 2022-10-01 23:57:37.489 │
├───────────────┼──────────────────────────────────────────────────────────────────┤
│ Recipient: │ MADIFG-N27CKA-6DY42J-UMEFJA-7OKXLO-NXLAEQ-XII │
├───────────────┼──────────────────────────────────────────────────────────────────┤
│ Message: │ test │
├───────────────┼──────────────────────────────────────────────────────────────────┤
│ Mosaic (1/1): │ 100,000,000,000 cat.currency (85BBEA6CC462B244) │
├───────────────┴──────────────────────────────────────────────────────────────────┤
│ Signature details │
├───────────────┬──────────────────────────────────────────────────────────────────┤
│ Payload: │ B500000000000000496383B0C2AF6B3295D615336F48B2C299AAF38619399C40 │
│ │ 85AC7F6CF58092EAE743D5C754DC3C149E4E5EFA8E6038519F8BAAFDDF3B05BC │
│ │ 41B355638528AE03FDA90ACB0B4DA564FBA3D9D3A3E67A7146A77D2F5C246BC6 │
│ │ 7AC044AAD578E1610000000001605441400D030000000000517F484B18000000 │
│ │ 60068299BAF8940F0F1CD268C21520FB9575B9B758090BA10500010000000000 │
│ │ 44B262C46CEABB8500E87648170000000074657374 │
├───────────────┼──────────────────────────────────────────────────────────────────┤
│ Hash: │ 24FACA961CB1DF4D3F76DFFBE302D2CAA512F7D1BD424CC4E0D14ACFA7221FA4 │
├───────────────┼──────────────────────────────────────────────────────────────────┤
│ Signer: │ FDA90ACB0B4DA564FBA3D9D3A3E67A7146A77D2F5C246BC67AC044AAD578E161 │
└───────────────┴──────────────────────────────────────────────────────────────────┘
✔ Do you want to announce this transaction? … yes
SUCCESS Transaction announced correctly
TIP To check if the network confirms or rejects the transaction, run the command 'symbol-cli transaction status'
$ symbol-cli account info --profile mijin-no-currency-account
⠹ Processing
Account Information
┌───────────────────┬──────────────────────────────────────────────────────────────────┐
│ Property │ Value │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ Address │ MADIFG-N27CKA-6DY42J-UMEFJA-7OKXLO-NXLAEQ-XII │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ Address Height │ 2706 │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ Public Key │ 0000000000000000000000000000000000000000000000000000000000000000 │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ Public Key Height │ 0 │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ Importance │ 0 │
├───────────────────┼──────────────────────────────────────────────────────────────────┤
│ Importance Height │ 0 │
└───────────────────┴──────────────────────────────────────────────────────────────────┘
Balance Information
┌──────────────────┬─────────────────┬─────────────────┬───────────────────┐
│ Mosaic Id │ Relative Amount │ Absolute Amount │ Expiration Height │
├──────────────────┼─────────────────┼─────────────────┼───────────────────┤
│ 1D8350FA8D4830FA │ 100,000 │ 100000000000 │ Never │
└──────────────────┴─────────────────┴─────────────────┴───────────────────┘