Task planning with P2P transactions