I’m experiencing the same issue.
Followed all steps successfully up until this point, but when I try to set enj_allowance via mutation (code below), it remains at 0.
mutation ApproveMaxENJ {
CreateEnjinRequest (
identityId:xxxx,
appId:xxxx,
type:APPROVE,
approve_enj_data: {
value:-1
}
) {
id,
encodedData
}
}
This code runs fine (getting back valid response), but enj_allowance doesn’t change. First time I ran this code I tried to set it to -1. I now realize it should be ran setting to 0 first. I have since run the code setting to 0, and then back to -1 (also tried 99999 etc.), and still no result.
can you please help - am I missing something here?
Here’s viewIdentities output after running above code:
{
"data": {
"EnjinIdentities": [
{
"id": xxxx,
"app": {
"name": "xxxx",
"id": xxxx
},
"linkingCode": null,
"wallet": {
"enjAllowance": 0,
"enjBalance": 200,
"ethAddress": "0x087e4Ce37B749df698301ADeA954E1ce8B5ba4E2",
"ethBalance": 0.1
}
}
]
}
}
Thanks in advance
Edit: Solution was to actually run the Daemon Wallet after install, as explicitly mentioned in the Creating Game Item video (https://academy.ivanontech.com/products/enjin-blockchain-development-101/categories/1684917/posts/5658338) 