Algosigner has been updated so are the method. In the updated version what is the alternative for
“Algosigner.algod”
The new ARC methods of AlgoSigner are expected to be used alongside a SDK client:
// Calls like this:
AlgoSigner.algod({
ledger: 'TestNet',
path: '/v2/transactions/params'
})
.then(d => txParams = d)
.catch(e => console.error(e));
// Should be changed into this:
let client = new algosdk.Algodv2(token, server, port, headers);
let suggestedParams = await client.getTransactionParams().do();
For posting of signed transactions, you can use either algorand.postTxns() or algorand.signAndPostTxns()
Additional info can be found in the documentation.