For some reason it’s become commonplace to think that barter is what preceded and/or would replace cash if we ever lost cash.
Anthropologist David Graeber has written a more compelling account of history with examples in a variety of societies showing that debt and ledgers are what came before cash and I’m thinking a system based off of them would probably be strong contender for life without cash.