File tree 3 files changed +5
-16
lines changed
templates/fungible-tokens
3 files changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ payment_txs/
12
12
download_txs /
13
13
transfer_txs /
14
14
wallets /
15
+ wallets /*
15
16
wallet.json
16
17
wallet.json. *
17
18
keypairs.json
Original file line number Diff line number Diff line change @@ -66,22 +66,10 @@ export class MintInteractiveFtCommand implements CommandInterface {
66
66
console . log ( 'Total Supply (Satoshis): ' , this . supply ) ;
67
67
console . log ( 'Total Supply (BTC): ' , this . supply / 100000000 ) ;
68
68
let supply = this . supply ;
69
- let decimals = 0 ;
70
- if ( filesData [ 'decimals' ] ) {
71
- decimals = parseInt ( filesData [ 'decimals' ] , 10 ) ;
72
- }
73
- console . log ( 'Decimals: ' , decimals ) ;
74
-
75
- if ( ! decimals || decimals === 0 ) {
76
- console . log ( 'RECOMMENDATION: USE AT LEAST DECIMALS 1 OR 2' ) ;
77
- }
78
-
69
+
79
70
let expandedSupply = supply ;
80
- if ( decimals > 0 ) {
81
- let decimalFactor = Math . pow ( 10 , decimals ) ;
82
- expandedSupply = supply / decimalFactor
83
- }
84
- console . log ( 'Total Supply (With Decimals): ' , expandedSupply ) ;
71
+
72
+ console . log ( 'Total Supply: ' , expandedSupply ) ;
85
73
console . log ( 'Data objects: ' , filesData ) ;
86
74
console . log ( '-----------------------' )
87
75
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " " ,
3
3
"desc" : " " ,
4
- "image" : " atom:btc:dat:<location of store-file data>/image.png" ,
4
+ "image" : " atom:btc:dat:<outpoint id of store-file data>/image.png" ,
5
5
"legal" : {
6
6
"terms" : " "
7
7
}
You can’t perform that action at this time.
0 commit comments