I have been following this project which allows EV batteries to be used with many inverters.
There are lots of examples in the wiki. Suits a high voltage inverter like the Huawei Sun2000 (rebranded Entelar in NZ) I have installed.
Leaf batteries are very cheap second hand, hmmm..

