PeakeCoin's AtomPEK Swap - Shooting Trouble

If you have the time to come through and trade some minimums of whatever tokens that are available to swap currently.

Its making sales... but not making PeakeCoin purchases

https://github.com/PaulMoon410/peake_swap

If you have any other issues leave comments here https://ecency.com/hive-186392/@peakecoin/troubleshoot-with-us-debugging-peakecoin

Debug Log


Debug Log
[12:23:44 PM] App loaded.
[12:24:47 PM] swapKeychain button clicked
[12:24:47 PM] Swap requested: account=paulmoon410, symbol=PIMP, quantity=0.01, useKeychain=true
[12:24:47 PM] Requesting Keychain signature for marketSell...
[12:24:52 PM] Keychain response: {"success":true,"result":{"id":"4597e6faeebf419d8ac28739571ecb753904fea2","tx_id":"4597e6faeebf419d8ac28739571ecb753904fea2","confirmed":false},"data":{"type":"custom","username":"paulmoon410","id":"ssc-mainnet-hive","method":"Active","json":"{"contractName":"market","contractAction":"marketSell","contractPayload":{"symbol":"PIMP","quantity":"0.01"}}","display_msg":"Sell 0.01 PIMP for SWAP.HIVE","key":"active"},"message":"The transaction has been broadcasted successfully.","request_id":1}
[12:24:55 PM] Hive block number for txId 4597e6faeebf419d8ac28739571ecb753904fea2: 96606360
[12:24:56 PM] blockLog API response: {"lastBlockNumber":49602479,"lastBlockRefHiveBlockNumber":96606357,"lastHash":"eeaa4eecbc1d8842fb93e33cd5733d5667f99d4e1ef51ad0f392e807fc1205a5","lastParsedHiveBlockNumber":96606360,"SSCnodeVersion":"ivm-1.1.0","domain":"https://api.hive-engine.com/rpc","chainId":"mainnet-hive","disabledMethods":{"blockchain":["getBlockRangeInfo","getBlockInfoByHiveBlock"],"contracts":[]},"lightNode":false,"lastVerifiedBlockNumber":49602468}
[12:24:57 PM] trades API response: {"lastBlockNumber":49602480,"lastBlockRefHiveBlockNumber":96606358,"lastHash":"beb6b134c25b1de8b9120a8c8cd0c5e93d9e8f111c9eabf6c055027ff3ef5f09","lastParsedHiveBlockNumber":96606361,"SSCnodeVersion":"ivm-1.1.0","domain":"https://api.hive-engine.com/rpc","chainId":"mainnet-hive","disabledMethods":{"blockchain":["getBlockRangeInfo","getBlockInfoByHiveBlock"],"contracts":[]},"lightNode":false,"lastVerifiedBlockNumber":49602468}

I'm not sure what I'm doing wrong here between the swapLogic.js and keychain.js" to have this not be able to find the sell amount. Frustrating.... simple and plain.

I'm getting this little bitty thing too...

Chrome Error

-I imagine it's due to the same things that my debug logs are returning it to me... We'll keep working on it and see what we can fix.

script.js:15 Uncaught (in promise) ReferenceError: fetchSwapHiveRate is not defined
    at HTMLInputElement.handleRateDisplay (script.js:15:30)
[email protected]:15



0
0
0.000
0 comments