see examples/threefold/incatokens/incatokens_simulate.vsh for example of how to use