This is not how you can create agent with identity!
const agent = new HttpAgent({ _principal });
You need to set agent like this
const agent = new HttpAgent({ identity })
I highly recommend you to take a look at the @ic-reactor/react
This is not how you can create agent with identity!
const agent = new HttpAgent({ _principal });
You need to set agent like this
const agent = new HttpAgent({ identity })
I highly recommend you to take a look at the @ic-reactor/react