sdk of diamond