Architecture: resource trading